class Binance::Responses::AccountResponse
Overview
Typical Server Response: { "makerCommission": 15, "takerCommission": 15, "buyerCommission": 0, "sellerCommission": 0, "canTrade": true, "canWithdraw": true, "canDeposit": true, "updateTime": 123456789, "balances": [ { "asset": "BTC", "free": "4723846.89208129", "locked": "0.00000000" }, { "asset": "LTC", "free": "4763368.68006011", "locked": "0.00000000" } ] }
Defined in:
binance/client/rest/responses/account_response.crConstructors
-
.new(pull : JSON::PullParser)
Typical Server Response: { "makerCommission": 15, "takerCommission": 15, "buyerCommission": 0, "sellerCommission": 0, "canTrade": true, "canWithdraw": true, "canDeposit": true, "updateTime": 123456789, "balances": [ { "asset": "BTC", "free": "4723846.89208129", "locked": "0.00000000" }, { "asset": "LTC", "free": "4763368.68006011", "locked": "0.00000000" } ] }
Instance Method Summary
- #account_type : String
- #balances : Array(BalanceEntry)
- #balances=(balances : Array(BalanceEntry))
- #buyer_commission : Int32
- #can_deposit : Bool
- #can_trade : Bool
- #can_withdraw : Bool
- #maker_commission : Int32
- #seller_commission : Int32
- #taker_commission : Int32
- #update_time : Time | Nil
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: { "makerCommission": 15, "takerCommission": 15, "buyerCommission": 0, "sellerCommission": 0, "canTrade": true, "canWithdraw": true, "canDeposit": true, "updateTime": 123456789, "balances": [ { "asset": "BTC", "free": "4723846.89208129", "locked": "0.00000000" }, { "asset": "LTC", "free": "4763368.68006011", "locked": "0.00000000" } ] }