QuoteStatusRequest.h 1.5 KB

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