Пример #1
0
        public async Task <OrderResponse> CancelOrderAsync(string orderId, string pair)
        {
            var cancelParams = new Binance.NetCore.Entities.CancelTradeParams
            {
                orderId = Int64.Parse(orderId),
                symbol  = pair
            };
            var response = await binance.DeleteTradeAsync(cancelParams);

            return(this.BinanceTradeResponseToOrderResponse(response));
        }