当前位置: 首页>>代码示例>>C#>>正文


C# QuickFix.isSetHandlInst方法代码示例

本文整理汇总了C#中QuickFix.isSetHandlInst方法的典型用法代码示例。如果您正苦于以下问题:C# QuickFix.isSetHandlInst方法的具体用法?C# QuickFix.isSetHandlInst怎么用?C# QuickFix.isSetHandlInst使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在QuickFix的用法示例。


在下文中一共展示了QuickFix.isSetHandlInst方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: onMessage


//.........这里部分代码省略.........
			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())
				report1.LastForwardPoints = report.getLastForwardPoints().getValue();
			if (report.isSetLastMkt())
				report1.LastMkt = report.getLastMkt().getValue();
			if (report.isSetTradingSessionID())
				report1.TradingSessionID = report.getTradingSessionID().getValue();
			if (report.isSetLastCapacity())
				report1.LastCapacity = report.getLastCapacity().getValue();
			if (report.isSetLeavesQty())
				report1.LeavesQty = report.getLeavesQty().getValue();
			if (report.isSetCumQty())
				report1.CumQty = report.getCumQty().getValue();
			if (report.isSetAvgPx())
				report1.AvgPx = report.getAvgPx().getValue();
			if (report.isSetDayOrderQty())
				report1.DayOrderQty = report.getDayOrderQty().getValue();
			if (report.isSetDayCumQty())
				report1.DayCumQty = report.getDayCumQty().getValue();
			if (report.isSetDayAvgPx())
				report1.DayAvgPx = report.getDayAvgPx().getValue();
			if (report.isSetGTBookingInst())
				report1.GTBookingInst = report.getGTBookingInst().getValue();
			if (report.isSetTradeDate())
				report1.TradeDate = DateTime.Parse(report.getTradeDate().getValue());
			if (report.isSetTransactTime())
				report1.TransactTime = report.getTransactTime().getValue();
			if (report.isSetCommission())
				report1.Commission = report.getCommission().getValue();
			if (report.isSetCommType())
				((FIXExecutionReport)report1).CommType = report.getCommType().getValue();
			if (report.isSetGrossTradeAmt())
				report1.GrossTradeAmt = report.getGrossTradeAmt().getValue();
			if (report.isSetSettlCurrAmt())
				report1.SettlCurrAmt = report.getSettlCurrAmt().getValue();
			if (report.isSetSettlCurrency())
				report1.SettlCurrency = report.getSettlCurrency().getValue();
			if (report.isSetHandlInst())
				report1.HandlInst = report.getHandlInst().getValue();
			if (report.isSetMinQty())
				report1.MinQty = report.getMinQty().getValue();
			if (report.isSetMaxFloor())
				report1.MaxFloor = report.getMaxFloor().getValue();
			if (report.isSetMaxShow())
				report1.MaxShow = report.getMaxShow().getValue();
			if (report.isSetText())
				report1.Text = report.getText().getValue();
			if (report.isSetEncodedTextLen())
				report1.EncodedTextLen = report.getEncodedTextLen().getValue();
			if (report.isSetEncodedText())
				report1.EncodedText = report.getEncodedText().getValue();
			if (report.isSetOrderQty2())
				report1.OrderQty2 = report.getOrderQty2().getValue();
			if (report.isSetMultiLegReportingType())
				report1.MultiLegReportingType = report.getMultiLegReportingType().getValue();
			if (this.dyw7Oec2k == null)
				return;
			this.dyw7Oec2k((object)this, new ExecutionReportEventArgs(report1));
		}
开发者ID:heber,项目名称:FreeOQ,代码行数:101,代码来源:QuickFIX42Application.cs


注:本文中的QuickFix.isSetHandlInst方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。