Ejemplo n.º 1
0
        /// <summary>
        /// 下普通单错误时回报
        /// </summary>
        private void CTradeApi_OnRspOrderInsert(ref CThostFtdcInputOrderField pInputOrder, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
        {
            OrderField of = ConvertFunctions.InputOrderField_To_OrderField(pInputOrder, pRspInfo);

            this._OnErrorOrder?.Invoke(of);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 错单回报
        /// </summary>
        private void CTradeApi_OnErrRtnOrderInsert(ref CThostFtdcInputOrderField pInputOrder, ref CThostFtdcRspInfoField pRspInfo)
        {
            OrderField of = ConvertFunctions.InputOrderField_To_OrderField(pInputOrder, pRspInfo);

            this._OnErrorOrder?.Invoke(of);
        }