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) #

[View source]

Instance Method Detail

def ask_price : Float64 #

[View source]
def base_volume : Float64 #

[View source]
def bid_price : Float64 #

[View source]
def close_time : Time | Nil #

[View source]
def first_trade_id : Int64 #

[View source]
def high_price : Float64 #

[View source]
def last_price : Float64 #

[View source]
def last_quantity : Float64 #

[View source]
def last_trade_id : Int64 #

[View source]
def low_price : Float64 #

[View source]
def open_price : Float64 #

[View source]
def open_time : Time | Nil #

[View source]
def prev_close_price : Float64 #

[View source]
def price_change : Float64 #

[View source]
def price_change_percent : Float64 #

[View source]
def quote_volume : Float64 #

[View source]
def symbol : String #

[View source]
def trades : Int64 #

[View source]
def weighted_average_price : Float64 #

[View source]