ExecutionReport.h 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693
  1. #ifndef FIX50SP2_EXECUTIONREPORT_H
  2. #define FIX50SP2_EXECUTIONREPORT_H
  3. #include "Message.h"
  4. namespace FIX50SP2
  5. {
  6. class ExecutionReport : public Message
  7. {
  8. public:
  9. ExecutionReport() : Message(MsgType()) {}
  10. ExecutionReport(const FIX::Message& m) : Message(m) {}
  11. ExecutionReport(const Message& m) : Message(m) {}
  12. ExecutionReport(const ExecutionReport& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("8"); }
  14. ExecutionReport(
  15. const FIX::OrderID& aOrderID,
  16. const FIX::ExecID& aExecID,
  17. const FIX::ExecType& aExecType,
  18. const FIX::OrdStatus& aOrdStatus,
  19. const FIX::Side& aSide,
  20. const FIX::LeavesQty& aLeavesQty,
  21. const FIX::CumQty& aCumQty )
  22. : Message(MsgType())
  23. {
  24. set(aOrderID);
  25. set(aExecID);
  26. set(aExecType);
  27. set(aOrdStatus);
  28. set(aSide);
  29. set(aLeavesQty);
  30. set(aCumQty);
  31. }
  32. FIELD_SET(*this, FIX::ApplID);
  33. FIELD_SET(*this, FIX::ApplSeqNum);
  34. FIELD_SET(*this, FIX::ApplLastSeqNum);
  35. FIELD_SET(*this, FIX::ApplResendFlag);
  36. FIELD_SET(*this, FIX::OrderID);
  37. FIELD_SET(*this, FIX::SecondaryOrderID);
  38. FIELD_SET(*this, FIX::SecondaryClOrdID);
  39. FIELD_SET(*this, FIX::SecondaryExecID);
  40. FIELD_SET(*this, FIX::ClOrdID);
  41. FIELD_SET(*this, FIX::OrigClOrdID);
  42. FIELD_SET(*this, FIX::ClOrdLinkID);
  43. FIELD_SET(*this, FIX::QuoteRespID);
  44. FIELD_SET(*this, FIX::OrdStatusReqID);
  45. FIELD_SET(*this, FIX::MassStatusReqID);
  46. FIELD_SET(*this, FIX::HostCrossID);
  47. FIELD_SET(*this, FIX::TotNumReports);
  48. FIELD_SET(*this, FIX::LastRptRequested);
  49. FIELD_SET(*this, FIX::NoPartyIDs);
  50. class NoPartyIDs: public FIX::Group
  51. {
  52. public:
  53. NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
  54. FIELD_SET(*this, FIX::PartyID);
  55. FIELD_SET(*this, FIX::PartyIDSource);
  56. FIELD_SET(*this, FIX::PartyRole);
  57. FIELD_SET(*this, FIX::NoPartySubIDs);
  58. class NoPartySubIDs: public FIX::Group
  59. {
  60. public:
  61. NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
  62. FIELD_SET(*this, FIX::PartySubID);
  63. FIELD_SET(*this, FIX::PartySubIDType);
  64. };
  65. };
  66. FIELD_SET(*this, FIX::TradeOriginationDate);
  67. FIELD_SET(*this, FIX::NoContraBrokers);
  68. class NoContraBrokers: public FIX::Group
  69. {
  70. public:
  71. NoContraBrokers() : FIX::Group(382,375,FIX::message_order(375,337,437,438,655,0)) {}
  72. FIELD_SET(*this, FIX::ContraBroker);
  73. FIELD_SET(*this, FIX::ContraTrader);
  74. FIELD_SET(*this, FIX::ContraTradeQty);
  75. FIELD_SET(*this, FIX::ContraTradeTime);
  76. FIELD_SET(*this, FIX::ContraLegRefID);
  77. };
  78. FIELD_SET(*this, FIX::ListID);
  79. FIELD_SET(*this, FIX::CrossID);
  80. FIELD_SET(*this, FIX::OrigCrossID);
  81. FIELD_SET(*this, FIX::CrossType);
  82. FIELD_SET(*this, FIX::TrdMatchID);
  83. FIELD_SET(*this, FIX::ExecID);
  84. FIELD_SET(*this, FIX::ExecRefID);
  85. FIELD_SET(*this, FIX::ExecType);
  86. FIELD_SET(*this, FIX::OrdStatus);
  87. FIELD_SET(*this, FIX::WorkingIndicator);
  88. FIELD_SET(*this, FIX::OrdRejReason);
  89. FIELD_SET(*this, FIX::ExecRestatementReason);
  90. FIELD_SET(*this, FIX::Account);
  91. FIELD_SET(*this, FIX::AcctIDSource);
  92. FIELD_SET(*this, FIX::AccountType);
  93. FIELD_SET(*this, FIX::DayBookingInst);
  94. FIELD_SET(*this, FIX::BookingUnit);
  95. FIELD_SET(*this, FIX::PreallocMethod);
  96. FIELD_SET(*this, FIX::AllocID);
  97. FIELD_SET(*this, FIX::NoAllocs);
  98. class NoAllocs: public FIX::Group
  99. {
  100. public:
  101. NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,539,80,0)) {}
  102. FIELD_SET(*this, FIX::AllocAccount);
  103. FIELD_SET(*this, FIX::AllocAcctIDSource);
  104. FIELD_SET(*this, FIX::AllocSettlCurrency);
  105. FIELD_SET(*this, FIX::IndividualAllocID);
  106. FIELD_SET(*this, FIX::NoNestedPartyIDs);
  107. class NoNestedPartyIDs: public FIX::Group
  108. {
  109. public:
  110. NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
  111. FIELD_SET(*this, FIX::NestedPartyID);
  112. FIELD_SET(*this, FIX::NestedPartyIDSource);
  113. FIELD_SET(*this, FIX::NestedPartyRole);
  114. FIELD_SET(*this, FIX::NoNestedPartySubIDs);
  115. class NoNestedPartySubIDs: public FIX::Group
  116. {
  117. public:
  118. NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
  119. FIELD_SET(*this, FIX::NestedPartySubID);
  120. FIELD_SET(*this, FIX::NestedPartySubIDType);
  121. };
  122. };
  123. FIELD_SET(*this, FIX::AllocQty);
  124. };
  125. FIELD_SET(*this, FIX::SettlType);
  126. FIELD_SET(*this, FIX::SettlDate);
  127. FIELD_SET(*this, FIX::MatchType);
  128. FIELD_SET(*this, FIX::OrderCategory);
  129. FIELD_SET(*this, FIX::CashMargin);
  130. FIELD_SET(*this, FIX::ClearingFeeIndicator);
  131. FIELD_SET(*this, FIX::Symbol);
  132. FIELD_SET(*this, FIX::SymbolSfx);
  133. FIELD_SET(*this, FIX::SecurityID);
  134. FIELD_SET(*this, FIX::SecurityIDSource);
  135. FIELD_SET(*this, FIX::Product);
  136. FIELD_SET(*this, FIX::ProductComplex);
  137. FIELD_SET(*this, FIX::SecurityGroup);
  138. FIELD_SET(*this, FIX::CFICode);
  139. FIELD_SET(*this, FIX::SecurityType);
  140. FIELD_SET(*this, FIX::SecuritySubType);
  141. FIELD_SET(*this, FIX::MaturityMonthYear);
  142. FIELD_SET(*this, FIX::MaturityDate);
  143. FIELD_SET(*this, FIX::MaturityTime);
  144. FIELD_SET(*this, FIX::SettleOnOpenFlag);
  145. FIELD_SET(*this, FIX::InstrmtAssignmentMethod);
  146. FIELD_SET(*this, FIX::SecurityStatus);
  147. FIELD_SET(*this, FIX::CouponPaymentDate);
  148. FIELD_SET(*this, FIX::IssueDate);
  149. FIELD_SET(*this, FIX::RepoCollateralSecurityType);
  150. FIELD_SET(*this, FIX::RepurchaseTerm);
  151. FIELD_SET(*this, FIX::RepurchaseRate);
  152. FIELD_SET(*this, FIX::Factor);
  153. FIELD_SET(*this, FIX::CreditRating);
  154. FIELD_SET(*this, FIX::InstrRegistry);
  155. FIELD_SET(*this, FIX::CountryOfIssue);
  156. FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
  157. FIELD_SET(*this, FIX::LocaleOfIssue);
  158. FIELD_SET(*this, FIX::RedemptionDate);
  159. FIELD_SET(*this, FIX::StrikePrice);
  160. FIELD_SET(*this, FIX::StrikeCurrency);
  161. FIELD_SET(*this, FIX::StrikeMultiplier);
  162. FIELD_SET(*this, FIX::StrikeValue);
  163. FIELD_SET(*this, FIX::OptAttribute);
  164. FIELD_SET(*this, FIX::ContractMultiplier);
  165. FIELD_SET(*this, FIX::MinPriceIncrement);
  166. FIELD_SET(*this, FIX::MinPriceIncrementAmount);
  167. FIELD_SET(*this, FIX::UnitOfMeasure);
  168. FIELD_SET(*this, FIX::UnitOfMeasureQty);
  169. FIELD_SET(*this, FIX::PriceUnitOfMeasure);
  170. FIELD_SET(*this, FIX::PriceUnitOfMeasureQty);
  171. FIELD_SET(*this, FIX::SettlMethod);
  172. FIELD_SET(*this, FIX::ExerciseStyle);
  173. FIELD_SET(*this, FIX::OptPayoutAmount);
  174. FIELD_SET(*this, FIX::PriceQuoteMethod);
  175. FIELD_SET(*this, FIX::ValuationMethod);
  176. FIELD_SET(*this, FIX::ListMethod);
  177. FIELD_SET(*this, FIX::CapPrice);
  178. FIELD_SET(*this, FIX::FloorPrice);
  179. FIELD_SET(*this, FIX::PutOrCall);
  180. FIELD_SET(*this, FIX::FlexibleIndicator);
  181. FIELD_SET(*this, FIX::FlexProductEligibilityIndicator);
  182. FIELD_SET(*this, FIX::TimeUnit);
  183. FIELD_SET(*this, FIX::CouponRate);
  184. FIELD_SET(*this, FIX::SecurityExchange);
  185. FIELD_SET(*this, FIX::PositionLimit);
  186. FIELD_SET(*this, FIX::NTPositionLimit);
  187. FIELD_SET(*this, FIX::Issuer);
  188. FIELD_SET(*this, FIX::EncodedIssuerLen);
  189. FIELD_SET(*this, FIX::EncodedIssuer);
  190. FIELD_SET(*this, FIX::SecurityDesc);
  191. FIELD_SET(*this, FIX::EncodedSecurityDescLen);
  192. FIELD_SET(*this, FIX::EncodedSecurityDesc);
  193. FIELD_SET(*this, FIX::Pool);
  194. FIELD_SET(*this, FIX::ContractSettlMonth);
  195. FIELD_SET(*this, FIX::CPProgram);
  196. FIELD_SET(*this, FIX::CPRegType);
  197. FIELD_SET(*this, FIX::DatedDate);
  198. FIELD_SET(*this, FIX::InterestAccrualDate);
  199. FIELD_SET(*this, FIX::ContractMultiplierUnit);
  200. FIELD_SET(*this, FIX::FlowScheduleType);
  201. FIELD_SET(*this, FIX::RestructuringType);
  202. FIELD_SET(*this, FIX::Seniority);
  203. FIELD_SET(*this, FIX::NotionalPercentageOutstanding);
  204. FIELD_SET(*this, FIX::OriginalNotionalPercentageOutstanding);
  205. FIELD_SET(*this, FIX::AttachmentPoint);
  206. FIELD_SET(*this, FIX::DetachmentPoint);
  207. FIELD_SET(*this, FIX::StrikePriceDeterminationMethod);
  208. FIELD_SET(*this, FIX::StrikePriceBoundaryMethod);
  209. FIELD_SET(*this, FIX::StrikePriceBoundaryPrecision);
  210. FIELD_SET(*this, FIX::UnderlyingPriceDeterminationMethod);
  211. FIELD_SET(*this, FIX::OptPayoutType);
  212. FIELD_SET(*this, FIX::AgreementDesc);
  213. FIELD_SET(*this, FIX::AgreementID);
  214. FIELD_SET(*this, FIX::AgreementDate);
  215. FIELD_SET(*this, FIX::AgreementCurrency);
  216. FIELD_SET(*this, FIX::TerminationType);
  217. FIELD_SET(*this, FIX::StartDate);
  218. FIELD_SET(*this, FIX::EndDate);
  219. FIELD_SET(*this, FIX::DeliveryType);
  220. FIELD_SET(*this, FIX::MarginRatio);
  221. FIELD_SET(*this, FIX::NoUnderlyings);
  222. class NoUnderlyings: public FIX::Group
  223. {
  224. public:
  225. NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,1213,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,998,1423,1424,1425,1000,1419,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,315,1437,1441,1453,1454,1455,1456,1459,1460,0)) {}
  226. FIELD_SET(*this, FIX::UnderlyingSymbol);
  227. FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
  228. FIELD_SET(*this, FIX::UnderlyingSecurityID);
  229. FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
  230. FIELD_SET(*this, FIX::UnderlyingProduct);
  231. FIELD_SET(*this, FIX::UnderlyingCFICode);
  232. FIELD_SET(*this, FIX::UnderlyingSecurityType);
  233. FIELD_SET(*this, FIX::UnderlyingSecuritySubType);
  234. FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
  235. FIELD_SET(*this, FIX::UnderlyingMaturityDate);
  236. FIELD_SET(*this, FIX::UnderlyingMaturityTime);
  237. FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
  238. FIELD_SET(*this, FIX::UnderlyingIssueDate);
  239. FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
  240. FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
  241. FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
  242. FIELD_SET(*this, FIX::UnderlyingFactor);
  243. FIELD_SET(*this, FIX::UnderlyingCreditRating);
  244. FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
  245. FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
  246. FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
  247. FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
  248. FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
  249. FIELD_SET(*this, FIX::UnderlyingStrikePrice);
  250. FIELD_SET(*this, FIX::UnderlyingStrikeCurrency);
  251. FIELD_SET(*this, FIX::UnderlyingOptAttribute);
  252. FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
  253. FIELD_SET(*this, FIX::UnderlyingUnitOfMeasure);
  254. FIELD_SET(*this, FIX::UnderlyingUnitOfMeasureQty);
  255. FIELD_SET(*this, FIX::UnderlyingPriceUnitOfMeasure);
  256. FIELD_SET(*this, FIX::UnderlyingPriceUnitOfMeasureQty);
  257. FIELD_SET(*this, FIX::UnderlyingTimeUnit);
  258. FIELD_SET(*this, FIX::UnderlyingExerciseStyle);
  259. FIELD_SET(*this, FIX::UnderlyingCouponRate);
  260. FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
  261. FIELD_SET(*this, FIX::UnderlyingIssuer);
  262. FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
  263. FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
  264. FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
  265. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
  266. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
  267. FIELD_SET(*this, FIX::UnderlyingCPProgram);
  268. FIELD_SET(*this, FIX::UnderlyingCPRegType);
  269. FIELD_SET(*this, FIX::UnderlyingAllocationPercent);
  270. FIELD_SET(*this, FIX::UnderlyingCurrency);
  271. FIELD_SET(*this, FIX::UnderlyingQty);
  272. FIELD_SET(*this, FIX::UnderlyingSettlementType);
  273. FIELD_SET(*this, FIX::UnderlyingCashAmount);
  274. FIELD_SET(*this, FIX::UnderlyingCashType);
  275. FIELD_SET(*this, FIX::UnderlyingPx);
  276. FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
  277. FIELD_SET(*this, FIX::UnderlyingEndPrice);
  278. FIELD_SET(*this, FIX::UnderlyingStartValue);
  279. FIELD_SET(*this, FIX::UnderlyingCurrentValue);
  280. FIELD_SET(*this, FIX::UnderlyingEndValue);
  281. FIELD_SET(*this, FIX::UnderlyingAdjustedQuantity);
  282. FIELD_SET(*this, FIX::UnderlyingFXRate);
  283. FIELD_SET(*this, FIX::UnderlyingFXRateCalc);
  284. FIELD_SET(*this, FIX::UnderlyingCapValue);
  285. FIELD_SET(*this, FIX::UnderlyingSettlMethod);
  286. FIELD_SET(*this, FIX::UnderlyingPutOrCall);
  287. FIELD_SET(*this, FIX::UnderlyingContractMultiplierUnit);
  288. FIELD_SET(*this, FIX::UnderlyingFlowScheduleType);
  289. FIELD_SET(*this, FIX::UnderlyingRestructuringType);
  290. FIELD_SET(*this, FIX::UnderlyingSeniority);
  291. FIELD_SET(*this, FIX::UnderlyingNotionalPercentageOutstanding);
  292. FIELD_SET(*this, FIX::UnderlyingOriginalNotionalPercentageOutstanding);
  293. FIELD_SET(*this, FIX::UnderlyingAttachmentPoint);
  294. FIELD_SET(*this, FIX::UnderlyingDetachmentPoint);
  295. };
  296. FIELD_SET(*this, FIX::Side);
  297. FIELD_SET(*this, FIX::NoStipulations);
  298. class NoStipulations: public FIX::Group
  299. {
  300. public:
  301. NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
  302. FIELD_SET(*this, FIX::StipulationType);
  303. FIELD_SET(*this, FIX::StipulationValue);
  304. };
  305. FIELD_SET(*this, FIX::QtyType);
  306. FIELD_SET(*this, FIX::OrderQty);
  307. FIELD_SET(*this, FIX::CashOrderQty);
  308. FIELD_SET(*this, FIX::OrderPercent);
  309. FIELD_SET(*this, FIX::RoundingDirection);
  310. FIELD_SET(*this, FIX::RoundingModulus);
  311. FIELD_SET(*this, FIX::LotType);
  312. FIELD_SET(*this, FIX::OrdType);
  313. FIELD_SET(*this, FIX::PriceType);
  314. FIELD_SET(*this, FIX::Price);
  315. FIELD_SET(*this, FIX::PriceProtectionScope);
  316. FIELD_SET(*this, FIX::StopPx);
  317. FIELD_SET(*this, FIX::TriggerType);
  318. FIELD_SET(*this, FIX::TriggerAction);
  319. FIELD_SET(*this, FIX::TriggerPrice);
  320. FIELD_SET(*this, FIX::TriggerSymbol);
  321. FIELD_SET(*this, FIX::TriggerSecurityID);
  322. FIELD_SET(*this, FIX::TriggerSecurityIDSource);
  323. FIELD_SET(*this, FIX::TriggerSecurityDesc);
  324. FIELD_SET(*this, FIX::TriggerPriceType);
  325. FIELD_SET(*this, FIX::TriggerPriceTypeScope);
  326. FIELD_SET(*this, FIX::TriggerPriceDirection);
  327. FIELD_SET(*this, FIX::TriggerNewPrice);
  328. FIELD_SET(*this, FIX::TriggerOrderType);
  329. FIELD_SET(*this, FIX::TriggerNewQty);
  330. FIELD_SET(*this, FIX::TriggerTradingSessionID);
  331. FIELD_SET(*this, FIX::TriggerTradingSessionSubID);
  332. FIELD_SET(*this, FIX::PegOffsetValue);
  333. FIELD_SET(*this, FIX::PegPriceType);
  334. FIELD_SET(*this, FIX::PegMoveType);
  335. FIELD_SET(*this, FIX::PegOffsetType);
  336. FIELD_SET(*this, FIX::PegLimitType);
  337. FIELD_SET(*this, FIX::PegRoundDirection);
  338. FIELD_SET(*this, FIX::PegScope);
  339. FIELD_SET(*this, FIX::PegSecurityIDSource);
  340. FIELD_SET(*this, FIX::PegSecurityID);
  341. FIELD_SET(*this, FIX::PegSymbol);
  342. FIELD_SET(*this, FIX::PegSecurityDesc);
  343. FIELD_SET(*this, FIX::DiscretionInst);
  344. FIELD_SET(*this, FIX::DiscretionOffsetValue);
  345. FIELD_SET(*this, FIX::DiscretionMoveType);
  346. FIELD_SET(*this, FIX::DiscretionOffsetType);
  347. FIELD_SET(*this, FIX::DiscretionLimitType);
  348. FIELD_SET(*this, FIX::DiscretionRoundDirection);
  349. FIELD_SET(*this, FIX::DiscretionScope);
  350. FIELD_SET(*this, FIX::PeggedPrice);
  351. FIELD_SET(*this, FIX::PeggedRefPrice);
  352. FIELD_SET(*this, FIX::DiscretionPrice);
  353. FIELD_SET(*this, FIX::TargetStrategy);
  354. FIELD_SET(*this, FIX::NoStrategyParameters);
  355. class NoStrategyParameters: public FIX::Group
  356. {
  357. public:
  358. NoStrategyParameters() : FIX::Group(957,958,FIX::message_order(958,959,960,0)) {}
  359. FIELD_SET(*this, FIX::StrategyParameterName);
  360. FIELD_SET(*this, FIX::StrategyParameterType);
  361. FIELD_SET(*this, FIX::StrategyParameterValue);
  362. };
  363. FIELD_SET(*this, FIX::TargetStrategyParameters);
  364. FIELD_SET(*this, FIX::ParticipationRate);
  365. FIELD_SET(*this, FIX::TargetStrategyPerformance);
  366. FIELD_SET(*this, FIX::Currency);
  367. FIELD_SET(*this, FIX::ComplianceID);
  368. FIELD_SET(*this, FIX::SolicitedFlag);
  369. FIELD_SET(*this, FIX::TimeInForce);
  370. FIELD_SET(*this, FIX::EffectiveTime);
  371. FIELD_SET(*this, FIX::ExpireDate);
  372. FIELD_SET(*this, FIX::ExpireTime);
  373. FIELD_SET(*this, FIX::ExecInst);
  374. FIELD_SET(*this, FIX::AggressorIndicator);
  375. FIELD_SET(*this, FIX::OrderCapacity);
  376. FIELD_SET(*this, FIX::OrderRestrictions);
  377. FIELD_SET(*this, FIX::PreTradeAnonymity);
  378. FIELD_SET(*this, FIX::CustOrderCapacity);
  379. FIELD_SET(*this, FIX::LastQty);
  380. FIELD_SET(*this, FIX::CalculatedCcyLastQty);
  381. FIELD_SET(*this, FIX::LastSwapPoints);
  382. FIELD_SET(*this, FIX::UnderlyingLastQty);
  383. FIELD_SET(*this, FIX::LastPx);
  384. FIELD_SET(*this, FIX::UnderlyingLastPx);
  385. FIELD_SET(*this, FIX::LastParPx);
  386. FIELD_SET(*this, FIX::LastSpotRate);
  387. FIELD_SET(*this, FIX::LastForwardPoints);
  388. FIELD_SET(*this, FIX::LastMkt);
  389. FIELD_SET(*this, FIX::TradingSessionID);
  390. FIELD_SET(*this, FIX::TradingSessionSubID);
  391. FIELD_SET(*this, FIX::TimeBracket);
  392. FIELD_SET(*this, FIX::LastCapacity);
  393. FIELD_SET(*this, FIX::LeavesQty);
  394. FIELD_SET(*this, FIX::CumQty);
  395. FIELD_SET(*this, FIX::AvgPx);
  396. FIELD_SET(*this, FIX::DayOrderQty);
  397. FIELD_SET(*this, FIX::DayCumQty);
  398. FIELD_SET(*this, FIX::DayAvgPx);
  399. FIELD_SET(*this, FIX::TotNoFills);
  400. FIELD_SET(*this, FIX::LastFragment);
  401. FIELD_SET(*this, FIX::NoFills);
  402. class NoFills: public FIX::Group
  403. {
  404. public:
  405. NoFills() : FIX::Group(1362,1363,FIX::message_order(1363,1364,1365,1414,1443,0)) {}
  406. FIELD_SET(*this, FIX::FillExecID);
  407. FIELD_SET(*this, FIX::FillPx);
  408. FIELD_SET(*this, FIX::FillQty);
  409. FIELD_SET(*this, FIX::NoNested4PartyIDs);
  410. class NoNested4PartyIDs: public FIX::Group
  411. {
  412. public:
  413. NoNested4PartyIDs() : FIX::Group(1414,1415,FIX::message_order(1415,1416,1417,1413,0)) {}
  414. FIELD_SET(*this, FIX::Nested4PartyID);
  415. FIELD_SET(*this, FIX::Nested4PartyIDSource);
  416. FIELD_SET(*this, FIX::Nested4PartyRole);
  417. FIELD_SET(*this, FIX::NoNested4PartySubIDs);
  418. class NoNested4PartySubIDs: public FIX::Group
  419. {
  420. public:
  421. NoNested4PartySubIDs() : FIX::Group(1413,1412,FIX::message_order(1412,1411,0)) {}
  422. FIELD_SET(*this, FIX::Nested4PartySubID);
  423. FIELD_SET(*this, FIX::Nested4PartySubIDType);
  424. };
  425. };
  426. FIELD_SET(*this, FIX::FillLiquidityInd);
  427. };
  428. FIELD_SET(*this, FIX::GTBookingInst);
  429. FIELD_SET(*this, FIX::TradeDate);
  430. FIELD_SET(*this, FIX::TransactTime);
  431. FIELD_SET(*this, FIX::ReportToExch);
  432. FIELD_SET(*this, FIX::Commission);
  433. FIELD_SET(*this, FIX::CommType);
  434. FIELD_SET(*this, FIX::CommCurrency);
  435. FIELD_SET(*this, FIX::FundRenewWaiv);
  436. FIELD_SET(*this, FIX::Spread);
  437. FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
  438. FIELD_SET(*this, FIX::BenchmarkCurveName);
  439. FIELD_SET(*this, FIX::BenchmarkCurvePoint);
  440. FIELD_SET(*this, FIX::BenchmarkPrice);
  441. FIELD_SET(*this, FIX::BenchmarkPriceType);
  442. FIELD_SET(*this, FIX::BenchmarkSecurityID);
  443. FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
  444. FIELD_SET(*this, FIX::YieldType);
  445. FIELD_SET(*this, FIX::Yield);
  446. FIELD_SET(*this, FIX::YieldCalcDate);
  447. FIELD_SET(*this, FIX::YieldRedemptionDate);
  448. FIELD_SET(*this, FIX::YieldRedemptionPrice);
  449. FIELD_SET(*this, FIX::YieldRedemptionPriceType);
  450. FIELD_SET(*this, FIX::GrossTradeAmt);
  451. FIELD_SET(*this, FIX::NumDaysInterest);
  452. FIELD_SET(*this, FIX::ExDate);
  453. FIELD_SET(*this, FIX::AccruedInterestRate);
  454. FIELD_SET(*this, FIX::AccruedInterestAmt);
  455. FIELD_SET(*this, FIX::InterestAtMaturity);
  456. FIELD_SET(*this, FIX::EndAccruedInterestAmt);
  457. FIELD_SET(*this, FIX::StartCash);
  458. FIELD_SET(*this, FIX::EndCash);
  459. FIELD_SET(*this, FIX::TradedFlatSwitch);
  460. FIELD_SET(*this, FIX::BasisFeatureDate);
  461. FIELD_SET(*this, FIX::BasisFeaturePrice);
  462. FIELD_SET(*this, FIX::Concession);
  463. FIELD_SET(*this, FIX::TotalTakedown);
  464. FIELD_SET(*this, FIX::NetMoney);
  465. FIELD_SET(*this, FIX::SettlCurrAmt);
  466. FIELD_SET(*this, FIX::SettlCurrency);
  467. FIELD_SET(*this, FIX::SettlCurrFxRate);
  468. FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
  469. FIELD_SET(*this, FIX::HandlInst);
  470. FIELD_SET(*this, FIX::MinQty);
  471. FIELD_SET(*this, FIX::MatchIncrement);
  472. FIELD_SET(*this, FIX::MaxPriceLevels);
  473. FIELD_SET(*this, FIX::DisplayQty);
  474. FIELD_SET(*this, FIX::SecondaryDisplayQty);
  475. FIELD_SET(*this, FIX::DisplayWhen);
  476. FIELD_SET(*this, FIX::DisplayMethod);
  477. FIELD_SET(*this, FIX::DisplayLowQty);
  478. FIELD_SET(*this, FIX::DisplayHighQty);
  479. FIELD_SET(*this, FIX::DisplayMinIncr);
  480. FIELD_SET(*this, FIX::RefreshQty);
  481. FIELD_SET(*this, FIX::MaxFloor);
  482. FIELD_SET(*this, FIX::PositionEffect);
  483. FIELD_SET(*this, FIX::MaxShow);
  484. FIELD_SET(*this, FIX::BookingType);
  485. FIELD_SET(*this, FIX::Text);
  486. FIELD_SET(*this, FIX::EncodedTextLen);
  487. FIELD_SET(*this, FIX::EncodedText);
  488. FIELD_SET(*this, FIX::SettlDate2);
  489. FIELD_SET(*this, FIX::OrderQty2);
  490. FIELD_SET(*this, FIX::LastForwardPoints2);
  491. FIELD_SET(*this, FIX::MultiLegReportingType);
  492. FIELD_SET(*this, FIX::CancellationRights);
  493. FIELD_SET(*this, FIX::MoneyLaunderingStatus);
  494. FIELD_SET(*this, FIX::RegistID);
  495. FIELD_SET(*this, FIX::Designation);
  496. FIELD_SET(*this, FIX::TransBkdTime);
  497. FIELD_SET(*this, FIX::ExecValuationPoint);
  498. FIELD_SET(*this, FIX::ExecPriceType);
  499. FIELD_SET(*this, FIX::ExecPriceAdjustment);
  500. FIELD_SET(*this, FIX::PriorityIndicator);
  501. FIELD_SET(*this, FIX::PriceImprovement);
  502. FIELD_SET(*this, FIX::LastLiquidityInd);
  503. FIELD_SET(*this, FIX::NoContAmts);
  504. class NoContAmts: public FIX::Group
  505. {
  506. public:
  507. NoContAmts() : FIX::Group(518,519,FIX::message_order(519,520,521,0)) {}
  508. FIELD_SET(*this, FIX::ContAmtType);
  509. FIELD_SET(*this, FIX::ContAmtValue);
  510. FIELD_SET(*this, FIX::ContAmtCurr);
  511. };
  512. FIELD_SET(*this, FIX::NoLegs);
  513. class NoLegs: public FIX::Group
  514. {
  515. public:
  516. NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,1212,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,999,1224,1421,1422,1001,1420,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,1358,1017,1436,1440,687,685,690,683,1366,670,564,565,948,654,587,588,637,675,1073,1074,1075,1379,1381,1383,1384,1418,0)) {}
  517. FIELD_SET(*this, FIX::LegSymbol);
  518. FIELD_SET(*this, FIX::LegSymbolSfx);
  519. FIELD_SET(*this, FIX::LegSecurityID);
  520. FIELD_SET(*this, FIX::LegSecurityIDSource);
  521. FIELD_SET(*this, FIX::LegProduct);
  522. FIELD_SET(*this, FIX::LegCFICode);
  523. FIELD_SET(*this, FIX::LegSecurityType);
  524. FIELD_SET(*this, FIX::LegSecuritySubType);
  525. FIELD_SET(*this, FIX::LegMaturityMonthYear);
  526. FIELD_SET(*this, FIX::LegMaturityDate);
  527. FIELD_SET(*this, FIX::LegMaturityTime);
  528. FIELD_SET(*this, FIX::LegCouponPaymentDate);
  529. FIELD_SET(*this, FIX::LegIssueDate);
  530. FIELD_SET(*this, FIX::LegRepoCollateralSecurityType);
  531. FIELD_SET(*this, FIX::LegRepurchaseTerm);
  532. FIELD_SET(*this, FIX::LegRepurchaseRate);
  533. FIELD_SET(*this, FIX::LegFactor);
  534. FIELD_SET(*this, FIX::LegCreditRating);
  535. FIELD_SET(*this, FIX::LegInstrRegistry);
  536. FIELD_SET(*this, FIX::LegCountryOfIssue);
  537. FIELD_SET(*this, FIX::LegStateOrProvinceOfIssue);
  538. FIELD_SET(*this, FIX::LegLocaleOfIssue);
  539. FIELD_SET(*this, FIX::LegRedemptionDate);
  540. FIELD_SET(*this, FIX::LegStrikePrice);
  541. FIELD_SET(*this, FIX::LegStrikeCurrency);
  542. FIELD_SET(*this, FIX::LegOptAttribute);
  543. FIELD_SET(*this, FIX::LegContractMultiplier);
  544. FIELD_SET(*this, FIX::LegUnitOfMeasure);
  545. FIELD_SET(*this, FIX::LegUnitOfMeasureQty);
  546. FIELD_SET(*this, FIX::LegPriceUnitOfMeasure);
  547. FIELD_SET(*this, FIX::LegPriceUnitOfMeasureQty);
  548. FIELD_SET(*this, FIX::LegTimeUnit);
  549. FIELD_SET(*this, FIX::LegExerciseStyle);
  550. FIELD_SET(*this, FIX::LegCouponRate);
  551. FIELD_SET(*this, FIX::LegSecurityExchange);
  552. FIELD_SET(*this, FIX::LegIssuer);
  553. FIELD_SET(*this, FIX::EncodedLegIssuerLen);
  554. FIELD_SET(*this, FIX::EncodedLegIssuer);
  555. FIELD_SET(*this, FIX::LegSecurityDesc);
  556. FIELD_SET(*this, FIX::EncodedLegSecurityDescLen);
  557. FIELD_SET(*this, FIX::EncodedLegSecurityDesc);
  558. FIELD_SET(*this, FIX::LegRatioQty);
  559. FIELD_SET(*this, FIX::LegSide);
  560. FIELD_SET(*this, FIX::LegCurrency);
  561. FIELD_SET(*this, FIX::LegPool);
  562. FIELD_SET(*this, FIX::LegDatedDate);
  563. FIELD_SET(*this, FIX::LegContractSettlMonth);
  564. FIELD_SET(*this, FIX::LegInterestAccrualDate);
  565. FIELD_SET(*this, FIX::LegPutOrCall);
  566. FIELD_SET(*this, FIX::LegOptionRatio);
  567. FIELD_SET(*this, FIX::LegContractMultiplierUnit);
  568. FIELD_SET(*this, FIX::LegFlowScheduleType);
  569. FIELD_SET(*this, FIX::LegQty);
  570. FIELD_SET(*this, FIX::LegOrderQty);
  571. FIELD_SET(*this, FIX::LegSwapType);
  572. FIELD_SET(*this, FIX::NoLegStipulations);
  573. class NoLegStipulations: public FIX::Group
  574. {
  575. public:
  576. NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
  577. FIELD_SET(*this, FIX::LegStipulationType);
  578. FIELD_SET(*this, FIX::LegStipulationValue);
  579. };
  580. FIELD_SET(*this, FIX::LegAllocID);
  581. FIELD_SET(*this, FIX::NoLegAllocs);
  582. class NoLegAllocs: public FIX::Group
  583. {
  584. public:
  585. NoLegAllocs() : FIX::Group(670,671,FIX::message_order(671,672,756,673,674,1367,0)) {}
  586. FIELD_SET(*this, FIX::LegAllocAccount);
  587. FIELD_SET(*this, FIX::LegIndividualAllocID);
  588. FIELD_SET(*this, FIX::NoNested2PartyIDs);
  589. class NoNested2PartyIDs: public FIX::Group
  590. {
  591. public:
  592. NoNested2PartyIDs() : FIX::Group(756,757,FIX::message_order(757,758,759,806,0)) {}
  593. FIELD_SET(*this, FIX::Nested2PartyID);
  594. FIELD_SET(*this, FIX::Nested2PartyIDSource);
  595. FIELD_SET(*this, FIX::Nested2PartyRole);
  596. FIELD_SET(*this, FIX::NoNested2PartySubIDs);
  597. class NoNested2PartySubIDs: public FIX::Group
  598. {
  599. public:
  600. NoNested2PartySubIDs() : FIX::Group(806,760,FIX::message_order(760,807,0)) {}
  601. FIELD_SET(*this, FIX::Nested2PartySubID);
  602. FIELD_SET(*this, FIX::Nested2PartySubIDType);
  603. };
  604. };
  605. FIELD_SET(*this, FIX::LegAllocQty);
  606. FIELD_SET(*this, FIX::LegAllocAcctIDSource);
  607. FIELD_SET(*this, FIX::LegAllocSettlCurrency);
  608. };
  609. FIELD_SET(*this, FIX::LegPositionEffect);
  610. FIELD_SET(*this, FIX::LegCoveredOrUncovered);
  611. FIELD_SET(*this, FIX::NoNested3PartyIDs);
  612. class NoNested3PartyIDs: public FIX::Group
  613. {
  614. public:
  615. NoNested3PartyIDs() : FIX::Group(948,949,FIX::message_order(949,950,951,952,0)) {}
  616. FIELD_SET(*this, FIX::Nested3PartyID);
  617. FIELD_SET(*this, FIX::Nested3PartyIDSource);
  618. FIELD_SET(*this, FIX::Nested3PartyRole);
  619. FIELD_SET(*this, FIX::NoNested3PartySubIDs);
  620. class NoNested3PartySubIDs: public FIX::Group
  621. {
  622. public:
  623. NoNested3PartySubIDs() : FIX::Group(952,953,FIX::message_order(953,954,0)) {}
  624. FIELD_SET(*this, FIX::Nested3PartySubID);
  625. FIELD_SET(*this, FIX::Nested3PartySubIDType);
  626. };
  627. };
  628. FIELD_SET(*this, FIX::LegRefID);
  629. FIELD_SET(*this, FIX::LegSettlType);
  630. FIELD_SET(*this, FIX::LegSettlDate);
  631. FIELD_SET(*this, FIX::LegLastPx);
  632. FIELD_SET(*this, FIX::LegSettlCurrency);
  633. FIELD_SET(*this, FIX::LegLastForwardPoints);
  634. FIELD_SET(*this, FIX::LegCalculatedCcyLastQty);
  635. FIELD_SET(*this, FIX::LegGrossTradeAmt);
  636. FIELD_SET(*this, FIX::LegVolatility);
  637. FIELD_SET(*this, FIX::LegDividendYield);
  638. FIELD_SET(*this, FIX::LegCurrencyRatio);
  639. FIELD_SET(*this, FIX::LegExecInst);
  640. FIELD_SET(*this, FIX::LegLastQty);
  641. };
  642. FIELD_SET(*this, FIX::CopyMsgIndicator);
  643. FIELD_SET(*this, FIX::NoMiscFees);
  644. class NoMiscFees: public FIX::Group
  645. {
  646. public:
  647. NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
  648. FIELD_SET(*this, FIX::MiscFeeAmt);
  649. FIELD_SET(*this, FIX::MiscFeeCurr);
  650. FIELD_SET(*this, FIX::MiscFeeType);
  651. FIELD_SET(*this, FIX::MiscFeeBasis);
  652. };
  653. FIELD_SET(*this, FIX::DividendYield);
  654. FIELD_SET(*this, FIX::ManualOrderIndicator);
  655. FIELD_SET(*this, FIX::CustDirectedOrder);
  656. FIELD_SET(*this, FIX::ReceivedDeptID);
  657. FIELD_SET(*this, FIX::CustOrderHandlingInst);
  658. FIELD_SET(*this, FIX::OrderHandlingInstSource);
  659. FIELD_SET(*this, FIX::NoTrdRegTimestamps);
  660. class NoTrdRegTimestamps: public FIX::Group
  661. {
  662. public:
  663. NoTrdRegTimestamps() : FIX::Group(768,769,FIX::message_order(769,770,771,1033,1034,1035,0)) {}
  664. FIELD_SET(*this, FIX::TrdRegTimestamp);
  665. FIELD_SET(*this, FIX::TrdRegTimestampType);
  666. FIELD_SET(*this, FIX::TrdRegTimestampOrigin);
  667. FIELD_SET(*this, FIX::DeskType);
  668. FIELD_SET(*this, FIX::DeskTypeSource);
  669. FIELD_SET(*this, FIX::DeskOrderHandlingInst);
  670. };
  671. FIELD_SET(*this, FIX::Volatility);
  672. FIELD_SET(*this, FIX::TimeToExpiration);
  673. FIELD_SET(*this, FIX::RiskFreeRate);
  674. FIELD_SET(*this, FIX::PriceDelta);
  675. FIELD_SET(*this, FIX::NoRateSources);
  676. class NoRateSources: public FIX::Group
  677. {
  678. public:
  679. NoRateSources() : FIX::Group(1445,1446,FIX::message_order(1446,1447,1448,0)) {}
  680. FIELD_SET(*this, FIX::RateSource);
  681. FIELD_SET(*this, FIX::RateSourceType);
  682. FIELD_SET(*this, FIX::ReferencePage);
  683. };
  684. };
  685. }
  686. #endif