/// <summary> /// Add REInstrument to Local hashtable of ESTickerMnemonic /// </summary> /// <param name="instrument">returns Tradable Entity Information</param> public void AddDirectTE(TEInstrument instrument) { if (!m_directTEMap.ContainsKey(instrument.ESTickerMnemonic)) { m_directTEMap[instrument.ESTickerMnemonic] = instrument; } }
/// <summary> /// constructor /// </summary> /// <param name="order"></param> public OrderInfo(OrderInfo order) { this.m_nLeavesQty = order.m_nLeavesQty; this.m_nOrderQty = order.m_nOrderQty; this.m_dPrice = order.m_dPrice; this.m_nSecondBOID = order.m_nSecondBOID; this.m_sExecutionReportStatus = order.m_sExecutionReportStatus; this.m_TransactTime = order.m_TransactTime; this.m_instrument = order.m_instrument; this.m_nCumQty = order.m_nCumQty; this.m_sClOrdID = order.m_sClOrdID; this.m_sSide = order.m_sSide; this.m_sExecutionReportStatus = order.m_sExecutionReportStatus; this.m_sTickerMnemonic = order.m_sTickerMnemonic; this.m_sTimeInForce = order.m_sTimeInForce; this.m_sOrderType = order.m_sOrderType; this.PrimaryBOID = order.PrimaryBOID; this.m_iAccountID = order.m_iAccountID; }