class Binance::Responses::TwentyFourHourEntry

Overview

Typical server response

{
  "symbol": "BNBBTC",
  "priceChange": "-94.99999800",
  "priceChangePercent": "-95.960",
  "weightedAvgPrice": "0.29628482",
  "prevClosePrice": "0.10002000",
  "lastPrice": "4.00000200",
  "lastQty": "200.00000000",
  "bidPrice": "4.00000000",
  "askPrice": "4.00000200",
  "openPrice": "99.00000000",
  "highPrice": "100.00000000",
  "lowPrice": "0.10000000",
  "volume": "8913.30000000",
  "quoteVolume": "15.30000000",
  "openTime": 1499783499040,
  "closeTime": 1499869899040,
  "firstId": 28385,   // First tradeId
  "lastId": 28460,    // Last tradeId
  "count": 76         // Trade count
}

Included Modules

Defined in:

binance/client/rest/responses/twenty_four_hour_entry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def ask_price : Float64 #

def base_volume : Float64 #

def bid_price : Float64 #

def close_time : Time? #

def first_trade_id : Int64 #

def high_price : Float64 #

def last_price : Float64 #

def last_quantity : Float64 #

def last_trade_id : Int64 #

def low_price : Float64 #

def open_price : Float64 #

def open_time : Time? #

def prev_close_price : Float64 #

def price_change : Float64 #

def price_change_percent : Float64 #

def quote_volume : Float64 #

def symbol : String #

def trades : Int64 #

def weighted_average_price : Float64 #