DerivativeSecurityListRequest.h 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. #ifndef FIX50_DERIVATIVESECURITYLISTREQUEST_H
  2. #define FIX50_DERIVATIVESECURITYLISTREQUEST_H
  3. #include "Message.h"
  4. namespace FIX50
  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::UnderlyingUnitOfMeasure);
  52. FIELD_SET(*this, FIX::UnderlyingTimeUnit);
  53. FIELD_SET(*this, FIX::UnderlyingCouponRate);
  54. FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
  55. FIELD_SET(*this, FIX::UnderlyingIssuer);
  56. FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
  57. FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
  58. FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
  59. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
  60. FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
  61. FIELD_SET(*this, FIX::UnderlyingCPProgram);
  62. FIELD_SET(*this, FIX::UnderlyingCPRegType);
  63. FIELD_SET(*this, FIX::UnderlyingAllocationPercent);
  64. FIELD_SET(*this, FIX::UnderlyingCurrency);
  65. FIELD_SET(*this, FIX::UnderlyingQty);
  66. FIELD_SET(*this, FIX::UnderlyingSettlementType);
  67. FIELD_SET(*this, FIX::UnderlyingCashAmount);
  68. FIELD_SET(*this, FIX::UnderlyingCashType);
  69. FIELD_SET(*this, FIX::UnderlyingPx);
  70. FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
  71. FIELD_SET(*this, FIX::UnderlyingEndPrice);
  72. FIELD_SET(*this, FIX::UnderlyingStartValue);
  73. FIELD_SET(*this, FIX::UnderlyingCurrentValue);
  74. FIELD_SET(*this, FIX::UnderlyingEndValue);
  75. FIELD_SET(*this, FIX::UnderlyingAdjustedQuantity);
  76. FIELD_SET(*this, FIX::UnderlyingFXRate);
  77. FIELD_SET(*this, FIX::UnderlyingFXRateCalc);
  78. FIELD_SET(*this, FIX::UnderlyingCapValue);
  79. FIELD_SET(*this, FIX::UnderlyingSettlMethod);
  80. FIELD_SET(*this, FIX::SecuritySubType);
  81. FIELD_SET(*this, FIX::Currency);
  82. FIELD_SET(*this, FIX::Text);
  83. FIELD_SET(*this, FIX::EncodedTextLen);
  84. FIELD_SET(*this, FIX::EncodedText);
  85. FIELD_SET(*this, FIX::TradingSessionID);
  86. FIELD_SET(*this, FIX::TradingSessionSubID);
  87. FIELD_SET(*this, FIX::SubscriptionRequestType);
  88. };
  89. }
  90. #endif