Exemplo n.º 1
0
        /// <summary>
        /// 获取持仓
        /// </summary>
        private static void GetPositions()
        {
            _logger.Start();
            var data = _tradeClient.GetPositionsAsync().Result;

            _logger.StopAndLog();

            AppLogger.Info($"get positions, data:{JsonConvert.SerializeObject(data)}");
        }