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.crConstructors
-
.new(pull : JSON::PullParser)
Typical Server Response: { "timezone": "UTC", "serverTime": 1508631584636, "rateLimits": [ // These are defined in the
ENUM definitions
section underRate limiters (rateLimitType)
.
Instance Method Summary
- #exchange_filters : Array(Binance::Responses::ExchangeFilter)
- #rate_limits : Array(Binance::Responses::RateLimit)
-
#server_time : Time
A
Time
representation of the serverTime property - #symbols : Array(Binance::Responses::ExchangeSymbol)
-
#timezone : String
Time Zone for server's time values
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
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.
]
}]
}