예제 #1
0
 public async void DeleteOrder(LimitOrder order)
 {
     try
     {
         await _restClient.DeleteOrder(order);
     }
     catch (Exception e)
     {
         _logger.Error(e.Message);
     }
 }
예제 #2
0
        public async Task <bool> DeleteOrder(string clientOrderId)
        {
            try
            {
                await _restClient.DeleteOrder(clientOrderId);

                return(true);
            }
            catch (Exception e)
            {
                _logger.Error(e.ToString());
            }

            return(false);
        }