ListStrikePrice.h 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #ifndef FIX43_LISTSTRIKEPRICE_H
  2. #define FIX43_LISTSTRIKEPRICE_H
  3. #include "Message.h"
  4. namespace FIX43
  5. {
  6. class ListStrikePrice : public Message
  7. {
  8. public:
  9. ListStrikePrice() : Message(MsgType()) {}
  10. ListStrikePrice(const FIX::Message& m) : Message(m) {}
  11. ListStrikePrice(const Message& m) : Message(m) {}
  12. ListStrikePrice(const ListStrikePrice& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("m"); }
  14. ListStrikePrice(
  15. const FIX::ListID& aListID,
  16. const FIX::TotNoStrikes& aTotNoStrikes )
  17. : Message(MsgType())
  18. {
  19. set(aListID);
  20. set(aTotNoStrikes);
  21. }
  22. FIELD_SET(*this, FIX::ListID);
  23. FIELD_SET(*this, FIX::TotNoStrikes);
  24. FIELD_SET(*this, FIX::NoStrikes);
  25. class NoStrikes: public FIX::Group
  26. {
  27. public:
  28. NoStrikes() : FIX::Group(428,55,FIX::message_order(55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,140,11,526,54,44,15,58,354,355,0)) {}
  29. FIELD_SET(*this, FIX::Symbol);
  30. FIELD_SET(*this, FIX::SymbolSfx);
  31. FIELD_SET(*this, FIX::SecurityID);
  32. FIELD_SET(*this, FIX::SecurityIDSource);
  33. FIELD_SET(*this, FIX::Product);
  34. FIELD_SET(*this, FIX::CFICode);
  35. FIELD_SET(*this, FIX::SecurityType);
  36. FIELD_SET(*this, FIX::MaturityMonthYear);
  37. FIELD_SET(*this, FIX::MaturityDate);
  38. FIELD_SET(*this, FIX::CouponPaymentDate);
  39. FIELD_SET(*this, FIX::IssueDate);
  40. FIELD_SET(*this, FIX::RepoCollateralSecurityType);
  41. FIELD_SET(*this, FIX::RepurchaseTerm);
  42. FIELD_SET(*this, FIX::RepurchaseRate);
  43. FIELD_SET(*this, FIX::Factor);
  44. FIELD_SET(*this, FIX::CreditRating);
  45. FIELD_SET(*this, FIX::InstrRegistry);
  46. FIELD_SET(*this, FIX::CountryOfIssue);
  47. FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
  48. FIELD_SET(*this, FIX::LocaleOfIssue);
  49. FIELD_SET(*this, FIX::RedemptionDate);
  50. FIELD_SET(*this, FIX::StrikePrice);
  51. FIELD_SET(*this, FIX::OptAttribute);
  52. FIELD_SET(*this, FIX::ContractMultiplier);
  53. FIELD_SET(*this, FIX::CouponRate);
  54. FIELD_SET(*this, FIX::SecurityExchange);
  55. FIELD_SET(*this, FIX::Issuer);
  56. FIELD_SET(*this, FIX::EncodedIssuerLen);
  57. FIELD_SET(*this, FIX::EncodedIssuer);
  58. FIELD_SET(*this, FIX::SecurityDesc);
  59. FIELD_SET(*this, FIX::EncodedSecurityDescLen);
  60. FIELD_SET(*this, FIX::EncodedSecurityDesc);
  61. FIELD_SET(*this, FIX::NoSecurityAltID);
  62. class NoSecurityAltID: public FIX::Group
  63. {
  64. public:
  65. NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
  66. FIELD_SET(*this, FIX::SecurityAltID);
  67. FIELD_SET(*this, FIX::SecurityAltIDSource);
  68. };
  69. FIELD_SET(*this, FIX::PrevClosePx);
  70. FIELD_SET(*this, FIX::ClOrdID);
  71. FIELD_SET(*this, FIX::SecondaryClOrdID);
  72. FIELD_SET(*this, FIX::Side);
  73. FIELD_SET(*this, FIX::Price);
  74. FIELD_SET(*this, FIX::Currency);
  75. FIELD_SET(*this, FIX::Text);
  76. FIELD_SET(*this, FIX::EncodedTextLen);
  77. FIELD_SET(*this, FIX::EncodedText);
  78. };
  79. };
  80. }
  81. #endif