TradeCaptureReportAck.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. #ifndef FIX50_TRADECAPTUREREPORTACK_H
  2. #define FIX50_TRADECAPTUREREPORTACK_H
  3. #include "Message.h"
  4. namespace FIX50
  5. {
  6. class TradeCaptureReportAck : public Message
  7. {
  8. public:
  9. TradeCaptureReportAck() : Message(MsgType()) {}
  10. TradeCaptureReportAck(const FIX::Message& m) : Message(m) {}
  11. TradeCaptureReportAck(const Message& m) : Message(m) {}
  12. TradeCaptureReportAck(const TradeCaptureReportAck& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("AR"); }
  14. FIELD_SET(*this, FIX::TradeReportID);
  15. FIELD_SET(*this, FIX::TradeID);
  16. FIELD_SET(*this, FIX::SecondaryTradeID);
  17. FIELD_SET(*this, FIX::FirmTradeID);
  18. FIELD_SET(*this, FIX::SecondaryFirmTradeID);
  19. FIELD_SET(*this, FIX::TradeReportTransType);
  20. FIELD_SET(*this, FIX::TradeReportType);
  21. FIELD_SET(*this, FIX::TrdType);
  22. FIELD_SET(*this, FIX::TrdSubType);
  23. FIELD_SET(*this, FIX::SecondaryTrdType);
  24. FIELD_SET(*this, FIX::TradeHandlingInstr);
  25. FIELD_SET(*this, FIX::OrigTradeHandlingInstr);
  26. FIELD_SET(*this, FIX::OrigTradeDate);
  27. FIELD_SET(*this, FIX::OrigTradeID);
  28. FIELD_SET(*this, FIX::OrigSecondaryTradeID);
  29. FIELD_SET(*this, FIX::TransferReason);
  30. FIELD_SET(*this, FIX::NoRootPartyIDs);
  31. class NoRootPartyIDs: public FIX::Group
  32. {
  33. public:
  34. NoRootPartyIDs() : FIX::Group(1116,1117,FIX::message_order(1117,1118,1119,1120,0)) {}
  35. FIELD_SET(*this, FIX::RootPartyID);
  36. FIELD_SET(*this, FIX::RootPartyIDSource);
  37. FIELD_SET(*this, FIX::RootPartyRole);
  38. FIELD_SET(*this, FIX::NoRootPartySubIDs);
  39. class NoRootPartySubIDs: public FIX::Group
  40. {
  41. public:
  42. NoRootPartySubIDs() : FIX::Group(1120,1121,FIX::message_order(1121,1122,0)) {}
  43. FIELD_SET(*this, FIX::RootPartySubID);
  44. FIELD_SET(*this, FIX::RootPartySubIDType);
  45. };
  46. };
  47. FIELD_SET(*this, FIX::ExecType);
  48. FIELD_SET(*this, FIX::TradeReportRefID);
  49. FIELD_SET(*this, FIX::SecondaryTradeReportRefID);
  50. FIELD_SET(*this, FIX::TrdRptStatus);
  51. FIELD_SET(*this, FIX::TradeReportRejectReason);
  52. FIELD_SET(*this, FIX::SecondaryTradeReportID);
  53. FIELD_SET(*this, FIX::SubscriptionRequestType);
  54. FIELD_SET(*this, FIX::TradeLinkID);
  55. FIELD_SET(*this, FIX::TrdMatchID);
  56. FIELD_SET(*this, FIX::ExecID);
  57. FIELD_SET(*this, FIX::SecondaryExecID);
  58. FIELD_SET(*this, FIX::OrdStatus);
  59. FIELD_SET(*this, FIX::ExecRestatementReason);
  60. FIELD_SET(*this, FIX::PreviouslyReported);
  61. FIELD_SET(*this, FIX::PriceType);
  62. FIELD_SET(*this, FIX::UnderlyingTradingSessionID);
  63. FIELD_SET(*this, FIX::UnderlyingTradingSessionSubID);
  64. FIELD_SET(*this, FIX::SettlSessID);
  65. FIELD_SET(*this, FIX::SettlSessSubID);
  66. FIELD_SET(*this, FIX::QtyType);
  67. FIELD_SET(*this, FIX::LastQty);
  68. FIELD_SET(*this, FIX::LastPx);
  69. FIELD_SET(*this, FIX::Symbol);
  70. FIELD_SET(*this, FIX::SymbolSfx);
  71. FIELD_SET(*this, FIX::SecurityID);
  72. FIELD_SET(*this, FIX::SecurityIDSource);
  73. FIELD_SET(*this, FIX::Product);
  74. FIELD_SET(*this, FIX::CFICode);
  75. FIELD_SET(*this, FIX::SecurityType);
  76. FIELD_SET(*this, FIX::SecuritySubType);
  77. FIELD_SET(*this, FIX::MaturityMonthYear);
  78. FIELD_SET(*this, FIX::MaturityDate);
  79. FIELD_SET(*this, FIX::MaturityTime);
  80. FIELD_SET(*this, FIX::PutOrCall);
  81. FIELD_SET(*this, FIX::SettleOnOpenFlag);
  82. FIELD_SET(*this, FIX::InstrmtAssignmentMethod);
  83. FIELD_SET(*this, FIX::SecurityStatus);
  84. FIELD_SET(*this, FIX::CouponPaymentDate);
  85. FIELD_SET(*this, FIX::IssueDate);
  86. FIELD_SET(*this, FIX::RepoCollateralSecurityType);
  87. FIELD_SET(*this, FIX::RepurchaseTerm);
  88. FIELD_SET(*this, FIX::RepurchaseRate);
  89. FIELD_SET(*this, FIX::Factor);
  90. FIELD_SET(*this, FIX::CreditRating);
  91. FIELD_SET(*this, FIX::InstrRegistry);
  92. FIELD_SET(*this, FIX::CountryOfIssue);
  93. FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
  94. FIELD_SET(*this, FIX::LocaleOfIssue);
  95. FIELD_SET(*this, FIX::RedemptionDate);
  96. FIELD_SET(*this, FIX::StrikePrice);
  97. FIELD_SET(*this, FIX::StrikeCurrency);
  98. FIELD_SET(*this, FIX::StrikeMultiplier);
  99. FIELD_SET(*this, FIX::StrikeValue);
  100. FIELD_SET(*this, FIX::OptAttribute);
  101. FIELD_SET(*this, FIX::ContractMultiplier);
  102. FIELD_SET(*this, FIX::MinPriceIncrement);
  103. FIELD_SET(*this, FIX::UnitOfMeasure);
  104. FIELD_SET(*this, FIX::TimeUnit);
  105. FIELD_SET(*this, FIX::CouponRate);
  106. FIELD_SET(*this, FIX::SecurityExchange);
  107. FIELD_SET(*this, FIX::PositionLimit);
  108. FIELD_SET(*this, FIX::NTPositionLimit);
  109. FIELD_SET(*this, FIX::Issuer);
  110. FIELD_SET(*this, FIX::EncodedIssuerLen);
  111. FIELD_SET(*this, FIX::EncodedIssuer);
  112. FIELD_SET(*this, FIX::SecurityDesc);
  113. FIELD_SET(*this, FIX::EncodedSecurityDescLen);
  114. FIELD_SET(*this, FIX::EncodedSecurityDesc);
  115. FIELD_SET(*this, FIX::Pool);
  116. FIELD_SET(*this, FIX::ContractSettlMonth);
  117. FIELD_SET(*this, FIX::CPProgram);
  118. FIELD_SET(*this, FIX::CPRegType);
  119. FIELD_SET(*this, FIX::DatedDate);
  120. FIELD_SET(*this, FIX::InterestAccrualDate);
  121. FIELD_SET(*this, FIX::LastParPx);
  122. FIELD_SET(*this, FIX::CalculatedCcyLastQty);
  123. FIELD_SET(*this, FIX::LastSwapPoints);
  124. FIELD_SET(*this, FIX::LastSpotRate);
  125. FIELD_SET(*this, FIX::LastForwardPoints);
  126. FIELD_SET(*this, FIX::LastMkt);
  127. FIELD_SET(*this, FIX::TradeDate);
  128. FIELD_SET(*this, FIX::ClearingBusinessDate);
  129. FIELD_SET(*this, FIX::AvgPx);
  130. FIELD_SET(*this, FIX::AvgPxIndicator);
  131. FIELD_SET(*this, FIX::MultiLegReportingType);
  132. FIELD_SET(*this, FIX::TradeLegRefID);
  133. FIELD_SET(*this, FIX::TransactTime);
  134. FIELD_SET(*this, FIX::SettlType);
  135. FIELD_SET(*this, FIX::NoUnderlyings);
  136. class NoUnderlyings: public FIX::Group
  137. {
  138. public:
  139. 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)) {}
  140. FIELD_SET(*this, FIX::UnderlyingSymbol);
  141. FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
  142. FIELD_SET(*this, FIX::UnderlyingSecurityID);
  143. FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
  144. FIELD_SET(*this, FIX::UnderlyingProduct);
  145. FIELD_SET(*this, FIX::UnderlyingCFICode);
  146. FIELD_SET(*this, FIX::UnderlyingSecurityType);
  147. FIELD_SET(*this, FIX::UnderlyingSecuritySubType);
  148. FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
  149. FIELD_SET(*this, FIX::UnderlyingMaturityDate);
  150. FIELD_SET(*this, FIX::UnderlyingPutOrCall);
  151. FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
  152. FIELD_SET(*this, FIX::UnderlyingIssueDate);
  153. FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
  154. FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
  155. FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
  156. FIELD_SET(*this, FIX::UnderlyingFactor);
  157. FIELD_SET(*this, FIX::UnderlyingCreditRating);
  158. FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
  159. FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
  160. FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
  161. FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
  162. FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
  163. FIELD_SET(*this, FIX::UnderlyingStrikePrice);
  164. FIELD_SET(*this, FIX::UnderlyingStrikeCurrency);
  165. FIELD_SET(*this, FIX::UnderlyingOptAttribute);
  166. FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
  167. FIELD_SET(*this, FIX::UnderlyingUnitOfMeasure);
  168. FIELD_SET(*this, FIX::UnderlyingTimeUnit);
  169. FIELD_SET(*this, FIX::UnderlyingCouponRate);
  170. FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
  171. FIELD_SET(*this, FIX::UnderlyingIssuer);
  172. FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
  173. FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
  174. FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
  175. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
  176. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
  177. FIELD_SET(*this, FIX::UnderlyingCPProgram);
  178. FIELD_SET(*this, FIX::UnderlyingCPRegType);
  179. FIELD_SET(*this, FIX::UnderlyingAllocationPercent);
  180. FIELD_SET(*this, FIX::UnderlyingCurrency);
  181. FIELD_SET(*this, FIX::UnderlyingQty);
  182. FIELD_SET(*this, FIX::UnderlyingSettlementType);
  183. FIELD_SET(*this, FIX::UnderlyingCashAmount);
  184. FIELD_SET(*this, FIX::UnderlyingCashType);
  185. FIELD_SET(*this, FIX::UnderlyingPx);
  186. FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
  187. FIELD_SET(*this, FIX::UnderlyingEndPrice);
  188. FIELD_SET(*this, FIX::UnderlyingStartValue);
  189. FIELD_SET(*this, FIX::UnderlyingCurrentValue);
  190. FIELD_SET(*this, FIX::UnderlyingEndValue);
  191. FIELD_SET(*this, FIX::UnderlyingAdjustedQuantity);
  192. FIELD_SET(*this, FIX::UnderlyingFXRate);
  193. FIELD_SET(*this, FIX::UnderlyingFXRateCalc);
  194. FIELD_SET(*this, FIX::UnderlyingCapValue);
  195. FIELD_SET(*this, FIX::UnderlyingSettlMethod);
  196. };
  197. FIELD_SET(*this, FIX::MatchStatus);
  198. FIELD_SET(*this, FIX::MatchType);
  199. FIELD_SET(*this, FIX::CopyMsgIndicator);
  200. FIELD_SET(*this, FIX::PublishTrdIndicator);
  201. FIELD_SET(*this, FIX::ShortSaleReason);
  202. FIELD_SET(*this, FIX::NoLegs);
  203. class NoLegs: public FIX::Group
  204. {
  205. public:
  206. NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,999,1001,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,1017,687,690,990,683,564,565,539,654,566,587,588,637,675,1073,1074,1075,0)) {}
  207. FIELD_SET(*this, FIX::LegSymbol);
  208. FIELD_SET(*this, FIX::LegSymbolSfx);
  209. FIELD_SET(*this, FIX::LegSecurityID);
  210. FIELD_SET(*this, FIX::LegSecurityIDSource);
  211. FIELD_SET(*this, FIX::LegProduct);
  212. FIELD_SET(*this, FIX::LegCFICode);
  213. FIELD_SET(*this, FIX::LegSecurityType);
  214. FIELD_SET(*this, FIX::LegSecuritySubType);
  215. FIELD_SET(*this, FIX::LegMaturityMonthYear);
  216. FIELD_SET(*this, FIX::LegMaturityDate);
  217. FIELD_SET(*this, FIX::LegCouponPaymentDate);
  218. FIELD_SET(*this, FIX::LegIssueDate);
  219. FIELD_SET(*this, FIX::LegRepoCollateralSecurityType);
  220. FIELD_SET(*this, FIX::LegRepurchaseTerm);
  221. FIELD_SET(*this, FIX::LegRepurchaseRate);
  222. FIELD_SET(*this, FIX::LegFactor);
  223. FIELD_SET(*this, FIX::LegCreditRating);
  224. FIELD_SET(*this, FIX::LegInstrRegistry);
  225. FIELD_SET(*this, FIX::LegCountryOfIssue);
  226. FIELD_SET(*this, FIX::LegStateOrProvinceOfIssue);
  227. FIELD_SET(*this, FIX::LegLocaleOfIssue);
  228. FIELD_SET(*this, FIX::LegRedemptionDate);
  229. FIELD_SET(*this, FIX::LegStrikePrice);
  230. FIELD_SET(*this, FIX::LegStrikeCurrency);
  231. FIELD_SET(*this, FIX::LegOptAttribute);
  232. FIELD_SET(*this, FIX::LegContractMultiplier);
  233. FIELD_SET(*this, FIX::LegUnitOfMeasure);
  234. FIELD_SET(*this, FIX::LegTimeUnit);
  235. FIELD_SET(*this, FIX::LegCouponRate);
  236. FIELD_SET(*this, FIX::LegSecurityExchange);
  237. FIELD_SET(*this, FIX::LegIssuer);
  238. FIELD_SET(*this, FIX::EncodedLegIssuerLen);
  239. FIELD_SET(*this, FIX::EncodedLegIssuer);
  240. FIELD_SET(*this, FIX::LegSecurityDesc);
  241. FIELD_SET(*this, FIX::EncodedLegSecurityDescLen);
  242. FIELD_SET(*this, FIX::EncodedLegSecurityDesc);
  243. FIELD_SET(*this, FIX::LegRatioQty);
  244. FIELD_SET(*this, FIX::LegSide);
  245. FIELD_SET(*this, FIX::LegCurrency);
  246. FIELD_SET(*this, FIX::LegPool);
  247. FIELD_SET(*this, FIX::LegDatedDate);
  248. FIELD_SET(*this, FIX::LegContractSettlMonth);
  249. FIELD_SET(*this, FIX::LegInterestAccrualDate);
  250. FIELD_SET(*this, FIX::LegOptionRatio);
  251. FIELD_SET(*this, FIX::LegQty);
  252. FIELD_SET(*this, FIX::LegSwapType);
  253. FIELD_SET(*this, FIX::LegReportID);
  254. FIELD_SET(*this, FIX::NoLegStipulations);
  255. class NoLegStipulations: public FIX::Group
  256. {
  257. public:
  258. NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
  259. FIELD_SET(*this, FIX::LegStipulationType);
  260. FIELD_SET(*this, FIX::LegStipulationValue);
  261. };
  262. FIELD_SET(*this, FIX::LegPositionEffect);
  263. FIELD_SET(*this, FIX::LegCoveredOrUncovered);
  264. FIELD_SET(*this, FIX::NoNestedPartyIDs);
  265. class NoNestedPartyIDs: public FIX::Group
  266. {
  267. public:
  268. NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
  269. FIELD_SET(*this, FIX::NestedPartyID);
  270. FIELD_SET(*this, FIX::NestedPartyIDSource);
  271. FIELD_SET(*this, FIX::NestedPartyRole);
  272. FIELD_SET(*this, FIX::NoNestedPartySubIDs);
  273. class NoNestedPartySubIDs: public FIX::Group
  274. {
  275. public:
  276. NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
  277. FIELD_SET(*this, FIX::NestedPartySubID);
  278. FIELD_SET(*this, FIX::NestedPartySubIDType);
  279. };
  280. };
  281. FIELD_SET(*this, FIX::LegRefID);
  282. FIELD_SET(*this, FIX::LegPrice);
  283. FIELD_SET(*this, FIX::LegSettlType);
  284. FIELD_SET(*this, FIX::LegSettlDate);
  285. FIELD_SET(*this, FIX::LegLastPx);
  286. FIELD_SET(*this, FIX::LegSettlCurrency);
  287. FIELD_SET(*this, FIX::LegLastForwardPoints);
  288. FIELD_SET(*this, FIX::LegCalculatedCcyLastQty);
  289. FIELD_SET(*this, FIX::LegGrossTradeAmt);
  290. };
  291. FIELD_SET(*this, FIX::NoTrdRegTimestamps);
  292. class NoTrdRegTimestamps: public FIX::Group
  293. {
  294. public:
  295. NoTrdRegTimestamps() : FIX::Group(768,769,FIX::message_order(769,770,771,1033,1034,1035,0)) {}
  296. FIELD_SET(*this, FIX::TrdRegTimestamp);
  297. FIELD_SET(*this, FIX::TrdRegTimestampType);
  298. FIELD_SET(*this, FIX::TrdRegTimestampOrigin);
  299. FIELD_SET(*this, FIX::DeskType);
  300. FIELD_SET(*this, FIX::DeskTypeSource);
  301. FIELD_SET(*this, FIX::DeskOrderHandlingInst);
  302. };
  303. FIELD_SET(*this, FIX::ResponseTransportType);
  304. FIELD_SET(*this, FIX::ResponseDestination);
  305. FIELD_SET(*this, FIX::Text);
  306. FIELD_SET(*this, FIX::EncodedTextLen);
  307. FIELD_SET(*this, FIX::EncodedText);
  308. FIELD_SET(*this, FIX::AsOfIndicator);
  309. FIELD_SET(*this, FIX::ClearingFeeIndicator);
  310. FIELD_SET(*this, FIX::NoPosAmt);
  311. class NoPosAmt: public FIX::Group
  312. {
  313. public:
  314. NoPosAmt() : FIX::Group(753,707,FIX::message_order(707,708,1055,0)) {}
  315. FIELD_SET(*this, FIX::PosAmtType);
  316. FIELD_SET(*this, FIX::PosAmt);
  317. FIELD_SET(*this, FIX::PositionCurrency);
  318. };
  319. FIELD_SET(*this, FIX::TierCode);
  320. FIELD_SET(*this, FIX::MessageEventSource);
  321. FIELD_SET(*this, FIX::LastUpdateTime);
  322. FIELD_SET(*this, FIX::RndPx);
  323. FIELD_SET(*this, FIX::NoSides);
  324. class NoSides: public FIX::Group
  325. {
  326. public:
  327. NoSides() : FIX::Group(552,54,FIX::message_order(54,37,198,11,526,66,453,1,660,581,81,575,1093,576,578,579,821,15,376,377,528,529,582,40,18,483,336,625,943,12,13,479,497,157,230,158,159,738,920,921,922,238,237,118,119,120,155,156,77,752,518,232,136,825,826,591,70,78,1072,1057,1009,1005,1006,1007,83,1008,1016,0)) {}
  328. FIELD_SET(*this, FIX::Side);
  329. FIELD_SET(*this, FIX::OrderID);
  330. FIELD_SET(*this, FIX::SecondaryOrderID);
  331. FIELD_SET(*this, FIX::ClOrdID);
  332. FIELD_SET(*this, FIX::SecondaryClOrdID);
  333. FIELD_SET(*this, FIX::ListID);
  334. FIELD_SET(*this, FIX::NoPartyIDs);
  335. class NoPartyIDs: public FIX::Group
  336. {
  337. public:
  338. NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
  339. FIELD_SET(*this, FIX::PartyID);
  340. FIELD_SET(*this, FIX::PartyIDSource);
  341. FIELD_SET(*this, FIX::PartyRole);
  342. FIELD_SET(*this, FIX::NoPartySubIDs);
  343. class NoPartySubIDs: public FIX::Group
  344. {
  345. public:
  346. NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
  347. FIELD_SET(*this, FIX::PartySubID);
  348. FIELD_SET(*this, FIX::PartySubIDType);
  349. };
  350. };
  351. FIELD_SET(*this, FIX::Account);
  352. FIELD_SET(*this, FIX::AcctIDSource);
  353. FIELD_SET(*this, FIX::AccountType);
  354. FIELD_SET(*this, FIX::ProcessCode);
  355. FIELD_SET(*this, FIX::OddLot);
  356. FIELD_SET(*this, FIX::LotType);
  357. FIELD_SET(*this, FIX::NoClearingInstructions);
  358. class NoClearingInstructions: public FIX::Group
  359. {
  360. public:
  361. NoClearingInstructions() : FIX::Group(576,577,FIX::message_order(577,0)) {}
  362. FIELD_SET(*this, FIX::ClearingInstruction);
  363. };
  364. FIELD_SET(*this, FIX::TradeInputSource);
  365. FIELD_SET(*this, FIX::TradeInputDevice);
  366. FIELD_SET(*this, FIX::OrderInputDevice);
  367. FIELD_SET(*this, FIX::Currency);
  368. FIELD_SET(*this, FIX::ComplianceID);
  369. FIELD_SET(*this, FIX::SolicitedFlag);
  370. FIELD_SET(*this, FIX::OrderCapacity);
  371. FIELD_SET(*this, FIX::OrderRestrictions);
  372. FIELD_SET(*this, FIX::CustOrderCapacity);
  373. FIELD_SET(*this, FIX::OrdType);
  374. FIELD_SET(*this, FIX::ExecInst);
  375. FIELD_SET(*this, FIX::TransBkdTime);
  376. FIELD_SET(*this, FIX::TradingSessionID);
  377. FIELD_SET(*this, FIX::TradingSessionSubID);
  378. FIELD_SET(*this, FIX::TimeBracket);
  379. FIELD_SET(*this, FIX::Commission);
  380. FIELD_SET(*this, FIX::CommType);
  381. FIELD_SET(*this, FIX::CommCurrency);
  382. FIELD_SET(*this, FIX::FundRenewWaiv);
  383. FIELD_SET(*this, FIX::NumDaysInterest);
  384. FIELD_SET(*this, FIX::ExDate);
  385. FIELD_SET(*this, FIX::AccruedInterestRate);
  386. FIELD_SET(*this, FIX::AccruedInterestAmt);
  387. FIELD_SET(*this, FIX::InterestAtMaturity);
  388. FIELD_SET(*this, FIX::EndAccruedInterestAmt);
  389. FIELD_SET(*this, FIX::StartCash);
  390. FIELD_SET(*this, FIX::EndCash);
  391. FIELD_SET(*this, FIX::Concession);
  392. FIELD_SET(*this, FIX::TotalTakedown);
  393. FIELD_SET(*this, FIX::NetMoney);
  394. FIELD_SET(*this, FIX::SettlCurrAmt);
  395. FIELD_SET(*this, FIX::SettlCurrency);
  396. FIELD_SET(*this, FIX::SettlCurrFxRate);
  397. FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
  398. FIELD_SET(*this, FIX::PositionEffect);
  399. FIELD_SET(*this, FIX::SideMultiLegReportingType);
  400. FIELD_SET(*this, FIX::NoContAmts);
  401. class NoContAmts: public FIX::Group
  402. {
  403. public:
  404. NoContAmts() : FIX::Group(518,519,FIX::message_order(519,520,521,0)) {}
  405. FIELD_SET(*this, FIX::ContAmtType);
  406. FIELD_SET(*this, FIX::ContAmtValue);
  407. FIELD_SET(*this, FIX::ContAmtCurr);
  408. };
  409. FIELD_SET(*this, FIX::NoStipulations);
  410. class NoStipulations: public FIX::Group
  411. {
  412. public:
  413. NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
  414. FIELD_SET(*this, FIX::StipulationType);
  415. FIELD_SET(*this, FIX::StipulationValue);
  416. };
  417. FIELD_SET(*this, FIX::NoMiscFees);
  418. class NoMiscFees: public FIX::Group
  419. {
  420. public:
  421. NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
  422. FIELD_SET(*this, FIX::MiscFeeAmt);
  423. FIELD_SET(*this, FIX::MiscFeeCurr);
  424. FIELD_SET(*this, FIX::MiscFeeType);
  425. FIELD_SET(*this, FIX::MiscFeeBasis);
  426. };
  427. FIELD_SET(*this, FIX::ExchangeRule);
  428. FIELD_SET(*this, FIX::TradeAllocIndicator);
  429. FIELD_SET(*this, FIX::PreallocMethod);
  430. FIELD_SET(*this, FIX::AllocID);
  431. FIELD_SET(*this, FIX::NoAllocs);
  432. class NoAllocs: public FIX::Group
  433. {
  434. public:
  435. NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,756,80,993,1002,989,1136,0)) {}
  436. FIELD_SET(*this, FIX::AllocAccount);
  437. FIELD_SET(*this, FIX::AllocAcctIDSource);
  438. FIELD_SET(*this, FIX::AllocSettlCurrency);
  439. FIELD_SET(*this, FIX::IndividualAllocID);
  440. FIELD_SET(*this, FIX::NoNested2PartyIDs);
  441. class NoNested2PartyIDs: public FIX::Group
  442. {
  443. public:
  444. NoNested2PartyIDs() : FIX::Group(756,757,FIX::message_order(757,758,759,806,0)) {}
  445. FIELD_SET(*this, FIX::Nested2PartyID);
  446. FIELD_SET(*this, FIX::Nested2PartyIDSource);
  447. FIELD_SET(*this, FIX::Nested2PartyRole);
  448. FIELD_SET(*this, FIX::NoNested2PartySubIDs);
  449. class NoNested2PartySubIDs: public FIX::Group
  450. {
  451. public:
  452. NoNested2PartySubIDs() : FIX::Group(806,760,FIX::message_order(760,807,0)) {}
  453. FIELD_SET(*this, FIX::Nested2PartySubID);
  454. FIELD_SET(*this, FIX::Nested2PartySubIDType);
  455. };
  456. };
  457. FIELD_SET(*this, FIX::AllocQty);
  458. FIELD_SET(*this, FIX::AllocCustomerCapacity);
  459. FIELD_SET(*this, FIX::AllocMethod);
  460. FIELD_SET(*this, FIX::SecondaryIndividualAllocID);
  461. FIELD_SET(*this, FIX::AllocClearingFeeIndicator);
  462. };
  463. FIELD_SET(*this, FIX::SideGrossTradeAmt);
  464. FIELD_SET(*this, FIX::AggressorIndicator);
  465. FIELD_SET(*this, FIX::SideQty);
  466. FIELD_SET(*this, FIX::SideTradeReportID);
  467. FIELD_SET(*this, FIX::SideFillStationCd);
  468. FIELD_SET(*this, FIX::SideReasonCd);
  469. FIELD_SET(*this, FIX::RptSeq);
  470. FIELD_SET(*this, FIX::SideTrdSubTyp);
  471. FIELD_SET(*this, FIX::NoSideTrdRegTS);
  472. class NoSideTrdRegTS: public FIX::Group
  473. {
  474. public:
  475. NoSideTrdRegTS() : FIX::Group(1016,1012,FIX::message_order(1012,1013,1014,0)) {}
  476. FIELD_SET(*this, FIX::SideTrdRegTimestamp);
  477. FIELD_SET(*this, FIX::SideTrdRegTimestampType);
  478. FIELD_SET(*this, FIX::SideTrdRegTimestampSrc);
  479. };
  480. };
  481. FIELD_SET(*this, FIX::RptSys);
  482. FIELD_SET(*this, FIX::GrossTradeAmt);
  483. FIELD_SET(*this, FIX::SettlDate);
  484. };
  485. }
  486. #endif