Ejemplo n.º 1
0
 /// <summary>
 /// 看跌期权报价被成交时调用
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void put_QuoteTraded(object sender, RtnTradeEventArgs e)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 做市单被成交时执行
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void TraderManager_OnQuoteTraded(object sender, RtnTradeEventArgs e)
 {
     ActiveContract activeContract;
     if (MarketManeger.ActiveContractDictionary.TryGetValue(e.TradeFiled.InstrumentID, out activeContract))
     {
         activeContract.OnQuoteTraded(e.TradeFiled);
     }
 }
Ejemplo n.º 3
0
        /// <summary>
        /// 看涨期权报价被成交时调用
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void call_QuoteTraded(object sender, RtnTradeEventArgs e)
        {
            //if(e.TradeFiled.InstrumentID.Contains('C'))
            //{

            //}
        }