SecurityStatus.h 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #ifndef FIX43_SECURITYSTATUS_H
  2. #define FIX43_SECURITYSTATUS_H
  3. #include "Message.h"
  4. namespace FIX43
  5. {
  6. class SecurityStatus : public Message
  7. {
  8. public:
  9. SecurityStatus() : Message(MsgType()) {}
  10. SecurityStatus(const FIX::Message& m) : Message(m) {}
  11. SecurityStatus(const Message& m) : Message(m) {}
  12. SecurityStatus(const SecurityStatus& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("f"); }
  14. FIELD_SET(*this, FIX::SecurityStatusReqID);
  15. FIELD_SET(*this, FIX::Symbol);
  16. FIELD_SET(*this, FIX::SymbolSfx);
  17. FIELD_SET(*this, FIX::SecurityID);
  18. FIELD_SET(*this, FIX::SecurityIDSource);
  19. FIELD_SET(*this, FIX::Product);
  20. FIELD_SET(*this, FIX::CFICode);
  21. FIELD_SET(*this, FIX::SecurityType);
  22. FIELD_SET(*this, FIX::MaturityMonthYear);
  23. FIELD_SET(*this, FIX::MaturityDate);
  24. FIELD_SET(*this, FIX::CouponPaymentDate);
  25. FIELD_SET(*this, FIX::IssueDate);
  26. FIELD_SET(*this, FIX::RepoCollateralSecurityType);
  27. FIELD_SET(*this, FIX::RepurchaseTerm);
  28. FIELD_SET(*this, FIX::RepurchaseRate);
  29. FIELD_SET(*this, FIX::Factor);
  30. FIELD_SET(*this, FIX::CreditRating);
  31. FIELD_SET(*this, FIX::InstrRegistry);
  32. FIELD_SET(*this, FIX::CountryOfIssue);
  33. FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
  34. FIELD_SET(*this, FIX::LocaleOfIssue);
  35. FIELD_SET(*this, FIX::RedemptionDate);
  36. FIELD_SET(*this, FIX::StrikePrice);
  37. FIELD_SET(*this, FIX::OptAttribute);
  38. FIELD_SET(*this, FIX::ContractMultiplier);
  39. FIELD_SET(*this, FIX::CouponRate);
  40. FIELD_SET(*this, FIX::SecurityExchange);
  41. FIELD_SET(*this, FIX::Issuer);
  42. FIELD_SET(*this, FIX::EncodedIssuerLen);
  43. FIELD_SET(*this, FIX::EncodedIssuer);
  44. FIELD_SET(*this, FIX::SecurityDesc);
  45. FIELD_SET(*this, FIX::EncodedSecurityDescLen);
  46. FIELD_SET(*this, FIX::EncodedSecurityDesc);
  47. FIELD_SET(*this, FIX::NoSecurityAltID);
  48. class NoSecurityAltID: public FIX::Group
  49. {
  50. public:
  51. NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
  52. FIELD_SET(*this, FIX::SecurityAltID);
  53. FIELD_SET(*this, FIX::SecurityAltIDSource);
  54. };
  55. FIELD_SET(*this, FIX::Currency);
  56. FIELD_SET(*this, FIX::TradingSessionID);
  57. FIELD_SET(*this, FIX::TradingSessionSubID);
  58. FIELD_SET(*this, FIX::UnsolicitedIndicator);
  59. FIELD_SET(*this, FIX::SecurityTradingStatus);
  60. FIELD_SET(*this, FIX::FinancialStatus);
  61. FIELD_SET(*this, FIX::CorporateAction);
  62. FIELD_SET(*this, FIX::HaltReasonChar);
  63. FIELD_SET(*this, FIX::InViewOfCommon);
  64. FIELD_SET(*this, FIX::DueToRelated);
  65. FIELD_SET(*this, FIX::BuyVolume);
  66. FIELD_SET(*this, FIX::SellVolume);
  67. FIELD_SET(*this, FIX::HighPx);
  68. FIELD_SET(*this, FIX::LowPx);
  69. FIELD_SET(*this, FIX::LastPx);
  70. FIELD_SET(*this, FIX::TransactTime);
  71. FIELD_SET(*this, FIX::Adjustment);
  72. FIELD_SET(*this, FIX::Text);
  73. FIELD_SET(*this, FIX::EncodedTextLen);
  74. FIELD_SET(*this, FIX::EncodedText);
  75. };
  76. }
  77. #endif