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


C# QuickFix.getIssuer方法代码示例

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


在下文中一共展示了QuickFix.getIssuer方法的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())
//.........这里部分代码省略.........
开发者ID:heber,项目名称:FreeOQ,代码行数:101,代码来源:QuickFIX42Application.cs


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