Exemple #1
0
 public async void SetOrders(List <LimitOrder> orders)
 {
     try
     {
         await _restClient.PostOrders(orders);
     }
     catch (Exception e)
     {
         _logger.Error(e.Message);
     }
 }
        public async Task <bool> SetOrders(List <BitMexLimitOrder> orders)
        {
            try
            {
                await _restClient.PostOrders(orders);

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

                return(false);
            }
        }