AllocationInstructionAlert.h 20 KB

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