Exemple #1
0
        /// <summary>
        /// 止损止盈单查询应答
        /// </summary>
        /// <param name="pQueryProfitAndLossOrder"></param>
        /// <param name="pRspInfo"></param>
        /// <param name="nRequestID"></param>
        /// <param name="bIsLast"></param>
        void OnRspQueryProfitAndLossOrder(TKSProfitAndLossOrderOperResultField pQueryProfitAndLossOrder, ThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
        {
            DebugPrintFunc(new StackTrace());

            if (bIsLast && !IsErrorRspInfo(pRspInfo))
            {
                //删除条件单请求
                ReqRemoveConditionalOrder();
            }
        }
Exemple #2
0
        /// <summary>
        /// 止损止盈单修改应答
        /// </summary>
        /// <param name="pModifyProfitAndLossOrder"></param>
        /// <param name="pRspInfo"></param>
        /// <param name="nRequestID"></param>
        /// <param name="bIsLast"></param>
        void OnRspModifyProfitAndLossOrder(TKSProfitAndLossOrderOperResultField pModifyProfitAndLossOrder, ThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
        {
            DebugPrintFunc(new StackTrace());

            if (bIsLast && !IsErrorRspInfo(pRspInfo))
            {
                //暂停或激活条件单请求
                ReqStateAlterConditionalOrder();
            }
        }
Exemple #3
0
        /// <summary>
        /// 止损止盈单查询应答
        /// </summary>
        /// <param name="pQueryProfitAndLossOrder"></param>
        /// <param name="pRspInfo"></param>
        /// <param name="nRequestID"></param>
        /// <param name="bIsLast"></param>
        void OnRspQueryProfitAndLossOrder(TKSProfitAndLossOrderOperResultField pQueryProfitAndLossOrder, ThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
        {
            DebugPrintFunc(new StackTrace());

            if (bIsLast && !IsErrorRspInfo(pRspInfo))
            {

                //删除条件单请求
                ReqRemoveConditionalOrder();
            }
        }
Exemple #4
0
        /// <summary>
        /// 止损止盈单修改应答
        /// </summary>
        /// <param name="pModifyProfitAndLossOrder"></param>
        /// <param name="pRspInfo"></param>
        /// <param name="nRequestID"></param>
        /// <param name="bIsLast"></param>
        void OnRspModifyProfitAndLossOrder(TKSProfitAndLossOrderOperResultField pModifyProfitAndLossOrder, ThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
        {
            DebugPrintFunc(new StackTrace());

            if (bIsLast && !IsErrorRspInfo(pRspInfo))
            {
                //暂停或激活条件单请求
                ReqStateAlterConditionalOrder();
            }
        }