class Binance::Responses::ExchangeInfoResponse

Overview

Typical Server Response: { "timezone": "UTC", "serverTime": 1508631584636, "rateLimits": [ // These are defined in the ENUM definitions section under Rate limiters (rateLimitType). // All limits are optional. ], "exchangeFilters": [ // There are defined in the Filters section. // All filters are optional. ], "symbols": [{ "symbol": "ETHBTC", "status": "TRADING", "baseAsset": "ETH", "baseAssetPrecision": 8, "quoteAsset": "BTC", "quotePrecision": 8, "orderTypes": [ // These are defined in the ENUM definitions section under Order types (orderTypes). // All orderTypes are optional. ], "icebergAllowed": false, "filters": [ // There are defined in the Filters section. // All filters are optional. ] }] }

Defined in:

binance/client/rest/responses/exchange_info_response.cr

Constructors

Instance Method Summary

Instance methods inherited from class Binance::Responses::ServerResponse

body body, consume_body(response) consume_body, error_code : Int32 | Nil error_code, error_code=(error_code : Int32 | Nil) error_code=, error_message : String | Nil error_message, error_message=(error_message : String | Nil) error_message=, exception : Exception | Nil exception, exception=(exception : Exception | Nil) exception=, response : HTTP::Client::Response | Nil response, response=(response : HTTP::Client::Response | Nil) response=, success : Bool success, success=(success : Bool) success=, used_weight used_weight

Constructor methods inherited from class Binance::Responses::ServerResponse

new(pull : JSON::PullParser) new

Class methods inherited from class Binance::Responses::ServerResponse

consume_body(response) consume_body

Constructor Detail

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

Typical Server Response: { "timezone": "UTC", "serverTime": 1508631584636, "rateLimits": [ // These are defined in the ENUM definitions section under Rate limiters (rateLimitType). // All limits are optional. ], "exchangeFilters": [ // There are defined in the Filters section. // All filters are optional. ], "symbols": [{ "symbol": "ETHBTC", "status": "TRADING", "baseAsset": "ETH", "baseAssetPrecision": 8, "quoteAsset": "BTC", "quotePrecision": 8, "orderTypes": [ // These are defined in the ENUM definitions section under Order types (orderTypes). // All orderTypes are optional. ], "icebergAllowed": false, "filters": [ // There are defined in the Filters section. // All filters are optional. ] }] }


[View source]

Instance Method Detail

def exchange_filters : Array(Binance::Responses::ExchangeFilter) #

[View source]
def rate_limits : Array(Binance::Responses::RateLimit) #

[View source]
def server_time : Time #

A Time representation of the serverTime property


[View source]
def symbols : Array(Binance::Responses::ExchangeSymbol) #

[View source]
def timezone : String #

Time Zone for server's time values


[View source]