AllocationReport.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  1. #ifndef FIX50SP1_ALLOCATIONREPORT_H
  2. #define FIX50SP1_ALLOCATIONREPORT_H
  3. #include "Message.h"
  4. namespace FIX50SP1
  5. {
  6. class AllocationReport : public Message
  7. {
  8. public:
  9. AllocationReport() : Message(MsgType()) {}
  10. AllocationReport(const FIX::Message& m) : Message(m) {}
  11. AllocationReport(const Message& m) : Message(m) {}
  12. AllocationReport(const AllocationReport& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("AS"); }
  14. AllocationReport(
  15. const FIX::AllocReportID& aAllocReportID,
  16. const FIX::AllocTransType& aAllocTransType,
  17. const FIX::AllocReportType& aAllocReportType,
  18. const FIX::AllocStatus& aAllocStatus,
  19. const FIX::Side& aSide,
  20. const FIX::Quantity& aQuantity,
  21. const FIX::AvgPx& aAvgPx,
  22. const FIX::TradeDate& aTradeDate )
  23. : Message(MsgType())
  24. {
  25. set(aAllocReportID);
  26. set(aAllocTransType);
  27. set(aAllocReportType);
  28. set(aAllocStatus);
  29. set(aSide);
  30. set(aQuantity);
  31. set(aAvgPx);
  32. set(aTradeDate);
  33. }
  34. FIELD_SET(*this, FIX::AllocReportID);
  35. FIELD_SET(*this, FIX::AllocID);
  36. FIELD_SET(*this, FIX::AllocTransType);
  37. FIELD_SET(*this, FIX::AllocReportRefID);
  38. FIELD_SET(*this, FIX::AllocCancReplaceReason);
  39. FIELD_SET(*this, FIX::SecondaryAllocID);
  40. FIELD_SET(*this, FIX::AllocReportType);
  41. FIELD_SET(*this, FIX::AllocStatus);
  42. FIELD_SET(*this, FIX::AllocRejCode);
  43. FIELD_SET(*this, FIX::RefAllocID);
  44. FIELD_SET(*this, FIX::AllocIntermedReqType);
  45. FIELD_SET(*this, FIX::AllocLinkID);
  46. FIELD_SET(*this, FIX::AllocLinkType);
  47. FIELD_SET(*this, FIX::BookingRefID);
  48. FIELD_SET(*this, FIX::ClearingBusinessDate);
  49. FIELD_SET(*this, FIX::TrdType);
  50. FIELD_SET(*this, FIX::TrdSubType);
  51. FIELD_SET(*this, FIX::MultiLegReportingType);
  52. FIELD_SET(*this, FIX::CustOrderCapacity);
  53. FIELD_SET(*this, FIX::TradeInputSource);
  54. FIELD_SET(*this, FIX::RndPx);
  55. FIELD_SET(*this, FIX::MessageEventSource);
  56. FIELD_SET(*this, FIX::TradeInputDevice);
  57. FIELD_SET(*this, FIX::AvgPxIndicator);
  58. FIELD_SET(*this, FIX::AllocNoOrdersType);
  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,37,198,526,66,756,38,799,800,0)) {}
  64. FIELD_SET(*this, FIX::ClOrdID);
  65. FIELD_SET(*this, FIX::OrderID);
  66. FIELD_SET(*this, FIX::SecondaryOrderID);
  67. FIELD_SET(*this, FIX::SecondaryClOrdID);
  68. FIELD_SET(*this, FIX::ListID);
  69. FIELD_SET(*this, FIX::NoNested2PartyIDs);
  70. class NoNested2PartyIDs: public FIX::Group
  71. {
  72. public:
  73. NoNested2PartyIDs() : FIX::Group(756,757,FIX::message_order(757,758,759,806,0)) {}
  74. FIELD_SET(*this, FIX::Nested2PartyID);
  75. FIELD_SET(*this, FIX::Nested2PartyIDSource);
  76. FIELD_SET(*this, FIX::Nested2PartyRole);
  77. FIELD_SET(*this, FIX::NoNested2PartySubIDs);
  78. class NoNested2PartySubIDs: public FIX::Group
  79. {
  80. public:
  81. NoNested2PartySubIDs() : FIX::Group(806,760,FIX::message_order(760,807,0)) {}
  82. FIELD_SET(*this, FIX::Nested2PartySubID);
  83. FIELD_SET(*this, FIX::Nested2PartySubIDType);
  84. };
  85. };
  86. FIELD_SET(*this, FIX::OrderQty);
  87. FIELD_SET(*this, FIX::OrderAvgPx);
  88. FIELD_SET(*this, FIX::OrderBookingQty);
  89. };
  90. FIELD_SET(*this, FIX::NoExecs);
  91. class NoExecs: public FIX::Group
  92. {
  93. public:
  94. NoExecs() : FIX::Group(124,32,FIX::message_order(32,17,527,31,669,29,1003,1041,0)) {}
  95. FIELD_SET(*this, FIX::LastQty);
  96. FIELD_SET(*this, FIX::ExecID);
  97. FIELD_SET(*this, FIX::SecondaryExecID);
  98. FIELD_SET(*this, FIX::LastPx);
  99. FIELD_SET(*this, FIX::LastParPx);
  100. FIELD_SET(*this, FIX::LastCapacity);
  101. FIELD_SET(*this, FIX::TradeID);
  102. FIELD_SET(*this, FIX::FirmTradeID);
  103. };
  104. FIELD_SET(*this, FIX::PreviouslyReported);
  105. FIELD_SET(*this, FIX::ReversalIndicator);
  106. FIELD_SET(*this, FIX::MatchType);
  107. FIELD_SET(*this, FIX::Side);
  108. FIELD_SET(*this, FIX::Symbol);
  109. FIELD_SET(*this, FIX::SymbolSfx);
  110. FIELD_SET(*this, FIX::SecurityID);
  111. FIELD_SET(*this, FIX::SecurityIDSource);
  112. FIELD_SET(*this, FIX::Product);
  113. FIELD_SET(*this, FIX::ProductComplex);
  114. FIELD_SET(*this, FIX::SecurityGroup);
  115. FIELD_SET(*this, FIX::CFICode);
  116. FIELD_SET(*this, FIX::SecurityType);
  117. FIELD_SET(*this, FIX::SecuritySubType);
  118. FIELD_SET(*this, FIX::MaturityMonthYear);
  119. FIELD_SET(*this, FIX::MaturityDate);
  120. FIELD_SET(*this, FIX::MaturityTime);
  121. FIELD_SET(*this, FIX::SettleOnOpenFlag);
  122. FIELD_SET(*this, FIX::InstrmtAssignmentMethod);
  123. FIELD_SET(*this, FIX::SecurityStatus);
  124. FIELD_SET(*this, FIX::CouponPaymentDate);
  125. FIELD_SET(*this, FIX::IssueDate);
  126. FIELD_SET(*this, FIX::RepoCollateralSecurityType);
  127. FIELD_SET(*this, FIX::RepurchaseTerm);
  128. FIELD_SET(*this, FIX::RepurchaseRate);
  129. FIELD_SET(*this, FIX::Factor);
  130. FIELD_SET(*this, FIX::CreditRating);
  131. FIELD_SET(*this, FIX::InstrRegistry);
  132. FIELD_SET(*this, FIX::CountryOfIssue);
  133. FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
  134. FIELD_SET(*this, FIX::LocaleOfIssue);
  135. FIELD_SET(*this, FIX::RedemptionDate);
  136. FIELD_SET(*this, FIX::StrikePrice);
  137. FIELD_SET(*this, FIX::StrikeCurrency);
  138. FIELD_SET(*this, FIX::StrikeMultiplier);
  139. FIELD_SET(*this, FIX::StrikeValue);
  140. FIELD_SET(*this, FIX::OptAttribute);
  141. FIELD_SET(*this, FIX::ContractMultiplier);
  142. FIELD_SET(*this, FIX::MinPriceIncrement);
  143. FIELD_SET(*this, FIX::MinPriceIncrementAmount);
  144. FIELD_SET(*this, FIX::UnitOfMeasure);
  145. FIELD_SET(*this, FIX::UnitOfMeasureQty);
  146. FIELD_SET(*this, FIX::PriceUnitOfMeasure);
  147. FIELD_SET(*this, FIX::PriceUnitOfMeasureQty);
  148. FIELD_SET(*this, FIX::SettlMethod);
  149. FIELD_SET(*this, FIX::ExerciseStyle);
  150. FIELD_SET(*this, FIX::OptPayAmount);
  151. FIELD_SET(*this, FIX::PriceQuoteMethod);
  152. FIELD_SET(*this, FIX::FuturesValuationMethod);
  153. FIELD_SET(*this, FIX::ListMethod);
  154. FIELD_SET(*this, FIX::CapPrice);
  155. FIELD_SET(*this, FIX::FloorPrice);
  156. FIELD_SET(*this, FIX::PutOrCall);
  157. FIELD_SET(*this, FIX::FlexibleIndicator);
  158. FIELD_SET(*this, FIX::FlexProductEligibilityIndicator);
  159. FIELD_SET(*this, FIX::TimeUnit);
  160. FIELD_SET(*this, FIX::CouponRate);
  161. FIELD_SET(*this, FIX::SecurityExchange);
  162. FIELD_SET(*this, FIX::PositionLimit);
  163. FIELD_SET(*this, FIX::NTPositionLimit);
  164. FIELD_SET(*this, FIX::Issuer);
  165. FIELD_SET(*this, FIX::EncodedIssuerLen);
  166. FIELD_SET(*this, FIX::EncodedIssuer);
  167. FIELD_SET(*this, FIX::SecurityDesc);
  168. FIELD_SET(*this, FIX::EncodedSecurityDescLen);
  169. FIELD_SET(*this, FIX::EncodedSecurityDesc);
  170. FIELD_SET(*this, FIX::Pool);
  171. FIELD_SET(*this, FIX::ContractSettlMonth);
  172. FIELD_SET(*this, FIX::CPProgram);
  173. FIELD_SET(*this, FIX::CPRegType);
  174. FIELD_SET(*this, FIX::DatedDate);
  175. FIELD_SET(*this, FIX::InterestAccrualDate);
  176. FIELD_SET(*this, FIX::DeliveryForm);
  177. FIELD_SET(*this, FIX::PctAtRisk);
  178. FIELD_SET(*this, FIX::AgreementDesc);
  179. FIELD_SET(*this, FIX::AgreementID);
  180. FIELD_SET(*this, FIX::AgreementDate);
  181. FIELD_SET(*this, FIX::AgreementCurrency);
  182. FIELD_SET(*this, FIX::TerminationType);
  183. FIELD_SET(*this, FIX::StartDate);
  184. FIELD_SET(*this, FIX::EndDate);
  185. FIELD_SET(*this, FIX::DeliveryType);
  186. FIELD_SET(*this, FIX::MarginRatio);
  187. FIELD_SET(*this, FIX::NoUnderlyings);
  188. class NoUnderlyings: public FIX::Group
  189. {
  190. public:
  191. 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,0)) {}
  192. FIELD_SET(*this, FIX::UnderlyingSymbol);
  193. FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
  194. FIELD_SET(*this, FIX::UnderlyingSecurityID);
  195. FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
  196. FIELD_SET(*this, FIX::UnderlyingProduct);
  197. FIELD_SET(*this, FIX::UnderlyingCFICode);
  198. FIELD_SET(*this, FIX::UnderlyingSecurityType);
  199. FIELD_SET(*this, FIX::UnderlyingSecuritySubType);
  200. FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
  201. FIELD_SET(*this, FIX::UnderlyingMaturityDate);
  202. FIELD_SET(*this, FIX::UnderlyingMaturityTime);
  203. FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
  204. FIELD_SET(*this, FIX::UnderlyingIssueDate);
  205. FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
  206. FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
  207. FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
  208. FIELD_SET(*this, FIX::UnderlyingFactor);
  209. FIELD_SET(*this, FIX::UnderlyingCreditRating);
  210. FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
  211. FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
  212. FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
  213. FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
  214. FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
  215. FIELD_SET(*this, FIX::UnderlyingStrikePrice);
  216. FIELD_SET(*this, FIX::UnderlyingStrikeCurrency);
  217. FIELD_SET(*this, FIX::UnderlyingOptAttribute);
  218. FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
  219. FIELD_SET(*this, FIX::UnderlyingUnitOfMeasure);
  220. FIELD_SET(*this, FIX::UnderlyingUnitOfMeasureQty);
  221. FIELD_SET(*this, FIX::UnderlyingPriceUnitOfMeasure);
  222. FIELD_SET(*this, FIX::UnderlyingPriceUnitOfMeasureQty);
  223. FIELD_SET(*this, FIX::UnderlyingTimeUnit);
  224. FIELD_SET(*this, FIX::UnderlyingExerciseStyle);
  225. FIELD_SET(*this, FIX::UnderlyingCouponRate);
  226. FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
  227. FIELD_SET(*this, FIX::UnderlyingIssuer);
  228. FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
  229. FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
  230. FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
  231. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
  232. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
  233. FIELD_SET(*this, FIX::UnderlyingCPProgram);
  234. FIELD_SET(*this, FIX::UnderlyingCPRegType);
  235. FIELD_SET(*this, FIX::UnderlyingAllocationPercent);
  236. FIELD_SET(*this, FIX::UnderlyingCurrency);
  237. FIELD_SET(*this, FIX::UnderlyingQty);
  238. FIELD_SET(*this, FIX::UnderlyingSettlementType);
  239. FIELD_SET(*this, FIX::UnderlyingCashAmount);
  240. FIELD_SET(*this, FIX::UnderlyingCashType);
  241. FIELD_SET(*this, FIX::UnderlyingPx);
  242. FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
  243. FIELD_SET(*this, FIX::UnderlyingEndPrice);
  244. FIELD_SET(*this, FIX::UnderlyingStartValue);
  245. FIELD_SET(*this, FIX::UnderlyingCurrentValue);
  246. FIELD_SET(*this, FIX::UnderlyingEndValue);
  247. FIELD_SET(*this, FIX::UnderlyingAdjustedQuantity);
  248. FIELD_SET(*this, FIX::UnderlyingFXRate);
  249. FIELD_SET(*this, FIX::UnderlyingFXRateCalc);
  250. FIELD_SET(*this, FIX::UnderlyingCapValue);
  251. FIELD_SET(*this, FIX::UnderlyingSettlMethod);
  252. FIELD_SET(*this, FIX::UnderlyingPutOrCall);
  253. };
  254. FIELD_SET(*this, FIX::NoLegs);
  255. class NoLegs: public FIX::Group
  256. {
  257. public:
  258. 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,0)) {}
  259. FIELD_SET(*this, FIX::LegSymbol);
  260. FIELD_SET(*this, FIX::LegSymbolSfx);
  261. FIELD_SET(*this, FIX::LegSecurityID);
  262. FIELD_SET(*this, FIX::LegSecurityIDSource);
  263. FIELD_SET(*this, FIX::LegProduct);
  264. FIELD_SET(*this, FIX::LegCFICode);
  265. FIELD_SET(*this, FIX::LegSecurityType);
  266. FIELD_SET(*this, FIX::LegSecuritySubType);
  267. FIELD_SET(*this, FIX::LegMaturityMonthYear);
  268. FIELD_SET(*this, FIX::LegMaturityDate);
  269. FIELD_SET(*this, FIX::LegMaturityTime);
  270. FIELD_SET(*this, FIX::LegCouponPaymentDate);
  271. FIELD_SET(*this, FIX::LegIssueDate);
  272. FIELD_SET(*this, FIX::LegRepoCollateralSecurityType);
  273. FIELD_SET(*this, FIX::LegRepurchaseTerm);
  274. FIELD_SET(*this, FIX::LegRepurchaseRate);
  275. FIELD_SET(*this, FIX::LegFactor);
  276. FIELD_SET(*this, FIX::LegCreditRating);
  277. FIELD_SET(*this, FIX::LegInstrRegistry);
  278. FIELD_SET(*this, FIX::LegCountryOfIssue);
  279. FIELD_SET(*this, FIX::LegStateOrProvinceOfIssue);
  280. FIELD_SET(*this, FIX::LegLocaleOfIssue);
  281. FIELD_SET(*this, FIX::LegRedemptionDate);
  282. FIELD_SET(*this, FIX::LegStrikePrice);
  283. FIELD_SET(*this, FIX::LegStrikeCurrency);
  284. FIELD_SET(*this, FIX::LegOptAttribute);
  285. FIELD_SET(*this, FIX::LegContractMultiplier);
  286. FIELD_SET(*this, FIX::LegUnitOfMeasure);
  287. FIELD_SET(*this, FIX::LegUnitOfMeasureQty);
  288. FIELD_SET(*this, FIX::LegPriceUnitOfMeasure);
  289. FIELD_SET(*this, FIX::LegPriceUnitOfMeasureQty);
  290. FIELD_SET(*this, FIX::LegTimeUnit);
  291. FIELD_SET(*this, FIX::LegExerciseStyle);
  292. FIELD_SET(*this, FIX::LegCouponRate);
  293. FIELD_SET(*this, FIX::LegSecurityExchange);
  294. FIELD_SET(*this, FIX::LegIssuer);
  295. FIELD_SET(*this, FIX::EncodedLegIssuerLen);
  296. FIELD_SET(*this, FIX::EncodedLegIssuer);
  297. FIELD_SET(*this, FIX::LegSecurityDesc);
  298. FIELD_SET(*this, FIX::EncodedLegSecurityDescLen);
  299. FIELD_SET(*this, FIX::EncodedLegSecurityDesc);
  300. FIELD_SET(*this, FIX::LegRatioQty);
  301. FIELD_SET(*this, FIX::LegSide);
  302. FIELD_SET(*this, FIX::LegCurrency);
  303. FIELD_SET(*this, FIX::LegPool);
  304. FIELD_SET(*this, FIX::LegDatedDate);
  305. FIELD_SET(*this, FIX::LegContractSettlMonth);
  306. FIELD_SET(*this, FIX::LegInterestAccrualDate);
  307. FIELD_SET(*this, FIX::LegPutOrCall);
  308. FIELD_SET(*this, FIX::LegOptionRatio);
  309. };
  310. FIELD_SET(*this, FIX::Quantity);
  311. FIELD_SET(*this, FIX::QtyType);
  312. FIELD_SET(*this, FIX::LastMkt);
  313. FIELD_SET(*this, FIX::TradeOriginationDate);
  314. FIELD_SET(*this, FIX::TradingSessionID);
  315. FIELD_SET(*this, FIX::TradingSessionSubID);
  316. FIELD_SET(*this, FIX::PriceType);
  317. FIELD_SET(*this, FIX::AvgPx);
  318. FIELD_SET(*this, FIX::AvgParPx);
  319. FIELD_SET(*this, FIX::Spread);
  320. FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
  321. FIELD_SET(*this, FIX::BenchmarkCurveName);
  322. FIELD_SET(*this, FIX::BenchmarkCurvePoint);
  323. FIELD_SET(*this, FIX::BenchmarkPrice);
  324. FIELD_SET(*this, FIX::BenchmarkPriceType);
  325. FIELD_SET(*this, FIX::BenchmarkSecurityID);
  326. FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
  327. FIELD_SET(*this, FIX::Currency);
  328. FIELD_SET(*this, FIX::AvgPxPrecision);
  329. FIELD_SET(*this, FIX::NoPartyIDs);
  330. class NoPartyIDs: public FIX::Group
  331. {
  332. public:
  333. NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
  334. FIELD_SET(*this, FIX::PartyID);
  335. FIELD_SET(*this, FIX::PartyIDSource);
  336. FIELD_SET(*this, FIX::PartyRole);
  337. FIELD_SET(*this, FIX::NoPartySubIDs);
  338. class NoPartySubIDs: public FIX::Group
  339. {
  340. public:
  341. NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
  342. FIELD_SET(*this, FIX::PartySubID);
  343. FIELD_SET(*this, FIX::PartySubIDType);
  344. };
  345. };
  346. FIELD_SET(*this, FIX::TradeDate);
  347. FIELD_SET(*this, FIX::TransactTime);
  348. FIELD_SET(*this, FIX::SettlType);
  349. FIELD_SET(*this, FIX::SettlDate);
  350. FIELD_SET(*this, FIX::BookingType);
  351. FIELD_SET(*this, FIX::GrossTradeAmt);
  352. FIELD_SET(*this, FIX::Concession);
  353. FIELD_SET(*this, FIX::TotalTakedown);
  354. FIELD_SET(*this, FIX::NetMoney);
  355. FIELD_SET(*this, FIX::PositionEffect);
  356. FIELD_SET(*this, FIX::AutoAcceptIndicator);
  357. FIELD_SET(*this, FIX::Text);
  358. FIELD_SET(*this, FIX::EncodedTextLen);
  359. FIELD_SET(*this, FIX::EncodedText);
  360. FIELD_SET(*this, FIX::NumDaysInterest);
  361. FIELD_SET(*this, FIX::AccruedInterestRate);
  362. FIELD_SET(*this, FIX::AccruedInterestAmt);
  363. FIELD_SET(*this, FIX::TotalAccruedInterestAmt);
  364. FIELD_SET(*this, FIX::InterestAtMaturity);
  365. FIELD_SET(*this, FIX::EndAccruedInterestAmt);
  366. FIELD_SET(*this, FIX::StartCash);
  367. FIELD_SET(*this, FIX::EndCash);
  368. FIELD_SET(*this, FIX::LegalConfirm);
  369. FIELD_SET(*this, FIX::NoStipulations);
  370. class NoStipulations: public FIX::Group
  371. {
  372. public:
  373. NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
  374. FIELD_SET(*this, FIX::StipulationType);
  375. FIELD_SET(*this, FIX::StipulationValue);
  376. };
  377. FIELD_SET(*this, FIX::YieldType);
  378. FIELD_SET(*this, FIX::Yield);
  379. FIELD_SET(*this, FIX::YieldCalcDate);
  380. FIELD_SET(*this, FIX::YieldRedemptionDate);
  381. FIELD_SET(*this, FIX::YieldRedemptionPrice);
  382. FIELD_SET(*this, FIX::YieldRedemptionPriceType);
  383. FIELD_SET(*this, FIX::NoPosAmt);
  384. class NoPosAmt: public FIX::Group
  385. {
  386. public:
  387. NoPosAmt() : FIX::Group(753,707,FIX::message_order(707,708,1055,0)) {}
  388. FIELD_SET(*this, FIX::PosAmtType);
  389. FIELD_SET(*this, FIX::PosAmt);
  390. FIELD_SET(*this, FIX::PositionCurrency);
  391. };
  392. FIELD_SET(*this, FIX::TotNoAllocs);
  393. FIELD_SET(*this, FIX::LastFragment);
  394. FIELD_SET(*this, FIX::NoAllocs);
  395. class NoAllocs: public FIX::Group
  396. {
  397. public:
  398. NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,573,366,80,467,81,989,1002,993,1047,992,539,208,209,161,360,361,12,13,479,497,153,154,119,737,120,736,155,156,742,741,136,576,635,780,172,169,170,171,0)) {}
  399. FIELD_SET(*this, FIX::AllocAccount);
  400. FIELD_SET(*this, FIX::AllocAcctIDSource);
  401. FIELD_SET(*this, FIX::MatchStatus);
  402. FIELD_SET(*this, FIX::AllocPrice);
  403. FIELD_SET(*this, FIX::AllocQty);
  404. FIELD_SET(*this, FIX::IndividualAllocID);
  405. FIELD_SET(*this, FIX::ProcessCode);
  406. FIELD_SET(*this, FIX::SecondaryIndividualAllocID);
  407. FIELD_SET(*this, FIX::AllocMethod);
  408. FIELD_SET(*this, FIX::AllocCustomerCapacity);
  409. FIELD_SET(*this, FIX::AllocPositionEffect);
  410. FIELD_SET(*this, FIX::IndividualAllocType);
  411. FIELD_SET(*this, FIX::NoNestedPartyIDs);
  412. class NoNestedPartyIDs: public FIX::Group
  413. {
  414. public:
  415. NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
  416. FIELD_SET(*this, FIX::NestedPartyID);
  417. FIELD_SET(*this, FIX::NestedPartyIDSource);
  418. FIELD_SET(*this, FIX::NestedPartyRole);
  419. FIELD_SET(*this, FIX::NoNestedPartySubIDs);
  420. class NoNestedPartySubIDs: public FIX::Group
  421. {
  422. public:
  423. NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
  424. FIELD_SET(*this, FIX::NestedPartySubID);
  425. FIELD_SET(*this, FIX::NestedPartySubIDType);
  426. };
  427. };
  428. FIELD_SET(*this, FIX::NotifyBrokerOfCredit);
  429. FIELD_SET(*this, FIX::AllocHandlInst);
  430. FIELD_SET(*this, FIX::AllocText);
  431. FIELD_SET(*this, FIX::EncodedAllocTextLen);
  432. FIELD_SET(*this, FIX::EncodedAllocText);
  433. FIELD_SET(*this, FIX::Commission);
  434. FIELD_SET(*this, FIX::CommType);
  435. FIELD_SET(*this, FIX::CommCurrency);
  436. FIELD_SET(*this, FIX::FundRenewWaiv);
  437. FIELD_SET(*this, FIX::AllocAvgPx);
  438. FIELD_SET(*this, FIX::AllocNetMoney);
  439. FIELD_SET(*this, FIX::SettlCurrAmt);
  440. FIELD_SET(*this, FIX::AllocSettlCurrAmt);
  441. FIELD_SET(*this, FIX::SettlCurrency);
  442. FIELD_SET(*this, FIX::AllocSettlCurrency);
  443. FIELD_SET(*this, FIX::SettlCurrFxRate);
  444. FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
  445. FIELD_SET(*this, FIX::AllocAccruedInterestAmt);
  446. FIELD_SET(*this, FIX::AllocInterestAtMaturity);
  447. FIELD_SET(*this, FIX::NoMiscFees);
  448. class NoMiscFees: public FIX::Group
  449. {
  450. public:
  451. NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
  452. FIELD_SET(*this, FIX::MiscFeeAmt);
  453. FIELD_SET(*this, FIX::MiscFeeCurr);
  454. FIELD_SET(*this, FIX::MiscFeeType);
  455. FIELD_SET(*this, FIX::MiscFeeBasis);
  456. };
  457. FIELD_SET(*this, FIX::NoClearingInstructions);
  458. class NoClearingInstructions: public FIX::Group
  459. {
  460. public:
  461. NoClearingInstructions() : FIX::Group(576,577,FIX::message_order(577,0)) {}
  462. FIELD_SET(*this, FIX::ClearingInstruction);
  463. };
  464. FIELD_SET(*this, FIX::ClearingFeeIndicator);
  465. FIELD_SET(*this, FIX::AllocSettlInstType);
  466. FIELD_SET(*this, FIX::SettlDeliveryType);
  467. FIELD_SET(*this, FIX::StandInstDbType);
  468. FIELD_SET(*this, FIX::StandInstDbName);
  469. FIELD_SET(*this, FIX::StandInstDbID);
  470. };
  471. };
  472. }
  473. #endif