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; }
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); }
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); }