QuoteRequest.h 990 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef FIX40_QUOTEREQUEST_H
  2. #define FIX40_QUOTEREQUEST_H
  3. #include "Message.h"
  4. namespace FIX40
  5. {
  6. class QuoteRequest : public Message
  7. {
  8. public:
  9. QuoteRequest() : Message(MsgType()) {}
  10. QuoteRequest(const FIX::Message& m) : Message(m) {}
  11. QuoteRequest(const Message& m) : Message(m) {}
  12. QuoteRequest(const QuoteRequest& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("R"); }
  14. QuoteRequest(
  15. const FIX::QuoteReqID& aQuoteReqID,
  16. const FIX::Symbol& aSymbol )
  17. : Message(MsgType())
  18. {
  19. set(aQuoteReqID);
  20. set(aSymbol);
  21. }
  22. FIELD_SET(*this, FIX::QuoteReqID);
  23. FIELD_SET(*this, FIX::Symbol);
  24. FIELD_SET(*this, FIX::SymbolSfx);
  25. FIELD_SET(*this, FIX::SecurityID);
  26. FIELD_SET(*this, FIX::IDSource);
  27. FIELD_SET(*this, FIX::Issuer);
  28. FIELD_SET(*this, FIX::SecurityDesc);
  29. FIELD_SET(*this, FIX::PrevClosePx);
  30. FIELD_SET(*this, FIX::Side);
  31. FIELD_SET(*this, FIX::OrderQty);
  32. };
  33. }
  34. #endif