Beispiel #1
0
 public async void SetOrder(LimitOrder order)
 {
     try
     {
         await _restClient.PostOrder(order);
     }
     catch (Exception e)
     {
         _logger.Error(e.Message);
     }
 }
        public async Task <bool> SetOrder(BitMexLimitOrder order)
        {
            try
            {
                await _restClient.PostOrder(order);

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