MarketDataIncrementalRefresh.h 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #ifndef FIX42_MARKETDATAINCREMENTALREFRESH_H
  2. #define FIX42_MARKETDATAINCREMENTALREFRESH_H
  3. #include "Message.h"
  4. namespace FIX42
  5. {
  6. class MarketDataIncrementalRefresh : public Message
  7. {
  8. public:
  9. MarketDataIncrementalRefresh() : Message(MsgType()) {}
  10. MarketDataIncrementalRefresh(const FIX::Message& m) : Message(m) {}
  11. MarketDataIncrementalRefresh(const Message& m) : Message(m) {}
  12. MarketDataIncrementalRefresh(const MarketDataIncrementalRefresh& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("X"); }
  14. FIELD_SET(*this, FIX::MDReqID);
  15. FIELD_SET(*this, FIX::NoMDEntries);
  16. class NoMDEntries: public FIX::Group
  17. {
  18. public:
  19. NoMDEntries() : FIX::Group(268,279,FIX::message_order(279,285,269,278,280,55,65,48,22,167,200,205,201,202,206,231,223,207,106,348,349,107,350,351,291,292,270,15,271,272,273,274,275,336,276,277,282,283,284,286,59,432,126,110,18,287,37,299,288,289,346,290,387,58,354,355,0)) {}
  20. FIELD_SET(*this, FIX::MDUpdateAction);
  21. FIELD_SET(*this, FIX::DeleteReason);
  22. FIELD_SET(*this, FIX::MDEntryType);
  23. FIELD_SET(*this, FIX::MDEntryID);
  24. FIELD_SET(*this, FIX::MDEntryRefID);
  25. FIELD_SET(*this, FIX::Symbol);
  26. FIELD_SET(*this, FIX::SymbolSfx);
  27. FIELD_SET(*this, FIX::SecurityID);
  28. FIELD_SET(*this, FIX::IDSource);
  29. FIELD_SET(*this, FIX::SecurityType);
  30. FIELD_SET(*this, FIX::MaturityMonthYear);
  31. FIELD_SET(*this, FIX::MaturityDay);
  32. FIELD_SET(*this, FIX::PutOrCall);
  33. FIELD_SET(*this, FIX::StrikePrice);
  34. FIELD_SET(*this, FIX::OptAttribute);
  35. FIELD_SET(*this, FIX::ContractMultiplier);
  36. FIELD_SET(*this, FIX::CouponRate);
  37. FIELD_SET(*this, FIX::SecurityExchange);
  38. FIELD_SET(*this, FIX::Issuer);
  39. FIELD_SET(*this, FIX::EncodedIssuerLen);
  40. FIELD_SET(*this, FIX::EncodedIssuer);
  41. FIELD_SET(*this, FIX::SecurityDesc);
  42. FIELD_SET(*this, FIX::EncodedSecurityDescLen);
  43. FIELD_SET(*this, FIX::EncodedSecurityDesc);
  44. FIELD_SET(*this, FIX::FinancialStatus);
  45. FIELD_SET(*this, FIX::CorporateAction);
  46. FIELD_SET(*this, FIX::MDEntryPx);
  47. FIELD_SET(*this, FIX::Currency);
  48. FIELD_SET(*this, FIX::MDEntrySize);
  49. FIELD_SET(*this, FIX::MDEntryDate);
  50. FIELD_SET(*this, FIX::MDEntryTime);
  51. FIELD_SET(*this, FIX::TickDirection);
  52. FIELD_SET(*this, FIX::MDMkt);
  53. FIELD_SET(*this, FIX::TradingSessionID);
  54. FIELD_SET(*this, FIX::QuoteCondition);
  55. FIELD_SET(*this, FIX::TradeCondition);
  56. FIELD_SET(*this, FIX::MDEntryOriginator);
  57. FIELD_SET(*this, FIX::LocationID);
  58. FIELD_SET(*this, FIX::DeskID);
  59. FIELD_SET(*this, FIX::OpenCloseSettleFlag);
  60. FIELD_SET(*this, FIX::TimeInForce);
  61. FIELD_SET(*this, FIX::ExpireDate);
  62. FIELD_SET(*this, FIX::ExpireTime);
  63. FIELD_SET(*this, FIX::MinQty);
  64. FIELD_SET(*this, FIX::ExecInst);
  65. FIELD_SET(*this, FIX::SellerDays);
  66. FIELD_SET(*this, FIX::OrderID);
  67. FIELD_SET(*this, FIX::QuoteEntryID);
  68. FIELD_SET(*this, FIX::MDEntryBuyer);
  69. FIELD_SET(*this, FIX::MDEntrySeller);
  70. FIELD_SET(*this, FIX::NumberOfOrders);
  71. FIELD_SET(*this, FIX::MDEntryPositionNo);
  72. FIELD_SET(*this, FIX::TotalVolumeTraded);
  73. FIELD_SET(*this, FIX::Text);
  74. FIELD_SET(*this, FIX::EncodedTextLen);
  75. FIELD_SET(*this, FIX::EncodedText);
  76. };
  77. };
  78. }
  79. #endif