Exemplo n.º 1
0
 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;
        }
Exemplo n.º 3
0
 public TradingRulesEndPoint(BinanceRestClient restClient)
 {
     _restClient = restClient;
 }
Exemplo n.º 4
0
        //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;
        }
Exemplo n.º 5
0
        //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;
        }
Exemplo n.º 6
0
 public static Task <string> CallAsync(this BinanceRestClient restClient, HttpMethod method, string endpoint)
 {
     return(restClient.CallAsync(method, endpoint, null));
 }