OrderStatusRequest.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef FIX40_ORDERSTATUSREQUEST_H
  2. #define FIX40_ORDERSTATUSREQUEST_H
  3. #include "Message.h"
  4. namespace FIX40
  5. {
  6. class OrderStatusRequest : public Message
  7. {
  8. public:
  9. OrderStatusRequest() : Message(MsgType()) {}
  10. OrderStatusRequest(const FIX::Message& m) : Message(m) {}
  11. OrderStatusRequest(const Message& m) : Message(m) {}
  12. OrderStatusRequest(const OrderStatusRequest& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("H"); }
  14. OrderStatusRequest(
  15. const FIX::ClOrdID& aClOrdID,
  16. const FIX::Symbol& aSymbol,
  17. const FIX::Side& aSide )
  18. : Message(MsgType())
  19. {
  20. set(aClOrdID);
  21. set(aSymbol);
  22. set(aSide);
  23. }
  24. FIELD_SET(*this, FIX::OrderID);
  25. FIELD_SET(*this, FIX::ClOrdID);
  26. FIELD_SET(*this, FIX::ClientID);
  27. FIELD_SET(*this, FIX::ExecBroker);
  28. FIELD_SET(*this, FIX::Symbol);
  29. FIELD_SET(*this, FIX::SymbolSfx);
  30. FIELD_SET(*this, FIX::Issuer);
  31. FIELD_SET(*this, FIX::SecurityDesc);
  32. FIELD_SET(*this, FIX::Side);
  33. };
  34. }
  35. #endif