Exemplo n.º 1
0
        /// <summary>
        /// 下条件单
        /// </summary>
        /// <param name="contractCode"></param>
        private static void CreateConditionOrder(string contractCode)
        {
            _logger.Start();

            var data = _tradeClient.CreateConditionOrderAsync(contractCode, (int)OrderTradeType.BuyLong, OrderType.Limit.ToString(),
                                                              60000, 10, 48000).Result;

            _logger.StopAndLog();

            AppLogger.Info($"create condition order done, result:{data}");
        }