Ejemplo n.º 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;
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }