TradingSessionListRequest.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef FIX50SP1_TRADINGSESSIONLISTREQUEST_H
  2. #define FIX50SP1_TRADINGSESSIONLISTREQUEST_H
  3. #include "Message.h"
  4. namespace FIX50SP1
  5. {
  6. class TradingSessionListRequest : public Message
  7. {
  8. public:
  9. TradingSessionListRequest() : Message(MsgType()) {}
  10. TradingSessionListRequest(const FIX::Message& m) : Message(m) {}
  11. TradingSessionListRequest(const Message& m) : Message(m) {}
  12. TradingSessionListRequest(const TradingSessionListRequest& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("BI"); }
  14. TradingSessionListRequest(
  15. const FIX::TradSesReqID& aTradSesReqID,
  16. const FIX::SubscriptionRequestType& aSubscriptionRequestType )
  17. : Message(MsgType())
  18. {
  19. set(aTradSesReqID);
  20. set(aSubscriptionRequestType);
  21. }
  22. FIELD_SET(*this, FIX::TradSesReqID);
  23. FIELD_SET(*this, FIX::MarketID);
  24. FIELD_SET(*this, FIX::MarketSegmentID);
  25. FIELD_SET(*this, FIX::TradingSessionID);
  26. FIELD_SET(*this, FIX::TradingSessionSubID);
  27. FIELD_SET(*this, FIX::SecurityExchange);
  28. FIELD_SET(*this, FIX::TradSesMethod);
  29. FIELD_SET(*this, FIX::TradSesMode);
  30. FIELD_SET(*this, FIX::SubscriptionRequestType);
  31. };
  32. }
  33. #endif