本文整理汇总了C#中QuickFix.isSetIssuer方法的典型用法代码示例。如果您正苦于以下问题:C# QuickFix.isSetIssuer方法的具体用法?C# QuickFix.isSetIssuer怎么用?C# QuickFix.isSetIssuer使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QuickFix
的用法示例。
在下文中一共展示了QuickFix.isSetIssuer方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: onMessage
public void onMessage(QuickFix.FIX42.NewOrderSingle order, SessionID sessionID)
{
FIXNewOrderSingle fixNewOrderSingle = new FIXNewOrderSingle();
if (order.isSetClOrdID())
fixNewOrderSingle.ClOrdID = order.getClOrdID().getValue();
if (order.isSetAccount())
fixNewOrderSingle.Account = order.getAccount().getValue();
if (order.isSetSettlmntTyp())
fixNewOrderSingle.SettlType = order.getSettlmntTyp().getValue();
if (order.isSetHandlInst())
fixNewOrderSingle.HandlInst = order.getHandlInst().getValue();
if (order.isSetExecInst())
fixNewOrderSingle.ExecInst = order.getExecInst().getValue();
if (order.isSetMinQty())
fixNewOrderSingle.MinQty = order.getMinQty().getValue();
if (order.isSetMaxFloor())
fixNewOrderSingle.MaxFloor = order.getMaxFloor().getValue();
if (order.isSetExDestination())
fixNewOrderSingle.ExDestination = order.getExDestination().getValue();
if (order.isSetProcessCode())
fixNewOrderSingle.ProcessCode = order.getProcessCode().getValue();
if (order.isSetSymbol())
fixNewOrderSingle.Symbol = order.getSymbol().getValue();
if (order.isSetSymbolSfx())
fixNewOrderSingle.SymbolSfx = order.getSymbolSfx().getValue();
if (order.isSetSecurityID())
fixNewOrderSingle.SecurityID = order.getSecurityID().getValue();
if (order.isSetIDSource())
fixNewOrderSingle.SecurityIDSource = order.getIDSource().getValue();
if (order.isSetSecurityType())
fixNewOrderSingle.SecurityType = order.getSecurityType().getValue();
if (order.isSetMaturityMonthYear())
fixNewOrderSingle.MaturityMonthYear = order.getMaturityMonthYear().getValue();
if (order.isSetMaturityDay())
fixNewOrderSingle.MaturityDate = DateTime.Parse(order.getMaturityDay().getValue());
if (order.isSetStrikePrice())
fixNewOrderSingle.StrikePrice = order.getStrikePrice().getValue();
if (order.isSetOptAttribute())
fixNewOrderSingle.OptAttribute = order.getOptAttribute().getValue();
if (order.isSetContractMultiplier())
fixNewOrderSingle.ContractMultiplier = order.getContractMultiplier().getValue();
if (order.isSetCouponRate())
fixNewOrderSingle.CouponRate = order.getCouponRate().getValue();
if (order.isSetSecurityExchange())
fixNewOrderSingle.SecurityExchange = order.getSecurityExchange().getValue();
if (order.isSetIssuer())
fixNewOrderSingle.Issuer = order.getIssuer().getValue();
if (order.isSetEncodedIssuerLen())
fixNewOrderSingle.EncodedIssuerLen = order.getEncodedIssuerLen().getValue();
if (order.isSetEncodedIssuer())
fixNewOrderSingle.EncodedIssuer = order.getEncodedIssuer().getValue();
if (order.isSetSecurityDesc())
fixNewOrderSingle.SecurityDesc = order.getSecurityDesc().getValue();
if (order.isSetEncodedSecurityDescLen())
fixNewOrderSingle.EncodedSecurityDescLen = order.getEncodedSecurityDescLen().getValue();
if (order.isSetEncodedSecurityDesc())
fixNewOrderSingle.EncodedSecurityDesc = order.getEncodedSecurityDesc().getValue();
if (order.isSetPrevClosePx())
fixNewOrderSingle.PrevClosePx = order.getPrevClosePx().getValue();
if (order.isSetSide())
fixNewOrderSingle.Side = order.getSide().getValue();
if (order.isSetTransactTime())
fixNewOrderSingle.TransactTime = order.getTransactTime().getValue();
if (order.isSetOrderQty())
fixNewOrderSingle.OrderQty = order.getOrderQty().getValue();
if (order.isSetCashOrderQty())
fixNewOrderSingle.CashOrderQty = order.getCashOrderQty().getValue();
if (order.isSetOrdType())
fixNewOrderSingle.OrdType = order.getOrdType().getValue();
if (order.isSetPrice())
fixNewOrderSingle.Price = order.getPrice().getValue();
if (order.isSetStopPx())
fixNewOrderSingle.StopPx = order.getStopPx().getValue();
if (order.isSetComplianceID())
fixNewOrderSingle.ComplianceID = order.getComplianceID().getValue();
if (order.isSetIOIid())
fixNewOrderSingle.IOIID = order.getIOIid().getValue();
if (order.isSetQuoteID())
fixNewOrderSingle.QuoteID = order.getQuoteID().getValue();
if (order.isSetTimeInForce())
fixNewOrderSingle.TimeInForce = order.getTimeInForce().getValue();
if (order.isSetEffectiveTime())
fixNewOrderSingle.EffectiveTime = order.getEffectiveTime().getValue();
if (order.isSetExpireTime())
fixNewOrderSingle.ExpireTime = order.getExpireTime().getValue();
if (order.isSetGTBookingInst())
fixNewOrderSingle.GTBookingInst = order.getGTBookingInst().getValue();
if (order.isSetCommission())
fixNewOrderSingle.Commission = order.getCommission().getValue();
if (order.isSetText())
fixNewOrderSingle.Text = order.getText().getValue();
if (order.isSetEncodedTextLen())
fixNewOrderSingle.EncodedTextLen = order.getEncodedTextLen().getValue();
if (order.isSetEncodedText())
fixNewOrderSingle.EncodedText = order.getEncodedText().getValue();
if (order.isSetOrderQty2())
fixNewOrderSingle.OrderQty2 = order.getOrderQty2().getValue();
if (order.isSetCoveredOrUncovered())
fixNewOrderSingle.CoveredOrUncovered = order.getCoveredOrUncovered().getValue();
if (order.isSetMaxShow())
//.........这里部分代码省略.........