public AccountInfoEndPoint(BinanceRestClient restClient) { _restClient = restClient; }
//Name Type Mandatory Description //symbol STRING YES //interval ENUM YES //startTime LONG NO //endTime LONG NO //limit INT NO Default 500; max 1000. public CandlesticksEndPoint(BinanceRestClient restClient) { _restClient = restClient; }
public TradingRulesEndPoint(BinanceRestClient restClient) { _restClient = restClient; }
//symbol STRING YES //startTime LONG NO //endTime LONG NO //fromId LONG NO TradeId to fetch from.Default gets most recent trades. //limit INT NO Default 500; max 1000. //recvWindow LONG NO The value cannot be greater than 60000 //timestamp LONG YES public MyTradesEndPoint(BinanceRestClient restClient) { _restClient = restClient; }
//asset STRING NO // status INT NO 0(0:Email Sent,1:Cancelled 2:Awaiting Approval 3:Rejected 4:Processing 5:Failure 6Completed) //startTime LONG NO // endTime LONG NO //recvWindow LONG NO // timestamp LONG YES public DepositHistoryEndPoint(BinanceRestClient restClient) { _restClient = restClient; }
public static Task <string> CallAsync(this BinanceRestClient restClient, HttpMethod method, string endpoint) { return(restClient.CallAsync(method, endpoint, null)); }