module Binance::Spot::C2C
C2C
endpoints @see binance-docs.github.io/apidocs/spot/en/#c2c-endpoints
Public Instance Methods
c2c_trade_history(tradeType:, **kwargs)
click to toggle source
Get C2C
Trade
History (USER_DATA)
GET /sapi/v1/c2c/orderMatch/listUserOrderHistory
@param tradeType [String] @option kwargs [Integer] :startTimestamp @option kwargs [Integer] :endTimestamp @option kwargs [Integer] :page @option kwargs [Integer] :rows @option kwargs [Integer] :recvWindow @option kwargs [Integer] :timestamp @see binance-docs.github.io/apidocs/spot/en/#get-c2c-trade-history-user_data
# File lib/binance/spot/c2c.rb, line 20 def c2c_trade_history(tradeType:, **kwargs) Binance::Utils::Validation.require_param('tradeType', tradeType) @session.sign_request(:get, '/sapi/v1/c2c/orderMatch/listUserOrderHistory', params: kwargs.merge(tradeType: tradeType)) end