class Binance::Responses::MyTradesResponse
Overview
Typical Server Response:
[
{
"symbol": "BNBBTC",
"id": 28457,
"orderId": 100234,
"price": "4.00000100",
"qty": "12.00000000",
"quoteQty": "48.000012",
"commission": "10.10000000",
"commissionAsset": "BNB",
"time": 1499865549590,
"isBuyer": true,
"isMaker": false,
"isBestMatch": true
}
]
Defined in:
binance/client/rest/responses/my_trades_response.crConstructors
-
.new(pull : JSON::PullParser)
Typical Server Response: [ { "symbol": "BNBBTC", "id": 28457, "orderId": 100234, "price": "4.00000100", "qty": "12.00000000", "quoteQty": "48.000012", "commission": "10.10000000", "commissionAsset": "BNB", "time": 1499865549590, "isBuyer": true, "isMaker": false, "isBestMatch": true } ]
Class Method Summary
Instance Method Summary
Instance methods inherited from class Binance::Responses::ServerResponse
body
body,
consume_body(response)
consume_body,
error_code : Int32?
error_code,
error_code=(error_code : Int32?)
error_code=,
error_message : String?
error_message,
error_message=(error_message : String?)
error_message=,
exception : Exception?
exception,
exception=(exception : Exception?)
exception=,
response : HTTP::Client::Response?
response,
response=(response : HTTP::Client::Response?)
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:
[
{
"symbol": "BNBBTC",
"id": 28457,
"orderId": 100234,
"price": "4.00000100",
"qty": "12.00000000",
"quoteQty": "48.000012",
"commission": "10.10000000",
"commissionAsset": "BNB",
"time": 1499865549590,
"isBuyer": true,
"isMaker": false,
"isBestMatch": true
}
]