DerivativeSecurityListRequest.h 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #ifndef FIX44_DERIVATIVESECURITYLISTREQUEST_H
  2. #define FIX44_DERIVATIVESECURITYLISTREQUEST_H
  3. #include "Message.h"
  4. namespace FIX44
  5. {
  6. class DerivativeSecurityListRequest : public Message
  7. {
  8. public:
  9. DerivativeSecurityListRequest() : Message(MsgType()) {}
  10. DerivativeSecurityListRequest(const FIX::Message& m) : Message(m) {}
  11. DerivativeSecurityListRequest(const Message& m) : Message(m) {}
  12. DerivativeSecurityListRequest(const DerivativeSecurityListRequest& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("z"); }
  14. DerivativeSecurityListRequest(
  15. const FIX::SecurityReqID& aSecurityReqID,
  16. const FIX::SecurityListRequestType& aSecurityListRequestType )
  17. : Message(MsgType())
  18. {
  19. set(aSecurityReqID);
  20. set(aSecurityListRequestType);
  21. }
  22. FIELD_SET(*this, FIX::SecurityReqID);
  23. FIELD_SET(*this, FIX::SecurityListRequestType);
  24. FIELD_SET(*this, FIX::UnderlyingSymbol);
  25. FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
  26. FIELD_SET(*this, FIX::UnderlyingSecurityID);
  27. FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
  28. FIELD_SET(*this, FIX::UnderlyingProduct);
  29. FIELD_SET(*this, FIX::UnderlyingCFICode);
  30. FIELD_SET(*this, FIX::UnderlyingSecurityType);
  31. FIELD_SET(*this, FIX::UnderlyingSecuritySubType);
  32. FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
  33. FIELD_SET(*this, FIX::UnderlyingMaturityDate);
  34. FIELD_SET(*this, FIX::UnderlyingPutOrCall);
  35. FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
  36. FIELD_SET(*this, FIX::UnderlyingIssueDate);
  37. FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
  38. FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
  39. FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
  40. FIELD_SET(*this, FIX::UnderlyingFactor);
  41. FIELD_SET(*this, FIX::UnderlyingCreditRating);
  42. FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
  43. FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
  44. FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
  45. FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
  46. FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
  47. FIELD_SET(*this, FIX::UnderlyingStrikePrice);
  48. FIELD_SET(*this, FIX::UnderlyingStrikeCurrency);
  49. FIELD_SET(*this, FIX::UnderlyingOptAttribute);
  50. FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
  51. FIELD_SET(*this, FIX::UnderlyingCouponRate);
  52. FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
  53. FIELD_SET(*this, FIX::UnderlyingIssuer);
  54. FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
  55. FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
  56. FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
  57. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
  58. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
  59. FIELD_SET(*this, FIX::UnderlyingCPProgram);
  60. FIELD_SET(*this, FIX::UnderlyingCPRegType);
  61. FIELD_SET(*this, FIX::UnderlyingCurrency);
  62. FIELD_SET(*this, FIX::UnderlyingQty);
  63. FIELD_SET(*this, FIX::UnderlyingPx);
  64. FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
  65. FIELD_SET(*this, FIX::UnderlyingEndPrice);
  66. FIELD_SET(*this, FIX::UnderlyingStartValue);
  67. FIELD_SET(*this, FIX::UnderlyingCurrentValue);
  68. FIELD_SET(*this, FIX::UnderlyingEndValue);
  69. FIELD_SET(*this, FIX::SecuritySubType);
  70. FIELD_SET(*this, FIX::Currency);
  71. FIELD_SET(*this, FIX::Text);
  72. FIELD_SET(*this, FIX::EncodedTextLen);
  73. FIELD_SET(*this, FIX::EncodedText);
  74. FIELD_SET(*this, FIX::TradingSessionID);
  75. FIELD_SET(*this, FIX::TradingSessionSubID);
  76. FIELD_SET(*this, FIX::SubscriptionRequestType);
  77. };
  78. }
  79. #endif