class BinanceClient::AccountSnapshotRequest
Private Instance Methods
params()
click to toggle source
# File lib/binance_client/requests/account_snapshot_request.rb, line 9 def params type = "SPOT" limit = 30 query = query(type: type, limit: limit) [ query, "signature=#{signature(query)}" ].join("&") end
path()
click to toggle source
# File lib/binance_client/requests/account_snapshot_request.rb, line 5 def path "/sapi/v1/accountSnapshot" end
query(options={})
click to toggle source
# File lib/binance_client/requests/account_snapshot_request.rb, line 20 def query(options={}) [ "type=#{options[:type]}", "timestamp=#{timestamp}", "limit=#{options[:limit]}", ].join("&") end