AllocationReport.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. #ifndef FIX50_ALLOCATIONREPORT_H
  2. #define FIX50_ALLOCATIONREPORT_H
  3. #include "Message.h"
  4. namespace FIX50
  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::CFICode);
  114. FIELD_SET(*this, FIX::SecurityType);
  115. FIELD_SET(*this, FIX::SecuritySubType);
  116. FIELD_SET(*this, FIX::MaturityMonthYear);
  117. FIELD_SET(*this, FIX::MaturityDate);
  118. FIELD_SET(*this, FIX::MaturityTime);
  119. FIELD_SET(*this, FIX::PutOrCall);
  120. FIELD_SET(*this, FIX::SettleOnOpenFlag);
  121. FIELD_SET(*this, FIX::InstrmtAssignmentMethod);
  122. FIELD_SET(*this, FIX::SecurityStatus);
  123. FIELD_SET(*this, FIX::CouponPaymentDate);
  124. FIELD_SET(*this, FIX::IssueDate);
  125. FIELD_SET(*this, FIX::RepoCollateralSecurityType);
  126. FIELD_SET(*this, FIX::RepurchaseTerm);
  127. FIELD_SET(*this, FIX::RepurchaseRate);
  128. FIELD_SET(*this, FIX::Factor);
  129. FIELD_SET(*this, FIX::CreditRating);
  130. FIELD_SET(*this, FIX::InstrRegistry);
  131. FIELD_SET(*this, FIX::CountryOfIssue);
  132. FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
  133. FIELD_SET(*this, FIX::LocaleOfIssue);
  134. FIELD_SET(*this, FIX::RedemptionDate);
  135. FIELD_SET(*this, FIX::StrikePrice);
  136. FIELD_SET(*this, FIX::StrikeCurrency);
  137. FIELD_SET(*this, FIX::StrikeMultiplier);
  138. FIELD_SET(*this, FIX::StrikeValue);
  139. FIELD_SET(*this, FIX::OptAttribute);
  140. FIELD_SET(*this, FIX::ContractMultiplier);
  141. FIELD_SET(*this, FIX::MinPriceIncrement);
  142. FIELD_SET(*this, FIX::UnitOfMeasure);
  143. FIELD_SET(*this, FIX::TimeUnit);
  144. FIELD_SET(*this, FIX::CouponRate);
  145. FIELD_SET(*this, FIX::SecurityExchange);
  146. FIELD_SET(*this, FIX::PositionLimit);
  147. FIELD_SET(*this, FIX::NTPositionLimit);
  148. FIELD_SET(*this, FIX::Issuer);
  149. FIELD_SET(*this, FIX::EncodedIssuerLen);
  150. FIELD_SET(*this, FIX::EncodedIssuer);
  151. FIELD_SET(*this, FIX::SecurityDesc);
  152. FIELD_SET(*this, FIX::EncodedSecurityDescLen);
  153. FIELD_SET(*this, FIX::EncodedSecurityDesc);
  154. FIELD_SET(*this, FIX::Pool);
  155. FIELD_SET(*this, FIX::ContractSettlMonth);
  156. FIELD_SET(*this, FIX::CPProgram);
  157. FIELD_SET(*this, FIX::CPRegType);
  158. FIELD_SET(*this, FIX::DatedDate);
  159. FIELD_SET(*this, FIX::InterestAccrualDate);
  160. FIELD_SET(*this, FIX::DeliveryForm);
  161. FIELD_SET(*this, FIX::PctAtRisk);
  162. FIELD_SET(*this, FIX::AgreementDesc);
  163. FIELD_SET(*this, FIX::AgreementID);
  164. FIELD_SET(*this, FIX::AgreementDate);
  165. FIELD_SET(*this, FIX::AgreementCurrency);
  166. FIELD_SET(*this, FIX::TerminationType);
  167. FIELD_SET(*this, FIX::StartDate);
  168. FIELD_SET(*this, FIX::EndDate);
  169. FIELD_SET(*this, FIX::DeliveryType);
  170. FIELD_SET(*this, FIX::MarginRatio);
  171. FIELD_SET(*this, FIX::NoUnderlyings);
  172. class NoUnderlyings: public FIX::Group
  173. {
  174. public:
  175. 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)) {}
  176. FIELD_SET(*this, FIX::UnderlyingSymbol);
  177. FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
  178. FIELD_SET(*this, FIX::UnderlyingSecurityID);
  179. FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
  180. FIELD_SET(*this, FIX::UnderlyingProduct);
  181. FIELD_SET(*this, FIX::UnderlyingCFICode);
  182. FIELD_SET(*this, FIX::UnderlyingSecurityType);
  183. FIELD_SET(*this, FIX::UnderlyingSecuritySubType);
  184. FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
  185. FIELD_SET(*this, FIX::UnderlyingMaturityDate);
  186. FIELD_SET(*this, FIX::UnderlyingPutOrCall);
  187. FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
  188. FIELD_SET(*this, FIX::UnderlyingIssueDate);
  189. FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
  190. FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
  191. FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
  192. FIELD_SET(*this, FIX::UnderlyingFactor);
  193. FIELD_SET(*this, FIX::UnderlyingCreditRating);
  194. FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
  195. FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
  196. FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
  197. FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
  198. FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
  199. FIELD_SET(*this, FIX::UnderlyingStrikePrice);
  200. FIELD_SET(*this, FIX::UnderlyingStrikeCurrency);
  201. FIELD_SET(*this, FIX::UnderlyingOptAttribute);
  202. FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
  203. FIELD_SET(*this, FIX::UnderlyingUnitOfMeasure);
  204. FIELD_SET(*this, FIX::UnderlyingTimeUnit);
  205. FIELD_SET(*this, FIX::UnderlyingCouponRate);
  206. FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
  207. FIELD_SET(*this, FIX::UnderlyingIssuer);
  208. FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
  209. FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
  210. FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
  211. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
  212. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
  213. FIELD_SET(*this, FIX::UnderlyingCPProgram);
  214. FIELD_SET(*this, FIX::UnderlyingCPRegType);
  215. FIELD_SET(*this, FIX::UnderlyingAllocationPercent);
  216. FIELD_SET(*this, FIX::UnderlyingCurrency);
  217. FIELD_SET(*this, FIX::UnderlyingQty);
  218. FIELD_SET(*this, FIX::UnderlyingSettlementType);
  219. FIELD_SET(*this, FIX::UnderlyingCashAmount);
  220. FIELD_SET(*this, FIX::UnderlyingCashType);
  221. FIELD_SET(*this, FIX::UnderlyingPx);
  222. FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
  223. FIELD_SET(*this, FIX::UnderlyingEndPrice);
  224. FIELD_SET(*this, FIX::UnderlyingStartValue);
  225. FIELD_SET(*this, FIX::UnderlyingCurrentValue);
  226. FIELD_SET(*this, FIX::UnderlyingEndValue);
  227. FIELD_SET(*this, FIX::UnderlyingAdjustedQuantity);
  228. FIELD_SET(*this, FIX::UnderlyingFXRate);
  229. FIELD_SET(*this, FIX::UnderlyingFXRateCalc);
  230. FIELD_SET(*this, FIX::UnderlyingCapValue);
  231. FIELD_SET(*this, FIX::UnderlyingSettlMethod);
  232. };
  233. FIELD_SET(*this, FIX::NoLegs);
  234. class NoLegs: public FIX::Group
  235. {
  236. public:
  237. 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,0)) {}
  238. FIELD_SET(*this, FIX::LegSymbol);
  239. FIELD_SET(*this, FIX::LegSymbolSfx);
  240. FIELD_SET(*this, FIX::LegSecurityID);
  241. FIELD_SET(*this, FIX::LegSecurityIDSource);
  242. FIELD_SET(*this, FIX::LegProduct);
  243. FIELD_SET(*this, FIX::LegCFICode);
  244. FIELD_SET(*this, FIX::LegSecurityType);
  245. FIELD_SET(*this, FIX::LegSecuritySubType);
  246. FIELD_SET(*this, FIX::LegMaturityMonthYear);
  247. FIELD_SET(*this, FIX::LegMaturityDate);
  248. FIELD_SET(*this, FIX::LegCouponPaymentDate);
  249. FIELD_SET(*this, FIX::LegIssueDate);
  250. FIELD_SET(*this, FIX::LegRepoCollateralSecurityType);
  251. FIELD_SET(*this, FIX::LegRepurchaseTerm);
  252. FIELD_SET(*this, FIX::LegRepurchaseRate);
  253. FIELD_SET(*this, FIX::LegFactor);
  254. FIELD_SET(*this, FIX::LegCreditRating);
  255. FIELD_SET(*this, FIX::LegInstrRegistry);
  256. FIELD_SET(*this, FIX::LegCountryOfIssue);
  257. FIELD_SET(*this, FIX::LegStateOrProvinceOfIssue);
  258. FIELD_SET(*this, FIX::LegLocaleOfIssue);
  259. FIELD_SET(*this, FIX::LegRedemptionDate);
  260. FIELD_SET(*this, FIX::LegStrikePrice);
  261. FIELD_SET(*this, FIX::LegStrikeCurrency);
  262. FIELD_SET(*this, FIX::LegOptAttribute);
  263. FIELD_SET(*this, FIX::LegContractMultiplier);
  264. FIELD_SET(*this, FIX::LegUnitOfMeasure);
  265. FIELD_SET(*this, FIX::LegTimeUnit);
  266. FIELD_SET(*this, FIX::LegCouponRate);
  267. FIELD_SET(*this, FIX::LegSecurityExchange);
  268. FIELD_SET(*this, FIX::LegIssuer);
  269. FIELD_SET(*this, FIX::EncodedLegIssuerLen);
  270. FIELD_SET(*this, FIX::EncodedLegIssuer);
  271. FIELD_SET(*this, FIX::LegSecurityDesc);
  272. FIELD_SET(*this, FIX::EncodedLegSecurityDescLen);
  273. FIELD_SET(*this, FIX::EncodedLegSecurityDesc);
  274. FIELD_SET(*this, FIX::LegRatioQty);
  275. FIELD_SET(*this, FIX::LegSide);
  276. FIELD_SET(*this, FIX::LegCurrency);
  277. FIELD_SET(*this, FIX::LegPool);
  278. FIELD_SET(*this, FIX::LegDatedDate);
  279. FIELD_SET(*this, FIX::LegContractSettlMonth);
  280. FIELD_SET(*this, FIX::LegInterestAccrualDate);
  281. FIELD_SET(*this, FIX::LegOptionRatio);
  282. };
  283. FIELD_SET(*this, FIX::Quantity);
  284. FIELD_SET(*this, FIX::QtyType);
  285. FIELD_SET(*this, FIX::LastMkt);
  286. FIELD_SET(*this, FIX::TradeOriginationDate);
  287. FIELD_SET(*this, FIX::TradingSessionID);
  288. FIELD_SET(*this, FIX::TradingSessionSubID);
  289. FIELD_SET(*this, FIX::PriceType);
  290. FIELD_SET(*this, FIX::AvgPx);
  291. FIELD_SET(*this, FIX::AvgParPx);
  292. FIELD_SET(*this, FIX::Spread);
  293. FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
  294. FIELD_SET(*this, FIX::BenchmarkCurveName);
  295. FIELD_SET(*this, FIX::BenchmarkCurvePoint);
  296. FIELD_SET(*this, FIX::BenchmarkPrice);
  297. FIELD_SET(*this, FIX::BenchmarkPriceType);
  298. FIELD_SET(*this, FIX::BenchmarkSecurityID);
  299. FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
  300. FIELD_SET(*this, FIX::Currency);
  301. FIELD_SET(*this, FIX::AvgPxPrecision);
  302. FIELD_SET(*this, FIX::NoPartyIDs);
  303. class NoPartyIDs: public FIX::Group
  304. {
  305. public:
  306. NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
  307. FIELD_SET(*this, FIX::PartyID);
  308. FIELD_SET(*this, FIX::PartyIDSource);
  309. FIELD_SET(*this, FIX::PartyRole);
  310. FIELD_SET(*this, FIX::NoPartySubIDs);
  311. class NoPartySubIDs: public FIX::Group
  312. {
  313. public:
  314. NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
  315. FIELD_SET(*this, FIX::PartySubID);
  316. FIELD_SET(*this, FIX::PartySubIDType);
  317. };
  318. };
  319. FIELD_SET(*this, FIX::TradeDate);
  320. FIELD_SET(*this, FIX::TransactTime);
  321. FIELD_SET(*this, FIX::SettlType);
  322. FIELD_SET(*this, FIX::SettlDate);
  323. FIELD_SET(*this, FIX::BookingType);
  324. FIELD_SET(*this, FIX::GrossTradeAmt);
  325. FIELD_SET(*this, FIX::Concession);
  326. FIELD_SET(*this, FIX::TotalTakedown);
  327. FIELD_SET(*this, FIX::NetMoney);
  328. FIELD_SET(*this, FIX::PositionEffect);
  329. FIELD_SET(*this, FIX::AutoAcceptIndicator);
  330. FIELD_SET(*this, FIX::Text);
  331. FIELD_SET(*this, FIX::EncodedTextLen);
  332. FIELD_SET(*this, FIX::EncodedText);
  333. FIELD_SET(*this, FIX::NumDaysInterest);
  334. FIELD_SET(*this, FIX::AccruedInterestRate);
  335. FIELD_SET(*this, FIX::AccruedInterestAmt);
  336. FIELD_SET(*this, FIX::TotalAccruedInterestAmt);
  337. FIELD_SET(*this, FIX::InterestAtMaturity);
  338. FIELD_SET(*this, FIX::EndAccruedInterestAmt);
  339. FIELD_SET(*this, FIX::StartCash);
  340. FIELD_SET(*this, FIX::EndCash);
  341. FIELD_SET(*this, FIX::LegalConfirm);
  342. FIELD_SET(*this, FIX::NoStipulations);
  343. class NoStipulations: public FIX::Group
  344. {
  345. public:
  346. NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
  347. FIELD_SET(*this, FIX::StipulationType);
  348. FIELD_SET(*this, FIX::StipulationValue);
  349. };
  350. FIELD_SET(*this, FIX::YieldType);
  351. FIELD_SET(*this, FIX::Yield);
  352. FIELD_SET(*this, FIX::YieldCalcDate);
  353. FIELD_SET(*this, FIX::YieldRedemptionDate);
  354. FIELD_SET(*this, FIX::YieldRedemptionPrice);
  355. FIELD_SET(*this, FIX::YieldRedemptionPriceType);
  356. FIELD_SET(*this, FIX::NoPosAmt);
  357. class NoPosAmt: public FIX::Group
  358. {
  359. public:
  360. NoPosAmt() : FIX::Group(753,707,FIX::message_order(707,708,1055,0)) {}
  361. FIELD_SET(*this, FIX::PosAmtType);
  362. FIELD_SET(*this, FIX::PosAmt);
  363. FIELD_SET(*this, FIX::PositionCurrency);
  364. };
  365. FIELD_SET(*this, FIX::TotNoAllocs);
  366. FIELD_SET(*this, FIX::LastFragment);
  367. FIELD_SET(*this, FIX::NoAllocs);
  368. class NoAllocs: public FIX::Group
  369. {
  370. public:
  371. 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)) {}
  372. FIELD_SET(*this, FIX::AllocAccount);
  373. FIELD_SET(*this, FIX::AllocAcctIDSource);
  374. FIELD_SET(*this, FIX::MatchStatus);
  375. FIELD_SET(*this, FIX::AllocPrice);
  376. FIELD_SET(*this, FIX::AllocQty);
  377. FIELD_SET(*this, FIX::IndividualAllocID);
  378. FIELD_SET(*this, FIX::ProcessCode);
  379. FIELD_SET(*this, FIX::SecondaryIndividualAllocID);
  380. FIELD_SET(*this, FIX::AllocMethod);
  381. FIELD_SET(*this, FIX::AllocCustomerCapacity);
  382. FIELD_SET(*this, FIX::AllocPositionEffect);
  383. FIELD_SET(*this, FIX::IndividualAllocType);
  384. FIELD_SET(*this, FIX::NoNestedPartyIDs);
  385. class NoNestedPartyIDs: public FIX::Group
  386. {
  387. public:
  388. NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
  389. FIELD_SET(*this, FIX::NestedPartyID);
  390. FIELD_SET(*this, FIX::NestedPartyIDSource);
  391. FIELD_SET(*this, FIX::NestedPartyRole);
  392. FIELD_SET(*this, FIX::NoNestedPartySubIDs);
  393. class NoNestedPartySubIDs: public FIX::Group
  394. {
  395. public:
  396. NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
  397. FIELD_SET(*this, FIX::NestedPartySubID);
  398. FIELD_SET(*this, FIX::NestedPartySubIDType);
  399. };
  400. };
  401. FIELD_SET(*this, FIX::NotifyBrokerOfCredit);
  402. FIELD_SET(*this, FIX::AllocHandlInst);
  403. FIELD_SET(*this, FIX::AllocText);
  404. FIELD_SET(*this, FIX::EncodedAllocTextLen);
  405. FIELD_SET(*this, FIX::EncodedAllocText);
  406. FIELD_SET(*this, FIX::Commission);
  407. FIELD_SET(*this, FIX::CommType);
  408. FIELD_SET(*this, FIX::CommCurrency);
  409. FIELD_SET(*this, FIX::FundRenewWaiv);
  410. FIELD_SET(*this, FIX::AllocAvgPx);
  411. FIELD_SET(*this, FIX::AllocNetMoney);
  412. FIELD_SET(*this, FIX::SettlCurrAmt);
  413. FIELD_SET(*this, FIX::AllocSettlCurrAmt);
  414. FIELD_SET(*this, FIX::SettlCurrency);
  415. FIELD_SET(*this, FIX::AllocSettlCurrency);
  416. FIELD_SET(*this, FIX::SettlCurrFxRate);
  417. FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
  418. FIELD_SET(*this, FIX::AllocAccruedInterestAmt);
  419. FIELD_SET(*this, FIX::AllocInterestAtMaturity);
  420. FIELD_SET(*this, FIX::NoMiscFees);
  421. class NoMiscFees: public FIX::Group
  422. {
  423. public:
  424. NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
  425. FIELD_SET(*this, FIX::MiscFeeAmt);
  426. FIELD_SET(*this, FIX::MiscFeeCurr);
  427. FIELD_SET(*this, FIX::MiscFeeType);
  428. FIELD_SET(*this, FIX::MiscFeeBasis);
  429. };
  430. FIELD_SET(*this, FIX::NoClearingInstructions);
  431. class NoClearingInstructions: public FIX::Group
  432. {
  433. public:
  434. NoClearingInstructions() : FIX::Group(576,577,FIX::message_order(577,0)) {}
  435. FIELD_SET(*this, FIX::ClearingInstruction);
  436. };
  437. FIELD_SET(*this, FIX::ClearingFeeIndicator);
  438. FIELD_SET(*this, FIX::AllocSettlInstType);
  439. FIELD_SET(*this, FIX::SettlDeliveryType);
  440. FIELD_SET(*this, FIX::StandInstDbType);
  441. FIELD_SET(*this, FIX::StandInstDbName);
  442. FIELD_SET(*this, FIX::StandInstDbID);
  443. };
  444. };
  445. }
  446. #endif