AllocationInstruction.h 18 KB

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