本文整理汇总了C#中QuickFix.getCashOrderQty方法的典型用法代码示例。如果您正苦于以下问题:C# QuickFix.getCashOrderQty方法的具体用法?C# QuickFix.getCashOrderQty怎么用?C# QuickFix.getCashOrderQty使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QuickFix
的用法示例。
在下文中一共展示了QuickFix.getCashOrderQty方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: onMessage
public void onMessage(QuickFix.FIX42.ExecutionReport report, SessionID sessionID)
{
SmartQuant.FIX.ExecutionReport report1 = new SmartQuant.FIX.ExecutionReport();
if (report.isSetOrderID())
report1.OrderID = report.getOrderID().getValue();
if (report.isSetSecondaryOrderID())
report1.SecondaryOrderID = report.getSecondaryOrderID().getValue();
if (report.isSetClOrdID())
report1.ClOrdID = report.getClOrdID().getValue();
if (report.isSetOrigClOrdID())
report1.OrigClOrdID = report.getOrigClOrdID().getValue();
if (report.isSetListID())
report1.ListID = report.getListID().getValue();
if (report.isSetExecID())
report1.ExecID = report.getExecID().getValue();
if (report.isSetExecRefID())
report1.ExecRefID = report.getExecRefID().getValue();
if (report.isSetExecType())
((FIXExecutionReport)report1).ExecType = report.getExecType().getValue();
if (report.isSetOrdStatus())
((FIXExecutionReport)report1).OrdStatus = report.getOrdStatus().getValue();
if (report.isSetOrdRejReason())
report1.OrdRejReason = report.getOrdRejReason().getValue();
if (report.isSetExecRestatementReason())
report1.ExecRestatementReason = report.getExecRestatementReason().getValue();
if (report.isSetAccount())
report1.Account = report.getAccount().getValue();
if (report.isSetSettlmntTyp())
report1.SettlType = report.getSettlmntTyp().getValue();
if (report.isSetSymbol())
report1.Symbol = report.getSymbol().getValue();
if (report.isSetSymbolSfx())
report1.SymbolSfx = report.getSymbolSfx().getValue();
if (report.isSetSecurityID())
report1.SecurityID = report.getSecurityID().getValue();
if (report.isSetSecurityType())
report1.SecurityType = report.getSecurityType().getValue();
if (report.isSetMaturityMonthYear())
report1.MaturityMonthYear = report.getMaturityMonthYear().getValue();
if (report.isSetMaturityDay())
report1.MaturityDate = DateTime.Parse(report.getMaturityDay().getValue());
if (report.isSetStrikePrice())
report1.StrikePrice = report.getStrikePrice().getValue();
if (report.isSetOptAttribute())
report1.OptAttribute = report.getOptAttribute().getValue();
if (report.isSetContractMultiplier())
report1.ContractMultiplier = report.getContractMultiplier().getValue();
if (report.isSetCouponRate())
report1.CouponRate = report.getCouponRate().getValue();
if (report.isSetSecurityExchange())
report1.SecurityExchange = report.getSecurityExchange().getValue();
if (report.isSetIssuer())
report1.Issuer = report.getIssuer().getValue();
if (report.isSetEncodedIssuerLen())
report1.EncodedIssuerLen = report.getEncodedIssuerLen().getValue();
if (report.isSetEncodedIssuer())
report1.EncodedIssuer = report.getEncodedIssuer().getValue();
if (report.isSetSecurityDesc())
report1.SecurityDesc = report.getSecurityDesc().getValue();
if (report.isSetEncodedSecurityDescLen())
report1.EncodedSecurityDescLen = report.getEncodedSecurityDescLen().getValue();
if (report.isSetEncodedSecurityDesc())
report1.EncodedSecurityDesc = report.getEncodedSecurityDesc().getValue();
if (report.isSetSide())
((FIXExecutionReport)report1).Side = report.getSide().getValue();
if (report.isSetOrderQty())
report1.OrderQty = report.getOrderQty().getValue();
if (report.isSetCashOrderQty())
report1.CashOrderQty = report.getCashOrderQty().getValue();
if (report.isSetOrdType())
((FIXExecutionReport)report1).OrdType = report.getOrdType().getValue();
if (report.isSetPrice())
report1.Price = report.getPrice().getValue();
if (report.isSetStopPx())
report1.StopPx = report.getStopPx().getValue();
if (report.isSetDiscretionInst())
report1.DiscretionInst = report.getDiscretionInst().getValue();
if (report.isSetDiscretionOffset())
report1.DiscretionOffsetValue = report.getDiscretionOffset().getValue();
if (report.isSetCurrency())
report1.Currency = report.getCurrency().getValue();
if (report.isSetComplianceID())
report1.ComplianceID = report.getComplianceID().getValue();
if (report.isSetTimeInForce())
((FIXExecutionReport)report1).TimeInForce = report.getTimeInForce().getValue();
if (report.isSetEffectiveTime())
report1.EffectiveTime = report.getEffectiveTime().getValue();
if (report.isSetExpireDate())
report1.ExpireDate = DateTime.Parse(report.getExpireDate().getValue());
if (report.isSetExpireTime())
report1.ExpireTime = report.getExpireTime().getValue();
if (report.isSetExecInst())
report1.ExecInst = report.getExecInst().getValue();
if (report.isSetLastShares())
report1.LastQty = report.getLastShares().getValue();
if (report.isSetLastPx())
report1.LastPx = report.getLastPx().getValue();
if (report.isSetLastSpotRate())
report1.LastSpotRate = report.getLastSpotRate().getValue();
if (report.isSetLastForwardPoints())
//.........这里部分代码省略.........