Esempio n. 1
0
        /// <summary>
        /// 选择条件单请求
        /// </summary>
        void ReqSelectConditionalOrder()
        {
            TKSConditionalOrderSelect req = new TKSConditionalOrderSelect();

            req.BrokerID = BROKER_ID;
            req.ConditionalOrderSelectResultType = KSFT.EnumConditionalOrderSelectResultType.ABORT;
            req.InvestorID = INVESTOR_ID;

            int iResult = cosApi.ReqSelectConditionalOrder(req, ++iRequestID);

            Console.WriteLine("--->>> 选择条件单请求: " + ((iResult == 0) ? "成功" : "失败"));
        }
Esempio n. 2
0
        /// <summary>
        /// 选择条件单请求
        /// </summary>
        void ReqSelectConditionalOrder()
        {
            TKSConditionalOrderSelect req = new TKSConditionalOrderSelect();
            req.BrokerID = BROKER_ID;
            req.ConditionalOrderSelectResultType = KSFT.EnumConditionalOrderSelectResultType.ABORT;
            req.InvestorID = INVESTOR_ID;

            int iResult = cosApi.ReqSelectConditionalOrder(req, ++iRequestID);
            Console.WriteLine("--->>> 选择条件单请求: " + ((iResult == 0) ? "成功" : "失败"));
        }