Exemple #1
0
 public CancelOrderResponse CancelOrder(int order_id)
 {
     CancelOrderRequest req = new CancelOrderRequest(Nonce, order_id);
     string response = SendRequest(req,"POST");
     CancelOrderResponse resp = CancelOrderResponse.FromJSON(response);
     return resp;
 }
Exemple #2
0
        public CancelOrderResponse CancelOrder(int order_id)
        {
            CancelOrderRequest  req      = new CancelOrderRequest(Nonce, order_id);
            string              response = SendRequest(req, "POST");
            CancelOrderResponse resp     = CancelOrderResponse.FromJSON(response);

            return(resp);
        }
Exemple #3
0
        public async Task <CancelOrderResponse> CancelOrderAsync(int order_id)
        {
            CancelOrderRequest req      = new CancelOrderRequest(Nonce, order_id);
            string             response = await SendRequestAsync(req, "POST");

            CancelOrderResponse resp = CancelOrderResponse.FromJSON(response);

            return(resp);
        }