SecurityStatusRequest.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #ifndef FIX42_SECURITYSTATUSREQUEST_H
  2. #define FIX42_SECURITYSTATUSREQUEST_H
  3. #include "Message.h"
  4. namespace FIX42
  5. {
  6. class SecurityStatusRequest : public Message
  7. {
  8. public:
  9. SecurityStatusRequest() : Message(MsgType()) {}
  10. SecurityStatusRequest(const FIX::Message& m) : Message(m) {}
  11. SecurityStatusRequest(const Message& m) : Message(m) {}
  12. SecurityStatusRequest(const SecurityStatusRequest& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("e"); }
  14. SecurityStatusRequest(
  15. const FIX::SecurityStatusReqID& aSecurityStatusReqID,
  16. const FIX::Symbol& aSymbol,
  17. const FIX::SubscriptionRequestType& aSubscriptionRequestType )
  18. : Message(MsgType())
  19. {
  20. set(aSecurityStatusReqID);
  21. set(aSymbol);
  22. set(aSubscriptionRequestType);
  23. }
  24. FIELD_SET(*this, FIX::SecurityStatusReqID);
  25. FIELD_SET(*this, FIX::Symbol);
  26. FIELD_SET(*this, FIX::SymbolSfx);
  27. FIELD_SET(*this, FIX::SecurityID);
  28. FIELD_SET(*this, FIX::IDSource);
  29. FIELD_SET(*this, FIX::SecurityType);
  30. FIELD_SET(*this, FIX::MaturityMonthYear);
  31. FIELD_SET(*this, FIX::MaturityDay);
  32. FIELD_SET(*this, FIX::PutOrCall);
  33. FIELD_SET(*this, FIX::StrikePrice);
  34. FIELD_SET(*this, FIX::OptAttribute);
  35. FIELD_SET(*this, FIX::ContractMultiplier);
  36. FIELD_SET(*this, FIX::CouponRate);
  37. FIELD_SET(*this, FIX::SecurityExchange);
  38. FIELD_SET(*this, FIX::Issuer);
  39. FIELD_SET(*this, FIX::EncodedIssuerLen);
  40. FIELD_SET(*this, FIX::EncodedIssuer);
  41. FIELD_SET(*this, FIX::SecurityDesc);
  42. FIELD_SET(*this, FIX::EncodedSecurityDescLen);
  43. FIELD_SET(*this, FIX::EncodedSecurityDesc);
  44. FIELD_SET(*this, FIX::Currency);
  45. FIELD_SET(*this, FIX::SubscriptionRequestType);
  46. FIELD_SET(*this, FIX::TradingSessionID);
  47. };
  48. }
  49. #endif