TradingSessionListUpdateReport.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #ifndef FIX50SP1_TRADINGSESSIONLISTUPDATEREPORT_H
  2. #define FIX50SP1_TRADINGSESSIONLISTUPDATEREPORT_H
  3. #include "Message.h"
  4. namespace FIX50SP1
  5. {
  6. class TradingSessionListUpdateReport : public Message
  7. {
  8. public:
  9. TradingSessionListUpdateReport() : Message(MsgType()) {}
  10. TradingSessionListUpdateReport(const FIX::Message& m) : Message(m) {}
  11. TradingSessionListUpdateReport(const Message& m) : Message(m) {}
  12. TradingSessionListUpdateReport(const TradingSessionListUpdateReport& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("BS"); }
  14. FIELD_SET(*this, FIX::ApplID);
  15. FIELD_SET(*this, FIX::ApplSeqNum);
  16. FIELD_SET(*this, FIX::ApplLastSeqNum);
  17. FIELD_SET(*this, FIX::ApplResendFlag);
  18. FIELD_SET(*this, FIX::TradSesReqID);
  19. FIELD_SET(*this, FIX::TradSesUpdateAction);
  20. FIELD_SET(*this, FIX::NoTradingSessions);
  21. class NoTradingSessions: public FIX::Group
  22. {
  23. public:
  24. NoTradingSessions() : FIX::Group(386,336,FIX::message_order(336,625,207,1301,1300,1326,338,339,325,340,567,341,342,343,344,345,387,58,354,355,0)) {}
  25. FIELD_SET(*this, FIX::TradingSessionID);
  26. FIELD_SET(*this, FIX::TradingSessionSubID);
  27. FIELD_SET(*this, FIX::SecurityExchange);
  28. FIELD_SET(*this, FIX::MarketID);
  29. FIELD_SET(*this, FIX::MarketSegmentID);
  30. FIELD_SET(*this, FIX::TradingSessionDesc);
  31. FIELD_SET(*this, FIX::TradSesMethod);
  32. FIELD_SET(*this, FIX::TradSesMode);
  33. FIELD_SET(*this, FIX::UnsolicitedIndicator);
  34. FIELD_SET(*this, FIX::TradSesStatus);
  35. FIELD_SET(*this, FIX::TradSesStatusRejReason);
  36. FIELD_SET(*this, FIX::TradSesStartTime);
  37. FIELD_SET(*this, FIX::TradSesOpenTime);
  38. FIELD_SET(*this, FIX::TradSesPreCloseTime);
  39. FIELD_SET(*this, FIX::TradSesCloseTime);
  40. FIELD_SET(*this, FIX::TradSesEndTime);
  41. FIELD_SET(*this, FIX::TotalVolumeTraded);
  42. FIELD_SET(*this, FIX::Text);
  43. FIELD_SET(*this, FIX::EncodedTextLen);
  44. FIELD_SET(*this, FIX::EncodedText);
  45. };
  46. };
  47. }
  48. #endif