NewOrderList.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. #ifndef FIX50_NEWORDERLIST_H
  2. #define FIX50_NEWORDERLIST_H
  3. #include "Message.h"
  4. namespace FIX50
  5. {
  6. class NewOrderList : public Message
  7. {
  8. public:
  9. NewOrderList() : Message(MsgType()) {}
  10. NewOrderList(const FIX::Message& m) : Message(m) {}
  11. NewOrderList(const Message& m) : Message(m) {}
  12. NewOrderList(const NewOrderList& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("E"); }
  14. NewOrderList(
  15. const FIX::ListID& aListID,
  16. const FIX::BidType& aBidType,
  17. const FIX::TotNoOrders& aTotNoOrders )
  18. : Message(MsgType())
  19. {
  20. set(aListID);
  21. set(aBidType);
  22. set(aTotNoOrders);
  23. }
  24. FIELD_SET(*this, FIX::ListID);
  25. FIELD_SET(*this, FIX::BidID);
  26. FIELD_SET(*this, FIX::ClientBidID);
  27. FIELD_SET(*this, FIX::ProgRptReqs);
  28. FIELD_SET(*this, FIX::BidType);
  29. FIELD_SET(*this, FIX::ProgPeriodInterval);
  30. FIELD_SET(*this, FIX::CancellationRights);
  31. FIELD_SET(*this, FIX::MoneyLaunderingStatus);
  32. FIELD_SET(*this, FIX::RegistID);
  33. FIELD_SET(*this, FIX::ListExecInstType);
  34. FIELD_SET(*this, FIX::ListExecInst);
  35. FIELD_SET(*this, FIX::EncodedListExecInstLen);
  36. FIELD_SET(*this, FIX::EncodedListExecInst);
  37. FIELD_SET(*this, FIX::AllowableOneSidednessPct);
  38. FIELD_SET(*this, FIX::AllowableOneSidednessValue);
  39. FIELD_SET(*this, FIX::AllowableOneSidednessCurr);
  40. FIELD_SET(*this, FIX::TotNoOrders);
  41. FIELD_SET(*this, FIX::LastFragment);
  42. FIELD_SET(*this, FIX::NoRootPartyIDs);
  43. class NoRootPartyIDs: public FIX::Group
  44. {
  45. public:
  46. NoRootPartyIDs() : FIX::Group(1116,1117,FIX::message_order(1117,1118,1119,1120,0)) {}
  47. FIELD_SET(*this, FIX::RootPartyID);
  48. FIELD_SET(*this, FIX::RootPartyIDSource);
  49. FIELD_SET(*this, FIX::RootPartyRole);
  50. FIELD_SET(*this, FIX::NoRootPartySubIDs);
  51. class NoRootPartySubIDs: public FIX::Group
  52. {
  53. public:
  54. NoRootPartySubIDs() : FIX::Group(1120,1121,FIX::message_order(1121,1122,0)) {}
  55. FIELD_SET(*this, FIX::RootPartySubID);
  56. FIELD_SET(*this, FIX::RootPartySubIDType);
  57. };
  58. };
  59. FIELD_SET(*this, FIX::NoOrders);
  60. class NoOrders: public FIX::Group
  61. {
  62. public:
  63. NoOrders() : FIX::Group(73,11,FIX::message_order(11,526,67,583,160,453,229,75,1,660,581,589,590,70,591,78,63,64,544,635,21,18,110,1089,1090,1138,1082,1083,1084,1085,1086,1087,1088,111,100,1133,386,81,55,65,48,22,460,461,167,762,200,541,1079,201,966,1049,965,224,225,239,226,227,228,255,543,470,471,472,240,202,947,967,968,206,231,969,996,997,223,207,970,971,106,348,349,107,350,351,691,667,875,876,873,874,711,140,54,401,114,60,232,854,38,152,516,468,469,40,423,44,1092,99,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,218,220,221,222,662,663,699,761,235,236,701,696,697,698,15,376,377,23,117,1080,1081,59,168,432,126,427,12,13,479,497,528,529,1091,582,121,120,775,58,354,355,193,192,640,77,203,210,211,1094,835,836,837,838,840,1096,1097,1098,1099,388,389,841,842,843,844,846,847,957,848,849,494,0)) {}
  64. FIELD_SET(*this, FIX::ClOrdID);
  65. FIELD_SET(*this, FIX::SecondaryClOrdID);
  66. FIELD_SET(*this, FIX::ListSeqNo);
  67. FIELD_SET(*this, FIX::ClOrdLinkID);
  68. FIELD_SET(*this, FIX::SettlInstMode);
  69. FIELD_SET(*this, FIX::NoPartyIDs);
  70. class NoPartyIDs: public FIX::Group
  71. {
  72. public:
  73. NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
  74. FIELD_SET(*this, FIX::PartyID);
  75. FIELD_SET(*this, FIX::PartyIDSource);
  76. FIELD_SET(*this, FIX::PartyRole);
  77. FIELD_SET(*this, FIX::NoPartySubIDs);
  78. class NoPartySubIDs: public FIX::Group
  79. {
  80. public:
  81. NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
  82. FIELD_SET(*this, FIX::PartySubID);
  83. FIELD_SET(*this, FIX::PartySubIDType);
  84. };
  85. };
  86. FIELD_SET(*this, FIX::TradeOriginationDate);
  87. FIELD_SET(*this, FIX::TradeDate);
  88. FIELD_SET(*this, FIX::Account);
  89. FIELD_SET(*this, FIX::AcctIDSource);
  90. FIELD_SET(*this, FIX::AccountType);
  91. FIELD_SET(*this, FIX::DayBookingInst);
  92. FIELD_SET(*this, FIX::BookingUnit);
  93. FIELD_SET(*this, FIX::AllocID);
  94. FIELD_SET(*this, FIX::PreallocMethod);
  95. FIELD_SET(*this, FIX::NoAllocs);
  96. class NoAllocs: public FIX::Group
  97. {
  98. public:
  99. NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,539,80,0)) {}
  100. FIELD_SET(*this, FIX::AllocAccount);
  101. FIELD_SET(*this, FIX::AllocAcctIDSource);
  102. FIELD_SET(*this, FIX::AllocSettlCurrency);
  103. FIELD_SET(*this, FIX::IndividualAllocID);
  104. FIELD_SET(*this, FIX::NoNestedPartyIDs);
  105. class NoNestedPartyIDs: public FIX::Group
  106. {
  107. public:
  108. NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
  109. FIELD_SET(*this, FIX::NestedPartyID);
  110. FIELD_SET(*this, FIX::NestedPartyIDSource);
  111. FIELD_SET(*this, FIX::NestedPartyRole);
  112. FIELD_SET(*this, FIX::NoNestedPartySubIDs);
  113. class NoNestedPartySubIDs: public FIX::Group
  114. {
  115. public:
  116. NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
  117. FIELD_SET(*this, FIX::NestedPartySubID);
  118. FIELD_SET(*this, FIX::NestedPartySubIDType);
  119. };
  120. };
  121. FIELD_SET(*this, FIX::AllocQty);
  122. };
  123. FIELD_SET(*this, FIX::SettlType);
  124. FIELD_SET(*this, FIX::SettlDate);
  125. FIELD_SET(*this, FIX::CashMargin);
  126. FIELD_SET(*this, FIX::ClearingFeeIndicator);
  127. FIELD_SET(*this, FIX::HandlInst);
  128. FIELD_SET(*this, FIX::ExecInst);
  129. FIELD_SET(*this, FIX::MinQty);
  130. FIELD_SET(*this, FIX::MatchIncrement);
  131. FIELD_SET(*this, FIX::MaxPriceLevels);
  132. FIELD_SET(*this, FIX::DisplayQty);
  133. FIELD_SET(*this, FIX::SecondaryDisplayQty);
  134. FIELD_SET(*this, FIX::DisplayWhen);
  135. FIELD_SET(*this, FIX::DisplayMethod);
  136. FIELD_SET(*this, FIX::DisplayLowQty);
  137. FIELD_SET(*this, FIX::DisplayHighQty);
  138. FIELD_SET(*this, FIX::DisplayMinIncr);
  139. FIELD_SET(*this, FIX::RefreshQty);
  140. FIELD_SET(*this, FIX::MaxFloor);
  141. FIELD_SET(*this, FIX::ExDestination);
  142. FIELD_SET(*this, FIX::ExDestinationIDSource);
  143. FIELD_SET(*this, FIX::NoTradingSessions);
  144. class NoTradingSessions: public FIX::Group
  145. {
  146. public:
  147. NoTradingSessions() : FIX::Group(386,336,FIX::message_order(336,625,0)) {}
  148. FIELD_SET(*this, FIX::TradingSessionID);
  149. FIELD_SET(*this, FIX::TradingSessionSubID);
  150. };
  151. FIELD_SET(*this, FIX::ProcessCode);
  152. FIELD_SET(*this, FIX::Symbol);
  153. FIELD_SET(*this, FIX::SymbolSfx);
  154. FIELD_SET(*this, FIX::SecurityID);
  155. FIELD_SET(*this, FIX::SecurityIDSource);
  156. FIELD_SET(*this, FIX::Product);
  157. FIELD_SET(*this, FIX::CFICode);
  158. FIELD_SET(*this, FIX::SecurityType);
  159. FIELD_SET(*this, FIX::SecuritySubType);
  160. FIELD_SET(*this, FIX::MaturityMonthYear);
  161. FIELD_SET(*this, FIX::MaturityDate);
  162. FIELD_SET(*this, FIX::MaturityTime);
  163. FIELD_SET(*this, FIX::PutOrCall);
  164. FIELD_SET(*this, FIX::SettleOnOpenFlag);
  165. FIELD_SET(*this, FIX::InstrmtAssignmentMethod);
  166. FIELD_SET(*this, FIX::SecurityStatus);
  167. FIELD_SET(*this, FIX::CouponPaymentDate);
  168. FIELD_SET(*this, FIX::IssueDate);
  169. FIELD_SET(*this, FIX::RepoCollateralSecurityType);
  170. FIELD_SET(*this, FIX::RepurchaseTerm);
  171. FIELD_SET(*this, FIX::RepurchaseRate);
  172. FIELD_SET(*this, FIX::Factor);
  173. FIELD_SET(*this, FIX::CreditRating);
  174. FIELD_SET(*this, FIX::InstrRegistry);
  175. FIELD_SET(*this, FIX::CountryOfIssue);
  176. FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
  177. FIELD_SET(*this, FIX::LocaleOfIssue);
  178. FIELD_SET(*this, FIX::RedemptionDate);
  179. FIELD_SET(*this, FIX::StrikePrice);
  180. FIELD_SET(*this, FIX::StrikeCurrency);
  181. FIELD_SET(*this, FIX::StrikeMultiplier);
  182. FIELD_SET(*this, FIX::StrikeValue);
  183. FIELD_SET(*this, FIX::OptAttribute);
  184. FIELD_SET(*this, FIX::ContractMultiplier);
  185. FIELD_SET(*this, FIX::MinPriceIncrement);
  186. FIELD_SET(*this, FIX::UnitOfMeasure);
  187. FIELD_SET(*this, FIX::TimeUnit);
  188. FIELD_SET(*this, FIX::CouponRate);
  189. FIELD_SET(*this, FIX::SecurityExchange);
  190. FIELD_SET(*this, FIX::PositionLimit);
  191. FIELD_SET(*this, FIX::NTPositionLimit);
  192. FIELD_SET(*this, FIX::Issuer);
  193. FIELD_SET(*this, FIX::EncodedIssuerLen);
  194. FIELD_SET(*this, FIX::EncodedIssuer);
  195. FIELD_SET(*this, FIX::SecurityDesc);
  196. FIELD_SET(*this, FIX::EncodedSecurityDescLen);
  197. FIELD_SET(*this, FIX::EncodedSecurityDesc);
  198. FIELD_SET(*this, FIX::Pool);
  199. FIELD_SET(*this, FIX::ContractSettlMonth);
  200. FIELD_SET(*this, FIX::CPProgram);
  201. FIELD_SET(*this, FIX::CPRegType);
  202. FIELD_SET(*this, FIX::DatedDate);
  203. FIELD_SET(*this, FIX::InterestAccrualDate);
  204. FIELD_SET(*this, FIX::NoUnderlyings);
  205. class NoUnderlyings: public FIX::Group
  206. {
  207. public:
  208. NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,998,1000,435,308,306,362,363,307,364,365,877,878,972,318,879,975,973,974,810,882,883,884,885,886,1044,1045,1046,1038,1039,0)) {}
  209. FIELD_SET(*this, FIX::UnderlyingSymbol);
  210. FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
  211. FIELD_SET(*this, FIX::UnderlyingSecurityID);
  212. FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
  213. FIELD_SET(*this, FIX::UnderlyingProduct);
  214. FIELD_SET(*this, FIX::UnderlyingCFICode);
  215. FIELD_SET(*this, FIX::UnderlyingSecurityType);
  216. FIELD_SET(*this, FIX::UnderlyingSecuritySubType);
  217. FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
  218. FIELD_SET(*this, FIX::UnderlyingMaturityDate);
  219. FIELD_SET(*this, FIX::UnderlyingPutOrCall);
  220. FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
  221. FIELD_SET(*this, FIX::UnderlyingIssueDate);
  222. FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
  223. FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
  224. FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
  225. FIELD_SET(*this, FIX::UnderlyingFactor);
  226. FIELD_SET(*this, FIX::UnderlyingCreditRating);
  227. FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
  228. FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
  229. FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
  230. FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
  231. FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
  232. FIELD_SET(*this, FIX::UnderlyingStrikePrice);
  233. FIELD_SET(*this, FIX::UnderlyingStrikeCurrency);
  234. FIELD_SET(*this, FIX::UnderlyingOptAttribute);
  235. FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
  236. FIELD_SET(*this, FIX::UnderlyingUnitOfMeasure);
  237. FIELD_SET(*this, FIX::UnderlyingTimeUnit);
  238. FIELD_SET(*this, FIX::UnderlyingCouponRate);
  239. FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
  240. FIELD_SET(*this, FIX::UnderlyingIssuer);
  241. FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
  242. FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
  243. FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
  244. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
  245. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
  246. FIELD_SET(*this, FIX::UnderlyingCPProgram);
  247. FIELD_SET(*this, FIX::UnderlyingCPRegType);
  248. FIELD_SET(*this, FIX::UnderlyingAllocationPercent);
  249. FIELD_SET(*this, FIX::UnderlyingCurrency);
  250. FIELD_SET(*this, FIX::UnderlyingQty);
  251. FIELD_SET(*this, FIX::UnderlyingSettlementType);
  252. FIELD_SET(*this, FIX::UnderlyingCashAmount);
  253. FIELD_SET(*this, FIX::UnderlyingCashType);
  254. FIELD_SET(*this, FIX::UnderlyingPx);
  255. FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
  256. FIELD_SET(*this, FIX::UnderlyingEndPrice);
  257. FIELD_SET(*this, FIX::UnderlyingStartValue);
  258. FIELD_SET(*this, FIX::UnderlyingCurrentValue);
  259. FIELD_SET(*this, FIX::UnderlyingEndValue);
  260. FIELD_SET(*this, FIX::UnderlyingAdjustedQuantity);
  261. FIELD_SET(*this, FIX::UnderlyingFXRate);
  262. FIELD_SET(*this, FIX::UnderlyingFXRateCalc);
  263. FIELD_SET(*this, FIX::UnderlyingCapValue);
  264. FIELD_SET(*this, FIX::UnderlyingSettlMethod);
  265. };
  266. FIELD_SET(*this, FIX::PrevClosePx);
  267. FIELD_SET(*this, FIX::Side);
  268. FIELD_SET(*this, FIX::SideValueInd);
  269. FIELD_SET(*this, FIX::LocateReqd);
  270. FIELD_SET(*this, FIX::TransactTime);
  271. FIELD_SET(*this, FIX::NoStipulations);
  272. class NoStipulations: public FIX::Group
  273. {
  274. public:
  275. NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
  276. FIELD_SET(*this, FIX::StipulationType);
  277. FIELD_SET(*this, FIX::StipulationValue);
  278. };
  279. FIELD_SET(*this, FIX::QtyType);
  280. FIELD_SET(*this, FIX::OrderQty);
  281. FIELD_SET(*this, FIX::CashOrderQty);
  282. FIELD_SET(*this, FIX::OrderPercent);
  283. FIELD_SET(*this, FIX::RoundingDirection);
  284. FIELD_SET(*this, FIX::RoundingModulus);
  285. FIELD_SET(*this, FIX::OrdType);
  286. FIELD_SET(*this, FIX::PriceType);
  287. FIELD_SET(*this, FIX::Price);
  288. FIELD_SET(*this, FIX::PriceProtectionScope);
  289. FIELD_SET(*this, FIX::StopPx);
  290. FIELD_SET(*this, FIX::TriggerType);
  291. FIELD_SET(*this, FIX::TriggerAction);
  292. FIELD_SET(*this, FIX::TriggerPrice);
  293. FIELD_SET(*this, FIX::TriggerSymbol);
  294. FIELD_SET(*this, FIX::TriggerSecurityID);
  295. FIELD_SET(*this, FIX::TriggerSecurityIDSource);
  296. FIELD_SET(*this, FIX::TriggerSecurityDesc);
  297. FIELD_SET(*this, FIX::TriggerPriceType);
  298. FIELD_SET(*this, FIX::TriggerPriceTypeScope);
  299. FIELD_SET(*this, FIX::TriggerPriceDirection);
  300. FIELD_SET(*this, FIX::TriggerNewPrice);
  301. FIELD_SET(*this, FIX::TriggerOrderType);
  302. FIELD_SET(*this, FIX::TriggerNewQty);
  303. FIELD_SET(*this, FIX::TriggerTradingSessionID);
  304. FIELD_SET(*this, FIX::TriggerTradingSessionSubID);
  305. FIELD_SET(*this, FIX::Spread);
  306. FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
  307. FIELD_SET(*this, FIX::BenchmarkCurveName);
  308. FIELD_SET(*this, FIX::BenchmarkCurvePoint);
  309. FIELD_SET(*this, FIX::BenchmarkPrice);
  310. FIELD_SET(*this, FIX::BenchmarkPriceType);
  311. FIELD_SET(*this, FIX::BenchmarkSecurityID);
  312. FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
  313. FIELD_SET(*this, FIX::YieldType);
  314. FIELD_SET(*this, FIX::Yield);
  315. FIELD_SET(*this, FIX::YieldCalcDate);
  316. FIELD_SET(*this, FIX::YieldRedemptionDate);
  317. FIELD_SET(*this, FIX::YieldRedemptionPrice);
  318. FIELD_SET(*this, FIX::YieldRedemptionPriceType);
  319. FIELD_SET(*this, FIX::Currency);
  320. FIELD_SET(*this, FIX::ComplianceID);
  321. FIELD_SET(*this, FIX::SolicitedFlag);
  322. FIELD_SET(*this, FIX::IOIID);
  323. FIELD_SET(*this, FIX::QuoteID);
  324. FIELD_SET(*this, FIX::RefOrderID);
  325. FIELD_SET(*this, FIX::RefOrderIDSource);
  326. FIELD_SET(*this, FIX::TimeInForce);
  327. FIELD_SET(*this, FIX::EffectiveTime);
  328. FIELD_SET(*this, FIX::ExpireDate);
  329. FIELD_SET(*this, FIX::ExpireTime);
  330. FIELD_SET(*this, FIX::GTBookingInst);
  331. FIELD_SET(*this, FIX::Commission);
  332. FIELD_SET(*this, FIX::CommType);
  333. FIELD_SET(*this, FIX::CommCurrency);
  334. FIELD_SET(*this, FIX::FundRenewWaiv);
  335. FIELD_SET(*this, FIX::OrderCapacity);
  336. FIELD_SET(*this, FIX::OrderRestrictions);
  337. FIELD_SET(*this, FIX::PreTradeAnonymity);
  338. FIELD_SET(*this, FIX::CustOrderCapacity);
  339. FIELD_SET(*this, FIX::ForexReq);
  340. FIELD_SET(*this, FIX::SettlCurrency);
  341. FIELD_SET(*this, FIX::BookingType);
  342. FIELD_SET(*this, FIX::Text);
  343. FIELD_SET(*this, FIX::EncodedTextLen);
  344. FIELD_SET(*this, FIX::EncodedText);
  345. FIELD_SET(*this, FIX::SettlDate2);
  346. FIELD_SET(*this, FIX::OrderQty2);
  347. FIELD_SET(*this, FIX::Price2);
  348. FIELD_SET(*this, FIX::PositionEffect);
  349. FIELD_SET(*this, FIX::CoveredOrUncovered);
  350. FIELD_SET(*this, FIX::MaxShow);
  351. FIELD_SET(*this, FIX::PegOffsetValue);
  352. FIELD_SET(*this, FIX::PegPriceType);
  353. FIELD_SET(*this, FIX::PegMoveType);
  354. FIELD_SET(*this, FIX::PegOffsetType);
  355. FIELD_SET(*this, FIX::PegLimitType);
  356. FIELD_SET(*this, FIX::PegRoundDirection);
  357. FIELD_SET(*this, FIX::PegScope);
  358. FIELD_SET(*this, FIX::PegSecurityIDSource);
  359. FIELD_SET(*this, FIX::PegSecurityID);
  360. FIELD_SET(*this, FIX::PegSymbol);
  361. FIELD_SET(*this, FIX::PegSecurityDesc);
  362. FIELD_SET(*this, FIX::DiscretionInst);
  363. FIELD_SET(*this, FIX::DiscretionOffsetValue);
  364. FIELD_SET(*this, FIX::DiscretionMoveType);
  365. FIELD_SET(*this, FIX::DiscretionOffsetType);
  366. FIELD_SET(*this, FIX::DiscretionLimitType);
  367. FIELD_SET(*this, FIX::DiscretionRoundDirection);
  368. FIELD_SET(*this, FIX::DiscretionScope);
  369. FIELD_SET(*this, FIX::TargetStrategy);
  370. FIELD_SET(*this, FIX::NoStrategyParameters);
  371. class NoStrategyParameters: public FIX::Group
  372. {
  373. public:
  374. NoStrategyParameters() : FIX::Group(957,958,FIX::message_order(958,959,960,0)) {}
  375. FIELD_SET(*this, FIX::StrategyParameterName);
  376. FIELD_SET(*this, FIX::StrategyParameterType);
  377. FIELD_SET(*this, FIX::StrategyParameterValue);
  378. };
  379. FIELD_SET(*this, FIX::TargetStrategyParameters);
  380. FIELD_SET(*this, FIX::ParticipationRate);
  381. FIELD_SET(*this, FIX::Designation);
  382. };
  383. };
  384. }
  385. #endif