Merged
This commit is contained in:
1 parent
a19415dfe9
commit
2ddd467151
671 files changed
+124855
No files matched your search
@@ -0,0 +1,91 @@
|
||||
#ifndef FIX43_ADVERTISEMENT_H
|
||||
#define FIX43_ADVERTISEMENT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class Advertisement : public Message
|
||||
{
|
||||
public:
|
||||
Advertisement() : Message(MsgType()) {}
|
||||
Advertisement(const FIX::Message& m) : Message(m) {}
|
||||
Advertisement(const Message& m) : Message(m) {}
|
||||
Advertisement(const Advertisement& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("7"); }
|
||||
|
||||
Advertisement(
|
||||
const FIX::AdvId& aAdvId,
|
||||
const FIX::AdvTransType& aAdvTransType,
|
||||
const FIX::AdvSide& aAdvSide,
|
||||
const FIX::Quantity& aQuantity )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aAdvId);
|
||||
set(aAdvTransType);
|
||||
set(aAdvSide);
|
||||
set(aQuantity);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::AdvId);
|
||||
FIELD_SET(*this, FIX::AdvTransType);
|
||||
FIELD_SET(*this, FIX::AdvRefID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::AdvSide);
|
||||
FIELD_SET(*this, FIX::Quantity);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::TradeDate);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::URLLink);
|
||||
FIELD_SET(*this, FIX::LastMkt);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,193 @@
|
||||
#ifndef FIX43_ALLOCATION_H
|
||||
#define FIX43_ALLOCATION_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class Allocation : public Message
|
||||
{
|
||||
public:
|
||||
Allocation() : Message(MsgType()) {}
|
||||
Allocation(const FIX::Message& m) : Message(m) {}
|
||||
Allocation(const Message& m) : Message(m) {}
|
||||
Allocation(const Allocation& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("J"); }
|
||||
|
||||
Allocation(
|
||||
const FIX::AllocID& aAllocID,
|
||||
const FIX::AllocTransType& aAllocTransType,
|
||||
const FIX::AllocType& aAllocType,
|
||||
const FIX::Side& aSide,
|
||||
const FIX::Quantity& aQuantity,
|
||||
const FIX::AvgPx& aAvgPx,
|
||||
const FIX::TradeDate& aTradeDate )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aAllocID);
|
||||
set(aAllocTransType);
|
||||
set(aAllocType);
|
||||
set(aSide);
|
||||
set(aQuantity);
|
||||
set(aAvgPx);
|
||||
set(aTradeDate);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::AllocID);
|
||||
FIELD_SET(*this, FIX::AllocTransType);
|
||||
FIELD_SET(*this, FIX::AllocType);
|
||||
FIELD_SET(*this, FIX::RefAllocID);
|
||||
FIELD_SET(*this, FIX::AllocLinkID);
|
||||
FIELD_SET(*this, FIX::AllocLinkType);
|
||||
FIELD_SET(*this, FIX::BookingRefID);
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Quantity);
|
||||
FIELD_SET(*this, FIX::LastMkt);
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::AvgPx);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::AvgPrxPrecision);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::TradeDate);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::GrossTradeAmt);
|
||||
FIELD_SET(*this, FIX::Concession);
|
||||
FIELD_SET(*this, FIX::TotalTakedown);
|
||||
FIELD_SET(*this, FIX::NetMoney);
|
||||
FIELD_SET(*this, FIX::PositionEffect);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::NumDaysInterest);
|
||||
FIELD_SET(*this, FIX::AccruedInterestRate);
|
||||
FIELD_SET(*this, FIX::TotalAccruedInterestAmt);
|
||||
FIELD_SET(*this, FIX::LegalConfirm);
|
||||
FIELD_SET(*this, FIX::NoOrders);
|
||||
class NoOrders: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoOrders() : FIX::Group(73,11,FIX::message_order(11,37,198,526,66,0)) {}
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::SecondaryOrderID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoExecs);
|
||||
class NoExecs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoExecs() : FIX::Group(124,32,FIX::message_order(32,17,527,31,29,0)) {}
|
||||
FIELD_SET(*this, FIX::LastQty);
|
||||
FIELD_SET(*this, FIX::ExecID);
|
||||
FIELD_SET(*this, FIX::SecondaryExecID);
|
||||
FIELD_SET(*this, FIX::LastPx);
|
||||
FIELD_SET(*this, FIX::LastCapacity);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoAllocs);
|
||||
class NoAllocs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,366,80,467,81,539,208,209,161,360,361,12,13,479,497,153,154,119,120,155,156,159,160,136,0)) {}
|
||||
FIELD_SET(*this, FIX::AllocAccount);
|
||||
FIELD_SET(*this, FIX::AllocPrice);
|
||||
FIELD_SET(*this, FIX::AllocQty);
|
||||
FIELD_SET(*this, FIX::IndividualAllocID);
|
||||
FIELD_SET(*this, FIX::ProcessCode);
|
||||
FIELD_SET(*this, FIX::NoNestedPartyIDs);
|
||||
class NoNestedPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,545,0)) {}
|
||||
FIELD_SET(*this, FIX::NestedPartyID);
|
||||
FIELD_SET(*this, FIX::NestedPartyIDSource);
|
||||
FIELD_SET(*this, FIX::NestedPartyRole);
|
||||
FIELD_SET(*this, FIX::NestedPartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NotifyBrokerOfCredit);
|
||||
FIELD_SET(*this, FIX::AllocHandlInst);
|
||||
FIELD_SET(*this, FIX::AllocText);
|
||||
FIELD_SET(*this, FIX::EncodedAllocTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedAllocText);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CommCurrency);
|
||||
FIELD_SET(*this, FIX::FundRenewWaiv);
|
||||
FIELD_SET(*this, FIX::AllocAvgPx);
|
||||
FIELD_SET(*this, FIX::AllocNetMoney);
|
||||
FIELD_SET(*this, FIX::SettlCurrAmt);
|
||||
FIELD_SET(*this, FIX::SettlCurrency);
|
||||
FIELD_SET(*this, FIX::SettlCurrFxRate);
|
||||
FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
|
||||
FIELD_SET(*this, FIX::AccruedInterestAmt);
|
||||
FIELD_SET(*this, FIX::SettlInstMode);
|
||||
FIELD_SET(*this, FIX::NoMiscFees);
|
||||
class NoMiscFees: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,0)) {}
|
||||
FIELD_SET(*this, FIX::MiscFeeAmt);
|
||||
FIELD_SET(*this, FIX::MiscFeeCurr);
|
||||
FIELD_SET(*this, FIX::MiscFeeType);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,52 @@
|
||||
#ifndef FIX43_ALLOCATIONACK_H
|
||||
#define FIX43_ALLOCATIONACK_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class AllocationAck : public Message
|
||||
{
|
||||
public:
|
||||
AllocationAck() : Message(MsgType()) {}
|
||||
AllocationAck(const FIX::Message& m) : Message(m) {}
|
||||
AllocationAck(const Message& m) : Message(m) {}
|
||||
AllocationAck(const AllocationAck& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("P"); }
|
||||
|
||||
AllocationAck(
|
||||
const FIX::AllocID& aAllocID,
|
||||
const FIX::TradeDate& aTradeDate,
|
||||
const FIX::AllocStatus& aAllocStatus )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aAllocID);
|
||||
set(aTradeDate);
|
||||
set(aAllocStatus);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::AllocID);
|
||||
FIELD_SET(*this, FIX::TradeDate);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::AllocStatus);
|
||||
FIELD_SET(*this, FIX::AllocRejCode);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::LegalConfirm);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,97 @@
|
||||
#ifndef FIX43_BIDREQUEST_H
|
||||
#define FIX43_BIDREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class BidRequest : public Message
|
||||
{
|
||||
public:
|
||||
BidRequest() : Message(MsgType()) {}
|
||||
BidRequest(const FIX::Message& m) : Message(m) {}
|
||||
BidRequest(const Message& m) : Message(m) {}
|
||||
BidRequest(const BidRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("k"); }
|
||||
|
||||
BidRequest(
|
||||
const FIX::ClientBidID& aClientBidID,
|
||||
const FIX::BidRequestTransType& aBidRequestTransType,
|
||||
const FIX::TotalNumSecurities& aTotalNumSecurities,
|
||||
const FIX::BidType& aBidType,
|
||||
const FIX::TradeType& aTradeType,
|
||||
const FIX::BasisPxType& aBasisPxType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aClientBidID);
|
||||
set(aBidRequestTransType);
|
||||
set(aTotalNumSecurities);
|
||||
set(aBidType);
|
||||
set(aTradeType);
|
||||
set(aBasisPxType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::BidID);
|
||||
FIELD_SET(*this, FIX::ClientBidID);
|
||||
FIELD_SET(*this, FIX::BidRequestTransType);
|
||||
FIELD_SET(*this, FIX::ListName);
|
||||
FIELD_SET(*this, FIX::TotalNumSecurities);
|
||||
FIELD_SET(*this, FIX::BidType);
|
||||
FIELD_SET(*this, FIX::NumTickets);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::SideValue1);
|
||||
FIELD_SET(*this, FIX::SideValue2);
|
||||
FIELD_SET(*this, FIX::LiquidityIndType);
|
||||
FIELD_SET(*this, FIX::WtAverageLiquidity);
|
||||
FIELD_SET(*this, FIX::ExchangeForPhysical);
|
||||
FIELD_SET(*this, FIX::OutMainCntryUIndex);
|
||||
FIELD_SET(*this, FIX::CrossPercent);
|
||||
FIELD_SET(*this, FIX::ProgRptReqs);
|
||||
FIELD_SET(*this, FIX::ProgPeriodInterval);
|
||||
FIELD_SET(*this, FIX::IncTaxInd);
|
||||
FIELD_SET(*this, FIX::ForexReq);
|
||||
FIELD_SET(*this, FIX::NumBidders);
|
||||
FIELD_SET(*this, FIX::TradeDate);
|
||||
FIELD_SET(*this, FIX::TradeType);
|
||||
FIELD_SET(*this, FIX::BasisPxType);
|
||||
FIELD_SET(*this, FIX::StrikeTime);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::NoBidDescriptors);
|
||||
class NoBidDescriptors: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoBidDescriptors() : FIX::Group(398,399,FIX::message_order(399,400,401,404,441,402,403,405,406,407,408,0)) {}
|
||||
FIELD_SET(*this, FIX::BidDescriptorType);
|
||||
FIELD_SET(*this, FIX::BidDescriptor);
|
||||
FIELD_SET(*this, FIX::SideValueInd);
|
||||
FIELD_SET(*this, FIX::LiquidityValue);
|
||||
FIELD_SET(*this, FIX::LiquidityNumSecurities);
|
||||
FIELD_SET(*this, FIX::LiquidityPctLow);
|
||||
FIELD_SET(*this, FIX::LiquidityPctHigh);
|
||||
FIELD_SET(*this, FIX::EFPTrackingError);
|
||||
FIELD_SET(*this, FIX::FairValue);
|
||||
FIELD_SET(*this, FIX::OutsideIndexPct);
|
||||
FIELD_SET(*this, FIX::ValueOfFutures);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoBidComponents);
|
||||
class NoBidComponents: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoBidComponents() : FIX::Group(420,66,FIX::message_order(66,54,336,625,430,63,64,1,0)) {}
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::NetGrossInd);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,48 @@
|
||||
#ifndef FIX43_BIDRESPONSE_H
|
||||
#define FIX43_BIDRESPONSE_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class BidResponse : public Message
|
||||
{
|
||||
public:
|
||||
BidResponse() : Message(MsgType()) {}
|
||||
BidResponse(const FIX::Message& m) : Message(m) {}
|
||||
BidResponse(const Message& m) : Message(m) {}
|
||||
BidResponse(const BidResponse& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("l"); }
|
||||
|
||||
FIELD_SET(*this, FIX::BidID);
|
||||
FIELD_SET(*this, FIX::ClientBidID);
|
||||
FIELD_SET(*this, FIX::NoBidComponents);
|
||||
class NoBidComponents: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoBidComponents() : FIX::Group(420,12,FIX::message_order(12,13,479,497,66,421,54,44,423,406,430,63,64,336,625,58,354,355,0)) {}
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CommCurrency);
|
||||
FIELD_SET(*this, FIX::FundRenewWaiv);
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::Country);
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::FairValue);
|
||||
FIELD_SET(*this, FIX::NetGrossInd);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,38 @@
|
||||
#ifndef FIX43_BUSINESSMESSAGEREJECT_H
|
||||
#define FIX43_BUSINESSMESSAGEREJECT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class BusinessMessageReject : public Message
|
||||
{
|
||||
public:
|
||||
BusinessMessageReject() : Message(MsgType()) {}
|
||||
BusinessMessageReject(const FIX::Message& m) : Message(m) {}
|
||||
BusinessMessageReject(const Message& m) : Message(m) {}
|
||||
BusinessMessageReject(const BusinessMessageReject& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("j"); }
|
||||
|
||||
BusinessMessageReject(
|
||||
const FIX::RefMsgType& aRefMsgType,
|
||||
const FIX::BusinessRejectReason& aBusinessRejectReason )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aRefMsgType);
|
||||
set(aBusinessRejectReason);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::RefSeqNum);
|
||||
FIELD_SET(*this, FIX::RefMsgType);
|
||||
FIELD_SET(*this, FIX::BusinessRejectRefID);
|
||||
FIELD_SET(*this, FIX::BusinessRejectReason);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,214 @@
|
||||
#ifndef FIX43_CROSSORDERCANCELREPLACEREQUEST_H
|
||||
#define FIX43_CROSSORDERCANCELREPLACEREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class CrossOrderCancelReplaceRequest : public Message
|
||||
{
|
||||
public:
|
||||
CrossOrderCancelReplaceRequest() : Message(MsgType()) {}
|
||||
CrossOrderCancelReplaceRequest(const FIX::Message& m) : Message(m) {}
|
||||
CrossOrderCancelReplaceRequest(const Message& m) : Message(m) {}
|
||||
CrossOrderCancelReplaceRequest(const CrossOrderCancelReplaceRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("t"); }
|
||||
|
||||
CrossOrderCancelReplaceRequest(
|
||||
const FIX::CrossID& aCrossID,
|
||||
const FIX::OrigCrossID& aOrigCrossID,
|
||||
const FIX::CrossType& aCrossType,
|
||||
const FIX::CrossPrioritization& aCrossPrioritization,
|
||||
const FIX::HandlInst& aHandlInst,
|
||||
const FIX::TransactTime& aTransactTime,
|
||||
const FIX::OrdType& aOrdType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aCrossID);
|
||||
set(aOrigCrossID);
|
||||
set(aCrossType);
|
||||
set(aCrossPrioritization);
|
||||
set(aHandlInst);
|
||||
set(aTransactTime);
|
||||
set(aOrdType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::CrossID);
|
||||
FIELD_SET(*this, FIX::OrigCrossID);
|
||||
FIELD_SET(*this, FIX::CrossType);
|
||||
FIELD_SET(*this, FIX::CrossPrioritization);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::HandlInst);
|
||||
FIELD_SET(*this, FIX::ExecInst);
|
||||
FIELD_SET(*this, FIX::MinQty);
|
||||
FIELD_SET(*this, FIX::MaxFloor);
|
||||
FIELD_SET(*this, FIX::ExDestination);
|
||||
FIELD_SET(*this, FIX::ProcessCode);
|
||||
FIELD_SET(*this, FIX::PrevClosePx);
|
||||
FIELD_SET(*this, FIX::LocateReqd);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::NoStipulations);
|
||||
class NoStipulations: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
|
||||
FIELD_SET(*this, FIX::StipulationType);
|
||||
FIELD_SET(*this, FIX::StipulationValue);
|
||||
};
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::StopPx);
|
||||
FIELD_SET(*this, FIX::Spread);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveName);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
|
||||
FIELD_SET(*this, FIX::YieldType);
|
||||
FIELD_SET(*this, FIX::Yield);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::ComplianceID);
|
||||
FIELD_SET(*this, FIX::IOIid);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::TimeInForce);
|
||||
FIELD_SET(*this, FIX::EffectiveTime);
|
||||
FIELD_SET(*this, FIX::ExpireDate);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::GTBookingInst);
|
||||
FIELD_SET(*this, FIX::MaxShow);
|
||||
FIELD_SET(*this, FIX::PegDifference);
|
||||
FIELD_SET(*this, FIX::DiscretionInst);
|
||||
FIELD_SET(*this, FIX::DiscretionOffset);
|
||||
FIELD_SET(*this, FIX::CancellationRights);
|
||||
FIELD_SET(*this, FIX::MoneyLaunderingStatus);
|
||||
FIELD_SET(*this, FIX::RegistID);
|
||||
FIELD_SET(*this, FIX::Designation);
|
||||
FIELD_SET(*this, FIX::AccruedInterestRate);
|
||||
FIELD_SET(*this, FIX::AccruedInterestAmt);
|
||||
FIELD_SET(*this, FIX::NetMoney);
|
||||
FIELD_SET(*this, FIX::NoSides);
|
||||
class NoSides: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSides() : FIX::Group(552,54,FIX::message_order(54,41,11,526,583,586,453,229,1,581,589,590,591,78,465,38,152,516,468,469,12,13,479,497,528,529,582,121,120,58,354,355,77,203,544,635,377,659,0)) {}
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::OrigClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::OrigOrdModTime);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::DayBookingInst);
|
||||
FIELD_SET(*this, FIX::BookingUnit);
|
||||
FIELD_SET(*this, FIX::PreallocMethod);
|
||||
FIELD_SET(*this, FIX::QuantityType);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CommCurrency);
|
||||
FIELD_SET(*this, FIX::FundRenewWaiv);
|
||||
FIELD_SET(*this, FIX::OrderCapacity);
|
||||
FIELD_SET(*this, FIX::OrderRestrictions);
|
||||
FIELD_SET(*this, FIX::CustOrderCapacity);
|
||||
FIELD_SET(*this, FIX::ForexReq);
|
||||
FIELD_SET(*this, FIX::SettlCurrency);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::PositionEffect);
|
||||
FIELD_SET(*this, FIX::CoveredOrUncovered);
|
||||
FIELD_SET(*this, FIX::CashMargin);
|
||||
FIELD_SET(*this, FIX::ClearingFeeIndicator);
|
||||
FIELD_SET(*this, FIX::SolicitedFlag);
|
||||
FIELD_SET(*this, FIX::SideComplianceID);
|
||||
FIELD_SET(*this, FIX::NoAllocs);
|
||||
class NoAllocs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,467,539,80,0)) {}
|
||||
FIELD_SET(*this, FIX::AllocAccount);
|
||||
FIELD_SET(*this, FIX::IndividualAllocID);
|
||||
FIELD_SET(*this, FIX::NoNestedPartyIDs);
|
||||
class NoNestedPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,545,0)) {}
|
||||
FIELD_SET(*this, FIX::NestedPartyID);
|
||||
FIELD_SET(*this, FIX::NestedPartyIDSource);
|
||||
FIELD_SET(*this, FIX::NestedPartyRole);
|
||||
FIELD_SET(*this, FIX::NestedPartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::AllocQty);
|
||||
};
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoTradingSessions);
|
||||
class NoTradingSessions: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoTradingSessions() : FIX::Group(386,336,FIX::message_order(336,625,0)) {}
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,115 @@
|
||||
#ifndef FIX43_CROSSORDERCANCELREQUEST_H
|
||||
#define FIX43_CROSSORDERCANCELREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class CrossOrderCancelRequest : public Message
|
||||
{
|
||||
public:
|
||||
CrossOrderCancelRequest() : Message(MsgType()) {}
|
||||
CrossOrderCancelRequest(const FIX::Message& m) : Message(m) {}
|
||||
CrossOrderCancelRequest(const Message& m) : Message(m) {}
|
||||
CrossOrderCancelRequest(const CrossOrderCancelRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("u"); }
|
||||
|
||||
CrossOrderCancelRequest(
|
||||
const FIX::CrossID& aCrossID,
|
||||
const FIX::OrigCrossID& aOrigCrossID,
|
||||
const FIX::CrossType& aCrossType,
|
||||
const FIX::CrossPrioritization& aCrossPrioritization,
|
||||
const FIX::TransactTime& aTransactTime )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aCrossID);
|
||||
set(aOrigCrossID);
|
||||
set(aCrossType);
|
||||
set(aCrossPrioritization);
|
||||
set(aTransactTime);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::CrossID);
|
||||
FIELD_SET(*this, FIX::OrigCrossID);
|
||||
FIELD_SET(*this, FIX::CrossType);
|
||||
FIELD_SET(*this, FIX::CrossPrioritization);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::NoSides);
|
||||
class NoSides: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSides() : FIX::Group(552,54,FIX::message_order(54,41,11,526,583,586,453,229,38,152,516,468,469,376,58,354,355,0)) {}
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::OrigClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::OrigOrdModTime);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::ComplianceID);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,179 @@
|
||||
#ifndef FIX43_DERIVATIVESECURITYLIST_H
|
||||
#define FIX43_DERIVATIVESECURITYLIST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class DerivativeSecurityList : public Message
|
||||
{
|
||||
public:
|
||||
DerivativeSecurityList() : Message(MsgType()) {}
|
||||
DerivativeSecurityList(const FIX::Message& m) : Message(m) {}
|
||||
DerivativeSecurityList(const Message& m) : Message(m) {}
|
||||
DerivativeSecurityList(const DerivativeSecurityList& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("AA"); }
|
||||
|
||||
DerivativeSecurityList(
|
||||
const FIX::SecurityReqID& aSecurityReqID,
|
||||
const FIX::SecurityResponseID& aSecurityResponseID,
|
||||
const FIX::SecurityRequestResult& aSecurityRequestResult )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aSecurityReqID);
|
||||
set(aSecurityResponseID);
|
||||
set(aSecurityRequestResult);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::SecurityReqID);
|
||||
FIELD_SET(*this, FIX::SecurityResponseID);
|
||||
FIELD_SET(*this, FIX::SecurityRequestResult);
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbol);
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::UnderlyingProduct);
|
||||
FIELD_SET(*this, FIX::UnderlyingCFICode);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingPutOrCall);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssueDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingFactor);
|
||||
FIELD_SET(*this, FIX::UnderlyingCreditRating);
|
||||
FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
|
||||
FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingStrikePrice);
|
||||
FIELD_SET(*this, FIX::UnderlyingOptAttribute);
|
||||
FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoUnderlyingSecurityAltID);
|
||||
class NoUnderlyingSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoUnderlyingSecurityAltID() : FIX::Group(457,458,FIX::message_order(458,459,0)) {}
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::TotalNumSecurities);
|
||||
FIELD_SET(*this, FIX::NoRelatedSym);
|
||||
class NoRelatedSym: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,15,555,336,625,58,354,355,0)) {}
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::NoLegs);
|
||||
class NoLegs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,604,607,608,609,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,613,614,615,616,617,618,619,620,621,622,623,624,556,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSymbol);
|
||||
FIELD_SET(*this, FIX::LegSymbolSfx);
|
||||
FIELD_SET(*this, FIX::LegSecurityID);
|
||||
FIELD_SET(*this, FIX::LegSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::LegProduct);
|
||||
FIELD_SET(*this, FIX::LegCFICode);
|
||||
FIELD_SET(*this, FIX::LegSecurityType);
|
||||
FIELD_SET(*this, FIX::LegMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::LegMaturityDate);
|
||||
FIELD_SET(*this, FIX::LegCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::LegIssueDate);
|
||||
FIELD_SET(*this, FIX::LegRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::LegFactor);
|
||||
FIELD_SET(*this, FIX::LegCreditRating);
|
||||
FIELD_SET(*this, FIX::LegInstrRegistry);
|
||||
FIELD_SET(*this, FIX::LegCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::LegStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LegLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::LegRedemptionDate);
|
||||
FIELD_SET(*this, FIX::LegStrikePrice);
|
||||
FIELD_SET(*this, FIX::LegOptAttribute);
|
||||
FIELD_SET(*this, FIX::LegContractMultiplier);
|
||||
FIELD_SET(*this, FIX::LegCouponRate);
|
||||
FIELD_SET(*this, FIX::LegSecurityExchange);
|
||||
FIELD_SET(*this, FIX::LegIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuer);
|
||||
FIELD_SET(*this, FIX::LegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::LegRatioQty);
|
||||
FIELD_SET(*this, FIX::LegSide);
|
||||
FIELD_SET(*this, FIX::NoLegSecurityAltID);
|
||||
class NoLegSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegSecurityAltID() : FIX::Group(604,605,FIX::message_order(605,606,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSecurityAltID);
|
||||
FIELD_SET(*this, FIX::LegSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::LegCurrency);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,81 @@
|
||||
#ifndef FIX43_DERIVATIVESECURITYLISTREQUEST_H
|
||||
#define FIX43_DERIVATIVESECURITYLISTREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class DerivativeSecurityListRequest : public Message
|
||||
{
|
||||
public:
|
||||
DerivativeSecurityListRequest() : Message(MsgType()) {}
|
||||
DerivativeSecurityListRequest(const FIX::Message& m) : Message(m) {}
|
||||
DerivativeSecurityListRequest(const Message& m) : Message(m) {}
|
||||
DerivativeSecurityListRequest(const DerivativeSecurityListRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("z"); }
|
||||
|
||||
DerivativeSecurityListRequest(
|
||||
const FIX::SecurityReqID& aSecurityReqID,
|
||||
const FIX::SecurityListRequestType& aSecurityListRequestType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aSecurityReqID);
|
||||
set(aSecurityListRequestType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::SecurityReqID);
|
||||
FIELD_SET(*this, FIX::SecurityListRequestType);
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbol);
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::UnderlyingProduct);
|
||||
FIELD_SET(*this, FIX::UnderlyingCFICode);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingPutOrCall);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssueDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingFactor);
|
||||
FIELD_SET(*this, FIX::UnderlyingCreditRating);
|
||||
FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
|
||||
FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingStrikePrice);
|
||||
FIELD_SET(*this, FIX::UnderlyingOptAttribute);
|
||||
FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoUnderlyingSecurityAltID);
|
||||
class NoUnderlyingSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoUnderlyingSecurityAltID() : FIX::Group(457,458,FIX::message_order(458,459,0)) {}
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::SubscriptionRequestType);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,89 @@
|
||||
#ifndef FIX43_DONTKNOWTRADE_H
|
||||
#define FIX43_DONTKNOWTRADE_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class DontKnowTrade : public Message
|
||||
{
|
||||
public:
|
||||
DontKnowTrade() : Message(MsgType()) {}
|
||||
DontKnowTrade(const FIX::Message& m) : Message(m) {}
|
||||
DontKnowTrade(const Message& m) : Message(m) {}
|
||||
DontKnowTrade(const DontKnowTrade& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("Q"); }
|
||||
|
||||
DontKnowTrade(
|
||||
const FIX::OrderID& aOrderID,
|
||||
const FIX::ExecID& aExecID,
|
||||
const FIX::DKReason& aDKReason,
|
||||
const FIX::Side& aSide )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aOrderID);
|
||||
set(aExecID);
|
||||
set(aDKReason);
|
||||
set(aSide);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::ExecID);
|
||||
FIELD_SET(*this, FIX::DKReason);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::LastQty);
|
||||
FIELD_SET(*this, FIX::LastPx);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,106 @@
|
||||
#ifndef FIX43_EMAIL_H
|
||||
#define FIX43_EMAIL_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class Email : public Message
|
||||
{
|
||||
public:
|
||||
Email() : Message(MsgType()) {}
|
||||
Email(const FIX::Message& m) : Message(m) {}
|
||||
Email(const Message& m) : Message(m) {}
|
||||
Email(const Email& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("C"); }
|
||||
|
||||
Email(
|
||||
const FIX::EmailThreadID& aEmailThreadID,
|
||||
const FIX::EmailType& aEmailType,
|
||||
const FIX::Subject& aSubject )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aEmailThreadID);
|
||||
set(aEmailType);
|
||||
set(aSubject);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::EmailThreadID);
|
||||
FIELD_SET(*this, FIX::EmailType);
|
||||
FIELD_SET(*this, FIX::OrigTime);
|
||||
FIELD_SET(*this, FIX::Subject);
|
||||
FIELD_SET(*this, FIX::EncodedSubjectLen);
|
||||
FIELD_SET(*this, FIX::EncodedSubject);
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::RawDataLength);
|
||||
FIELD_SET(*this, FIX::RawData);
|
||||
FIELD_SET(*this, FIX::NoRoutingIDs);
|
||||
class NoRoutingIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRoutingIDs() : FIX::Group(215,216,FIX::message_order(216,217,0)) {}
|
||||
FIELD_SET(*this, FIX::RoutingType);
|
||||
FIELD_SET(*this, FIX::RoutingID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoRelatedSym);
|
||||
class NoRelatedSym: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,0)) {}
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
};
|
||||
FIELD_SET(*this, FIX::LinesOfText);
|
||||
class LinesOfText: public FIX::Group
|
||||
{
|
||||
public:
|
||||
LinesOfText() : FIX::Group(33,58,FIX::message_order(58,354,355,0)) {}
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,307 @@
|
||||
#ifndef FIX43_EXECUTIONREPORT_H
|
||||
#define FIX43_EXECUTIONREPORT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class ExecutionReport : public Message
|
||||
{
|
||||
public:
|
||||
ExecutionReport() : Message(MsgType()) {}
|
||||
ExecutionReport(const FIX::Message& m) : Message(m) {}
|
||||
ExecutionReport(const Message& m) : Message(m) {}
|
||||
ExecutionReport(const ExecutionReport& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("8"); }
|
||||
|
||||
ExecutionReport(
|
||||
const FIX::OrderID& aOrderID,
|
||||
const FIX::ExecID& aExecID,
|
||||
const FIX::ExecType& aExecType,
|
||||
const FIX::OrdStatus& aOrdStatus,
|
||||
const FIX::Side& aSide,
|
||||
const FIX::LeavesQty& aLeavesQty,
|
||||
const FIX::CumQty& aCumQty,
|
||||
const FIX::AvgPx& aAvgPx )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aOrderID);
|
||||
set(aExecID);
|
||||
set(aExecType);
|
||||
set(aOrdStatus);
|
||||
set(aSide);
|
||||
set(aLeavesQty);
|
||||
set(aCumQty);
|
||||
set(aAvgPx);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::SecondaryOrderID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryExecID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::OrigClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::CrossID);
|
||||
FIELD_SET(*this, FIX::OrigCrossID);
|
||||
FIELD_SET(*this, FIX::CrossType);
|
||||
FIELD_SET(*this, FIX::ExecID);
|
||||
FIELD_SET(*this, FIX::ExecRefID);
|
||||
FIELD_SET(*this, FIX::ExecType);
|
||||
FIELD_SET(*this, FIX::OrdStatus);
|
||||
FIELD_SET(*this, FIX::WorkingIndicator);
|
||||
FIELD_SET(*this, FIX::OrdRejReason);
|
||||
FIELD_SET(*this, FIX::ExecRestatementReason);
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::DayBookingInst);
|
||||
FIELD_SET(*this, FIX::BookingUnit);
|
||||
FIELD_SET(*this, FIX::PreallocMethod);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::CashMargin);
|
||||
FIELD_SET(*this, FIX::ClearingFeeIndicator);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::NoStipulations);
|
||||
class NoStipulations: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
|
||||
FIELD_SET(*this, FIX::StipulationType);
|
||||
FIELD_SET(*this, FIX::StipulationValue);
|
||||
};
|
||||
FIELD_SET(*this, FIX::QuantityType);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::StopPx);
|
||||
FIELD_SET(*this, FIX::PegDifference);
|
||||
FIELD_SET(*this, FIX::DiscretionInst);
|
||||
FIELD_SET(*this, FIX::DiscretionOffset);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::ComplianceID);
|
||||
FIELD_SET(*this, FIX::SolicitedFlag);
|
||||
FIELD_SET(*this, FIX::TimeInForce);
|
||||
FIELD_SET(*this, FIX::EffectiveTime);
|
||||
FIELD_SET(*this, FIX::ExpireDate);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::ExecInst);
|
||||
FIELD_SET(*this, FIX::OrderCapacity);
|
||||
FIELD_SET(*this, FIX::OrderRestrictions);
|
||||
FIELD_SET(*this, FIX::CustOrderCapacity);
|
||||
FIELD_SET(*this, FIX::Rule80A);
|
||||
FIELD_SET(*this, FIX::LastQty);
|
||||
FIELD_SET(*this, FIX::UnderlyingLastQty);
|
||||
FIELD_SET(*this, FIX::LastPx);
|
||||
FIELD_SET(*this, FIX::UnderlyingLastPx);
|
||||
FIELD_SET(*this, FIX::LastSpotRate);
|
||||
FIELD_SET(*this, FIX::LastForwardPoints);
|
||||
FIELD_SET(*this, FIX::LastMkt);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::LastCapacity);
|
||||
FIELD_SET(*this, FIX::LeavesQty);
|
||||
FIELD_SET(*this, FIX::CumQty);
|
||||
FIELD_SET(*this, FIX::AvgPx);
|
||||
FIELD_SET(*this, FIX::DayOrderQty);
|
||||
FIELD_SET(*this, FIX::DayCumQty);
|
||||
FIELD_SET(*this, FIX::DayAvgPx);
|
||||
FIELD_SET(*this, FIX::GTBookingInst);
|
||||
FIELD_SET(*this, FIX::TradeDate);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::ReportToExch);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CommCurrency);
|
||||
FIELD_SET(*this, FIX::FundRenewWaiv);
|
||||
FIELD_SET(*this, FIX::Spread);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveName);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
|
||||
FIELD_SET(*this, FIX::YieldType);
|
||||
FIELD_SET(*this, FIX::Yield);
|
||||
FIELD_SET(*this, FIX::GrossTradeAmt);
|
||||
FIELD_SET(*this, FIX::NumDaysInterest);
|
||||
FIELD_SET(*this, FIX::ExDate);
|
||||
FIELD_SET(*this, FIX::AccruedInterestRate);
|
||||
FIELD_SET(*this, FIX::AccruedInterestAmt);
|
||||
FIELD_SET(*this, FIX::TradedFlatSwitch);
|
||||
FIELD_SET(*this, FIX::BasisFeatureDate);
|
||||
FIELD_SET(*this, FIX::BasisFeaturePrice);
|
||||
FIELD_SET(*this, FIX::Concession);
|
||||
FIELD_SET(*this, FIX::TotalTakedown);
|
||||
FIELD_SET(*this, FIX::NetMoney);
|
||||
FIELD_SET(*this, FIX::SettlCurrAmt);
|
||||
FIELD_SET(*this, FIX::SettlCurrency);
|
||||
FIELD_SET(*this, FIX::SettlCurrFxRate);
|
||||
FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
|
||||
FIELD_SET(*this, FIX::HandlInst);
|
||||
FIELD_SET(*this, FIX::MinQty);
|
||||
FIELD_SET(*this, FIX::MaxFloor);
|
||||
FIELD_SET(*this, FIX::PositionEffect);
|
||||
FIELD_SET(*this, FIX::MaxShow);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::FutSettDate2);
|
||||
FIELD_SET(*this, FIX::OrderQty2);
|
||||
FIELD_SET(*this, FIX::LastForwardPoints2);
|
||||
FIELD_SET(*this, FIX::MultiLegReportingType);
|
||||
FIELD_SET(*this, FIX::CancellationRights);
|
||||
FIELD_SET(*this, FIX::MoneyLaunderingStatus);
|
||||
FIELD_SET(*this, FIX::RegistID);
|
||||
FIELD_SET(*this, FIX::Designation);
|
||||
FIELD_SET(*this, FIX::TransBkdTime);
|
||||
FIELD_SET(*this, FIX::ExecValuationPoint);
|
||||
FIELD_SET(*this, FIX::ExecPriceType);
|
||||
FIELD_SET(*this, FIX::ExecPriceAdjustment);
|
||||
FIELD_SET(*this, FIX::PriorityIndicator);
|
||||
FIELD_SET(*this, FIX::PriceImprovement);
|
||||
FIELD_SET(*this, FIX::NoContraBrokers);
|
||||
class NoContraBrokers: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoContraBrokers() : FIX::Group(382,375,FIX::message_order(375,337,437,438,655,0)) {}
|
||||
FIELD_SET(*this, FIX::ContraBroker);
|
||||
FIELD_SET(*this, FIX::ContraTrader);
|
||||
FIELD_SET(*this, FIX::ContraTradeQty);
|
||||
FIELD_SET(*this, FIX::ContraTradeTime);
|
||||
FIELD_SET(*this, FIX::ContraLegRefID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoContAmts);
|
||||
class NoContAmts: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoContAmts() : FIX::Group(518,519,FIX::message_order(519,520,521,0)) {}
|
||||
FIELD_SET(*this, FIX::ContAmtType);
|
||||
FIELD_SET(*this, FIX::ContAmtValue);
|
||||
FIELD_SET(*this, FIX::ContAmtCurr);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoLegs);
|
||||
class NoLegs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,604,607,608,609,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,613,614,615,616,617,618,619,620,621,622,623,624,564,565,539,654,566,587,588,637,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSymbol);
|
||||
FIELD_SET(*this, FIX::LegSymbolSfx);
|
||||
FIELD_SET(*this, FIX::LegSecurityID);
|
||||
FIELD_SET(*this, FIX::LegSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::LegProduct);
|
||||
FIELD_SET(*this, FIX::LegCFICode);
|
||||
FIELD_SET(*this, FIX::LegSecurityType);
|
||||
FIELD_SET(*this, FIX::LegMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::LegMaturityDate);
|
||||
FIELD_SET(*this, FIX::LegCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::LegIssueDate);
|
||||
FIELD_SET(*this, FIX::LegRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::LegFactor);
|
||||
FIELD_SET(*this, FIX::LegCreditRating);
|
||||
FIELD_SET(*this, FIX::LegInstrRegistry);
|
||||
FIELD_SET(*this, FIX::LegCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::LegStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LegLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::LegRedemptionDate);
|
||||
FIELD_SET(*this, FIX::LegStrikePrice);
|
||||
FIELD_SET(*this, FIX::LegOptAttribute);
|
||||
FIELD_SET(*this, FIX::LegContractMultiplier);
|
||||
FIELD_SET(*this, FIX::LegCouponRate);
|
||||
FIELD_SET(*this, FIX::LegSecurityExchange);
|
||||
FIELD_SET(*this, FIX::LegIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuer);
|
||||
FIELD_SET(*this, FIX::LegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::LegRatioQty);
|
||||
FIELD_SET(*this, FIX::LegSide);
|
||||
FIELD_SET(*this, FIX::NoLegSecurityAltID);
|
||||
class NoLegSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegSecurityAltID() : FIX::Group(604,605,FIX::message_order(605,606,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSecurityAltID);
|
||||
FIELD_SET(*this, FIX::LegSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::LegPositionEffect);
|
||||
FIELD_SET(*this, FIX::LegCoveredOrUncovered);
|
||||
FIELD_SET(*this, FIX::NoNestedPartyIDs);
|
||||
class NoNestedPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,545,0)) {}
|
||||
FIELD_SET(*this, FIX::NestedPartyID);
|
||||
FIELD_SET(*this, FIX::NestedPartyIDSource);
|
||||
FIELD_SET(*this, FIX::NestedPartyRole);
|
||||
FIELD_SET(*this, FIX::NestedPartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::LegRefID);
|
||||
FIELD_SET(*this, FIX::LegPrice);
|
||||
FIELD_SET(*this, FIX::LegSettlmntTyp);
|
||||
FIELD_SET(*this, FIX::LegFutSettDate);
|
||||
FIELD_SET(*this, FIX::LegLastPx);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,23 @@
|
||||
#ifndef FIX43_HEARTBEAT_H
|
||||
#define FIX43_HEARTBEAT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class Heartbeat : public Message
|
||||
{
|
||||
public:
|
||||
Heartbeat() : Message(MsgType()) {}
|
||||
Heartbeat(const FIX::Message& m) : Message(m) {}
|
||||
Heartbeat(const Message& m) : Message(m) {}
|
||||
Heartbeat(const Heartbeat& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("0"); }
|
||||
|
||||
FIELD_SET(*this, FIX::TestReqID);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,112 @@
|
||||
#ifndef FIX43_IOI_H
|
||||
#define FIX43_IOI_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class IOI : public Message
|
||||
{
|
||||
public:
|
||||
IOI() : Message(MsgType()) {}
|
||||
IOI(const FIX::Message& m) : Message(m) {}
|
||||
IOI(const Message& m) : Message(m) {}
|
||||
IOI(const IOI& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("6"); }
|
||||
|
||||
IOI(
|
||||
const FIX::IOIid& aIOIid,
|
||||
const FIX::IOITransType& aIOITransType,
|
||||
const FIX::Side& aSide,
|
||||
const FIX::IOIQty& aIOIQty )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aIOIid);
|
||||
set(aIOITransType);
|
||||
set(aSide);
|
||||
set(aIOIQty);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::IOIid);
|
||||
FIELD_SET(*this, FIX::IOITransType);
|
||||
FIELD_SET(*this, FIX::IOIRefID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::QuantityType);
|
||||
FIELD_SET(*this, FIX::IOIQty);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::ValidUntilTime);
|
||||
FIELD_SET(*this, FIX::IOIQltyInd);
|
||||
FIELD_SET(*this, FIX::IOINaturalFlag);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::URLLink);
|
||||
FIELD_SET(*this, FIX::Spread);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveName);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
|
||||
FIELD_SET(*this, FIX::Benchmark);
|
||||
FIELD_SET(*this, FIX::NoIOIQualifiers);
|
||||
class NoIOIQualifiers: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoIOIQualifiers() : FIX::Group(199,104,FIX::message_order(104,0)) {}
|
||||
FIELD_SET(*this, FIX::IOIQualifier);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoRoutingIDs);
|
||||
class NoRoutingIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRoutingIDs() : FIX::Group(215,216,FIX::message_order(216,217,0)) {}
|
||||
FIELD_SET(*this, FIX::RoutingType);
|
||||
FIELD_SET(*this, FIX::RoutingID);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,37 @@
|
||||
#ifndef FIX43_LISTCANCELREQUEST_H
|
||||
#define FIX43_LISTCANCELREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class ListCancelRequest : public Message
|
||||
{
|
||||
public:
|
||||
ListCancelRequest() : Message(MsgType()) {}
|
||||
ListCancelRequest(const FIX::Message& m) : Message(m) {}
|
||||
ListCancelRequest(const Message& m) : Message(m) {}
|
||||
ListCancelRequest(const ListCancelRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("K"); }
|
||||
|
||||
ListCancelRequest(
|
||||
const FIX::ListID& aListID,
|
||||
const FIX::TransactTime& aTransactTime )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aListID);
|
||||
set(aTransactTime);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,38 @@
|
||||
#ifndef FIX43_LISTEXECUTE_H
|
||||
#define FIX43_LISTEXECUTE_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class ListExecute : public Message
|
||||
{
|
||||
public:
|
||||
ListExecute() : Message(MsgType()) {}
|
||||
ListExecute(const FIX::Message& m) : Message(m) {}
|
||||
ListExecute(const Message& m) : Message(m) {}
|
||||
ListExecute(const ListExecute& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("L"); }
|
||||
|
||||
ListExecute(
|
||||
const FIX::ListID& aListID,
|
||||
const FIX::TransactTime& aTransactTime )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aListID);
|
||||
set(aTransactTime);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::ClientBidID);
|
||||
FIELD_SET(*this, FIX::BidID);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,67 @@
|
||||
#ifndef FIX43_LISTSTATUS_H
|
||||
#define FIX43_LISTSTATUS_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class ListStatus : public Message
|
||||
{
|
||||
public:
|
||||
ListStatus() : Message(MsgType()) {}
|
||||
ListStatus(const FIX::Message& m) : Message(m) {}
|
||||
ListStatus(const Message& m) : Message(m) {}
|
||||
ListStatus(const ListStatus& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("N"); }
|
||||
|
||||
ListStatus(
|
||||
const FIX::ListID& aListID,
|
||||
const FIX::ListStatusType& aListStatusType,
|
||||
const FIX::NoRpts& aNoRpts,
|
||||
const FIX::ListOrderStatus& aListOrderStatus,
|
||||
const FIX::RptSeq& aRptSeq,
|
||||
const FIX::TotNoOrders& aTotNoOrders )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aListID);
|
||||
set(aListStatusType);
|
||||
set(aNoRpts);
|
||||
set(aListOrderStatus);
|
||||
set(aRptSeq);
|
||||
set(aTotNoOrders);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::ListStatusType);
|
||||
FIELD_SET(*this, FIX::NoRpts);
|
||||
FIELD_SET(*this, FIX::ListOrderStatus);
|
||||
FIELD_SET(*this, FIX::RptSeq);
|
||||
FIELD_SET(*this, FIX::ListStatusText);
|
||||
FIELD_SET(*this, FIX::EncodedListStatusTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedListStatusText);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::TotNoOrders);
|
||||
FIELD_SET(*this, FIX::NoOrders);
|
||||
class NoOrders: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoOrders() : FIX::Group(73,11,FIX::message_order(11,526,14,39,636,151,84,6,103,58,354,355,0)) {}
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::CumQty);
|
||||
FIELD_SET(*this, FIX::OrdStatus);
|
||||
FIELD_SET(*this, FIX::WorkingIndicator);
|
||||
FIELD_SET(*this, FIX::LeavesQty);
|
||||
FIELD_SET(*this, FIX::CxlQty);
|
||||
FIELD_SET(*this, FIX::AvgPx);
|
||||
FIELD_SET(*this, FIX::OrdRejReason);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,33 @@
|
||||
#ifndef FIX43_LISTSTATUSREQUEST_H
|
||||
#define FIX43_LISTSTATUSREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class ListStatusRequest : public Message
|
||||
{
|
||||
public:
|
||||
ListStatusRequest() : Message(MsgType()) {}
|
||||
ListStatusRequest(const FIX::Message& m) : Message(m) {}
|
||||
ListStatusRequest(const Message& m) : Message(m) {}
|
||||
ListStatusRequest(const ListStatusRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("M"); }
|
||||
|
||||
ListStatusRequest(
|
||||
const FIX::ListID& aListID )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aListID);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,88 @@
|
||||
#ifndef FIX43_LISTSTRIKEPRICE_H
|
||||
#define FIX43_LISTSTRIKEPRICE_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class ListStrikePrice : public Message
|
||||
{
|
||||
public:
|
||||
ListStrikePrice() : Message(MsgType()) {}
|
||||
ListStrikePrice(const FIX::Message& m) : Message(m) {}
|
||||
ListStrikePrice(const Message& m) : Message(m) {}
|
||||
ListStrikePrice(const ListStrikePrice& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("m"); }
|
||||
|
||||
ListStrikePrice(
|
||||
const FIX::ListID& aListID,
|
||||
const FIX::TotNoStrikes& aTotNoStrikes )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aListID);
|
||||
set(aTotNoStrikes);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::TotNoStrikes);
|
||||
FIELD_SET(*this, FIX::NoStrikes);
|
||||
class NoStrikes: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoStrikes() : FIX::Group(428,55,FIX::message_order(55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,140,11,526,54,44,15,58,354,355,0)) {}
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::PrevClosePx);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,48 @@
|
||||
#ifndef FIX43_LOGON_H
|
||||
#define FIX43_LOGON_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class Logon : public Message
|
||||
{
|
||||
public:
|
||||
Logon() : Message(MsgType()) {}
|
||||
Logon(const FIX::Message& m) : Message(m) {}
|
||||
Logon(const Message& m) : Message(m) {}
|
||||
Logon(const Logon& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("A"); }
|
||||
|
||||
Logon(
|
||||
const FIX::EncryptMethod& aEncryptMethod,
|
||||
const FIX::HeartBtInt& aHeartBtInt )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aEncryptMethod);
|
||||
set(aHeartBtInt);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::EncryptMethod);
|
||||
FIELD_SET(*this, FIX::HeartBtInt);
|
||||
FIELD_SET(*this, FIX::RawDataLength);
|
||||
FIELD_SET(*this, FIX::RawData);
|
||||
FIELD_SET(*this, FIX::ResetSeqNumFlag);
|
||||
FIELD_SET(*this, FIX::MaxMessageSize);
|
||||
FIELD_SET(*this, FIX::TestMessageIndicator);
|
||||
FIELD_SET(*this, FIX::Username);
|
||||
FIELD_SET(*this, FIX::Password);
|
||||
FIELD_SET(*this, FIX::NoMsgTypes);
|
||||
class NoMsgTypes: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoMsgTypes() : FIX::Group(384,372,FIX::message_order(372,385,0)) {}
|
||||
FIELD_SET(*this, FIX::RefMsgType);
|
||||
FIELD_SET(*this, FIX::MsgDirection);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,25 @@
|
||||
#ifndef FIX43_LOGOUT_H
|
||||
#define FIX43_LOGOUT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class Logout : public Message
|
||||
{
|
||||
public:
|
||||
Logout() : Message(MsgType()) {}
|
||||
Logout(const FIX::Message& m) : Message(m) {}
|
||||
Logout(const Message& m) : Message(m) {}
|
||||
Logout(const Logout& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("5"); }
|
||||
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,111 @@
|
||||
#ifndef FIX43_MARKETDATAINCREMENTALREFRESH_H
|
||||
#define FIX43_MARKETDATAINCREMENTALREFRESH_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class MarketDataIncrementalRefresh : public Message
|
||||
{
|
||||
public:
|
||||
MarketDataIncrementalRefresh() : Message(MsgType()) {}
|
||||
MarketDataIncrementalRefresh(const FIX::Message& m) : Message(m) {}
|
||||
MarketDataIncrementalRefresh(const Message& m) : Message(m) {}
|
||||
MarketDataIncrementalRefresh(const MarketDataIncrementalRefresh& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("X"); }
|
||||
|
||||
FIELD_SET(*this, FIX::MDReqID);
|
||||
FIELD_SET(*this, FIX::NoMDEntries);
|
||||
class NoMDEntries: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoMDEntries() : FIX::Group(268,279,FIX::message_order(279,285,269,278,280,55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,291,292,270,15,271,272,273,274,275,336,625,276,277,282,283,284,286,59,432,126,110,18,287,37,299,288,289,346,290,546,387,449,450,451,58,354,355,0)) {}
|
||||
FIELD_SET(*this, FIX::MDUpdateAction);
|
||||
FIELD_SET(*this, FIX::DeleteReason);
|
||||
FIELD_SET(*this, FIX::MDEntryType);
|
||||
FIELD_SET(*this, FIX::MDEntryID);
|
||||
FIELD_SET(*this, FIX::MDEntryRefID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::FinancialStatus);
|
||||
FIELD_SET(*this, FIX::CorporateAction);
|
||||
FIELD_SET(*this, FIX::MDEntryPx);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::MDEntrySize);
|
||||
FIELD_SET(*this, FIX::MDEntryDate);
|
||||
FIELD_SET(*this, FIX::MDEntryTime);
|
||||
FIELD_SET(*this, FIX::TickDirection);
|
||||
FIELD_SET(*this, FIX::MDMkt);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::QuoteCondition);
|
||||
FIELD_SET(*this, FIX::TradeCondition);
|
||||
FIELD_SET(*this, FIX::MDEntryOriginator);
|
||||
FIELD_SET(*this, FIX::LocationID);
|
||||
FIELD_SET(*this, FIX::DeskID);
|
||||
FIELD_SET(*this, FIX::OpenCloseSettleFlag);
|
||||
FIELD_SET(*this, FIX::TimeInForce);
|
||||
FIELD_SET(*this, FIX::ExpireDate);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::MinQty);
|
||||
FIELD_SET(*this, FIX::ExecInst);
|
||||
FIELD_SET(*this, FIX::SellerDays);
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::QuoteEntryID);
|
||||
FIELD_SET(*this, FIX::MDEntryBuyer);
|
||||
FIELD_SET(*this, FIX::MDEntrySeller);
|
||||
FIELD_SET(*this, FIX::NumberOfOrders);
|
||||
FIELD_SET(*this, FIX::MDEntryPositionNo);
|
||||
FIELD_SET(*this, FIX::Scope);
|
||||
FIELD_SET(*this, FIX::TotalVolumeTraded);
|
||||
FIELD_SET(*this, FIX::TotalVolumeTradedDate);
|
||||
FIELD_SET(*this, FIX::TotalVolumeTradedTime);
|
||||
FIELD_SET(*this, FIX::NetChgPrevDay);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,102 @@
|
||||
#ifndef FIX43_MARKETDATAREQUEST_H
|
||||
#define FIX43_MARKETDATAREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class MarketDataRequest : public Message
|
||||
{
|
||||
public:
|
||||
MarketDataRequest() : Message(MsgType()) {}
|
||||
MarketDataRequest(const FIX::Message& m) : Message(m) {}
|
||||
MarketDataRequest(const Message& m) : Message(m) {}
|
||||
MarketDataRequest(const MarketDataRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("V"); }
|
||||
|
||||
MarketDataRequest(
|
||||
const FIX::MDReqID& aMDReqID,
|
||||
const FIX::SubscriptionRequestType& aSubscriptionRequestType,
|
||||
const FIX::MarketDepth& aMarketDepth )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aMDReqID);
|
||||
set(aSubscriptionRequestType);
|
||||
set(aMarketDepth);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::MDReqID);
|
||||
FIELD_SET(*this, FIX::SubscriptionRequestType);
|
||||
FIELD_SET(*this, FIX::MarketDepth);
|
||||
FIELD_SET(*this, FIX::MDUpdateType);
|
||||
FIELD_SET(*this, FIX::AggregatedBook);
|
||||
FIELD_SET(*this, FIX::OpenCloseSettleFlag);
|
||||
FIELD_SET(*this, FIX::Scope);
|
||||
FIELD_SET(*this, FIX::MDImplicitDelete);
|
||||
FIELD_SET(*this, FIX::NoMDEntryTypes);
|
||||
class NoMDEntryTypes: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoMDEntryTypes() : FIX::Group(267,269,FIX::message_order(269,0)) {}
|
||||
FIELD_SET(*this, FIX::MDEntryType);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoRelatedSym);
|
||||
class NoRelatedSym: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,0)) {}
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoTradingSessions);
|
||||
class NoTradingSessions: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoTradingSessions() : FIX::Group(386,336,FIX::message_order(336,625,0)) {}
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,34 @@
|
||||
#ifndef FIX43_MARKETDATAREQUESTREJECT_H
|
||||
#define FIX43_MARKETDATAREQUESTREJECT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class MarketDataRequestReject : public Message
|
||||
{
|
||||
public:
|
||||
MarketDataRequestReject() : Message(MsgType()) {}
|
||||
MarketDataRequestReject(const FIX::Message& m) : Message(m) {}
|
||||
MarketDataRequestReject(const Message& m) : Message(m) {}
|
||||
MarketDataRequestReject(const MarketDataRequestReject& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("Y"); }
|
||||
|
||||
MarketDataRequestReject(
|
||||
const FIX::MDReqID& aMDReqID )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aMDReqID);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::MDReqID);
|
||||
FIELD_SET(*this, FIX::MDReqRejReason);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,107 @@
|
||||
#ifndef FIX43_MARKETDATASNAPSHOTFULLREFRESH_H
|
||||
#define FIX43_MARKETDATASNAPSHOTFULLREFRESH_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class MarketDataSnapshotFullRefresh : public Message
|
||||
{
|
||||
public:
|
||||
MarketDataSnapshotFullRefresh() : Message(MsgType()) {}
|
||||
MarketDataSnapshotFullRefresh(const FIX::Message& m) : Message(m) {}
|
||||
MarketDataSnapshotFullRefresh(const Message& m) : Message(m) {}
|
||||
MarketDataSnapshotFullRefresh(const MarketDataSnapshotFullRefresh& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("W"); }
|
||||
|
||||
FIELD_SET(*this, FIX::MDReqID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::FinancialStatus);
|
||||
FIELD_SET(*this, FIX::CorporateAction);
|
||||
FIELD_SET(*this, FIX::TotalVolumeTraded);
|
||||
FIELD_SET(*this, FIX::TotalVolumeTradedDate);
|
||||
FIELD_SET(*this, FIX::TotalVolumeTradedTime);
|
||||
FIELD_SET(*this, FIX::NetChgPrevDay);
|
||||
FIELD_SET(*this, FIX::NoMDEntries);
|
||||
class NoMDEntries: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoMDEntries() : FIX::Group(268,269,FIX::message_order(269,270,15,271,272,273,274,275,336,625,276,277,282,283,284,286,59,432,126,110,18,287,37,299,288,289,346,290,546,58,354,355,0)) {}
|
||||
FIELD_SET(*this, FIX::MDEntryType);
|
||||
FIELD_SET(*this, FIX::MDEntryPx);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::MDEntrySize);
|
||||
FIELD_SET(*this, FIX::MDEntryDate);
|
||||
FIELD_SET(*this, FIX::MDEntryTime);
|
||||
FIELD_SET(*this, FIX::TickDirection);
|
||||
FIELD_SET(*this, FIX::MDMkt);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::QuoteCondition);
|
||||
FIELD_SET(*this, FIX::TradeCondition);
|
||||
FIELD_SET(*this, FIX::MDEntryOriginator);
|
||||
FIELD_SET(*this, FIX::LocationID);
|
||||
FIELD_SET(*this, FIX::DeskID);
|
||||
FIELD_SET(*this, FIX::OpenCloseSettleFlag);
|
||||
FIELD_SET(*this, FIX::TimeInForce);
|
||||
FIELD_SET(*this, FIX::ExpireDate);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::MinQty);
|
||||
FIELD_SET(*this, FIX::ExecInst);
|
||||
FIELD_SET(*this, FIX::SellerDays);
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::QuoteEntryID);
|
||||
FIELD_SET(*this, FIX::MDEntryBuyer);
|
||||
FIELD_SET(*this, FIX::MDEntrySeller);
|
||||
FIELD_SET(*this, FIX::NumberOfOrders);
|
||||
FIELD_SET(*this, FIX::MDEntryPositionNo);
|
||||
FIELD_SET(*this, FIX::Scope);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,167 @@
|
||||
#ifndef FIX43_MASSQUOTE_H
|
||||
#define FIX43_MASSQUOTE_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class MassQuote : public Message
|
||||
{
|
||||
public:
|
||||
MassQuote() : Message(MsgType()) {}
|
||||
MassQuote(const FIX::Message& m) : Message(m) {}
|
||||
MassQuote(const Message& m) : Message(m) {}
|
||||
MassQuote(const MassQuote& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("i"); }
|
||||
|
||||
MassQuote(
|
||||
const FIX::QuoteID& aQuoteID )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aQuoteID);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::QuoteReqID);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::QuoteType);
|
||||
FIELD_SET(*this, FIX::QuoteResponseLevel);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::DefBidSize);
|
||||
FIELD_SET(*this, FIX::DefOfferSize);
|
||||
FIELD_SET(*this, FIX::NoQuoteSets);
|
||||
class NoQuoteSets: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoQuoteSets() : FIX::Group(296,302,FIX::message_order(302,311,312,309,305,457,462,463,310,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,317,436,435,308,306,362,363,307,364,365,367,304,295,0)) {}
|
||||
FIELD_SET(*this, FIX::QuoteSetID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbol);
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::UnderlyingProduct);
|
||||
FIELD_SET(*this, FIX::UnderlyingCFICode);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingPutOrCall);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssueDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingFactor);
|
||||
FIELD_SET(*this, FIX::UnderlyingCreditRating);
|
||||
FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
|
||||
FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingStrikePrice);
|
||||
FIELD_SET(*this, FIX::UnderlyingOptAttribute);
|
||||
FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoUnderlyingSecurityAltID);
|
||||
class NoUnderlyingSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoUnderlyingSecurityAltID() : FIX::Group(457,458,FIX::message_order(458,459,0)) {}
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::QuoteSetValidUntilTime);
|
||||
FIELD_SET(*this, FIX::TotQuoteEntries);
|
||||
FIELD_SET(*this, FIX::NoQuoteEntries);
|
||||
class NoQuoteEntries: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoQuoteEntries() : FIX::Group(295,299,FIX::message_order(299,55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,132,133,134,135,62,188,190,189,191,631,632,633,634,60,336,625,64,40,193,192,642,643,15,0)) {}
|
||||
FIELD_SET(*this, FIX::QuoteEntryID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::BidPx);
|
||||
FIELD_SET(*this, FIX::OfferPx);
|
||||
FIELD_SET(*this, FIX::BidSize);
|
||||
FIELD_SET(*this, FIX::OfferSize);
|
||||
FIELD_SET(*this, FIX::ValidUntilTime);
|
||||
FIELD_SET(*this, FIX::BidSpotRate);
|
||||
FIELD_SET(*this, FIX::OfferSpotRate);
|
||||
FIELD_SET(*this, FIX::BidForwardPoints);
|
||||
FIELD_SET(*this, FIX::OfferForwardPoints);
|
||||
FIELD_SET(*this, FIX::MidPx);
|
||||
FIELD_SET(*this, FIX::BidYield);
|
||||
FIELD_SET(*this, FIX::MidYield);
|
||||
FIELD_SET(*this, FIX::OfferYield);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::FutSettDate2);
|
||||
FIELD_SET(*this, FIX::OrderQty2);
|
||||
FIELD_SET(*this, FIX::BidForwardPoints2);
|
||||
FIELD_SET(*this, FIX::OfferForwardPoints2);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,168 @@
|
||||
#ifndef FIX43_MASSQUOTEACKNOWLEDGEMENT_H
|
||||
#define FIX43_MASSQUOTEACKNOWLEDGEMENT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class MassQuoteAcknowledgement : public Message
|
||||
{
|
||||
public:
|
||||
MassQuoteAcknowledgement() : Message(MsgType()) {}
|
||||
MassQuoteAcknowledgement(const FIX::Message& m) : Message(m) {}
|
||||
MassQuoteAcknowledgement(const Message& m) : Message(m) {}
|
||||
MassQuoteAcknowledgement(const MassQuoteAcknowledgement& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("b"); }
|
||||
|
||||
MassQuoteAcknowledgement(
|
||||
const FIX::QuoteStatus& aQuoteStatus )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aQuoteStatus);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::QuoteReqID);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::QuoteStatus);
|
||||
FIELD_SET(*this, FIX::QuoteRejectReason);
|
||||
FIELD_SET(*this, FIX::QuoteResponseLevel);
|
||||
FIELD_SET(*this, FIX::QuoteType);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::NoQuoteSets);
|
||||
class NoQuoteSets: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoQuoteSets() : FIX::Group(296,302,FIX::message_order(302,311,312,309,305,457,462,463,310,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,317,436,435,308,306,362,363,307,364,365,304,295,0)) {}
|
||||
FIELD_SET(*this, FIX::QuoteSetID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbol);
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::UnderlyingProduct);
|
||||
FIELD_SET(*this, FIX::UnderlyingCFICode);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingPutOrCall);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssueDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingFactor);
|
||||
FIELD_SET(*this, FIX::UnderlyingCreditRating);
|
||||
FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
|
||||
FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingStrikePrice);
|
||||
FIELD_SET(*this, FIX::UnderlyingOptAttribute);
|
||||
FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoUnderlyingSecurityAltID);
|
||||
class NoUnderlyingSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoUnderlyingSecurityAltID() : FIX::Group(457,458,FIX::message_order(458,459,0)) {}
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::TotQuoteEntries);
|
||||
FIELD_SET(*this, FIX::NoQuoteEntries);
|
||||
class NoQuoteEntries: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoQuoteEntries() : FIX::Group(295,299,FIX::message_order(299,55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,132,133,134,135,62,188,190,189,191,631,632,633,634,60,336,625,64,40,193,192,642,643,15,368,0)) {}
|
||||
FIELD_SET(*this, FIX::QuoteEntryID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::BidPx);
|
||||
FIELD_SET(*this, FIX::OfferPx);
|
||||
FIELD_SET(*this, FIX::BidSize);
|
||||
FIELD_SET(*this, FIX::OfferSize);
|
||||
FIELD_SET(*this, FIX::ValidUntilTime);
|
||||
FIELD_SET(*this, FIX::BidSpotRate);
|
||||
FIELD_SET(*this, FIX::OfferSpotRate);
|
||||
FIELD_SET(*this, FIX::BidForwardPoints);
|
||||
FIELD_SET(*this, FIX::OfferForwardPoints);
|
||||
FIELD_SET(*this, FIX::MidPx);
|
||||
FIELD_SET(*this, FIX::BidYield);
|
||||
FIELD_SET(*this, FIX::MidYield);
|
||||
FIELD_SET(*this, FIX::OfferYield);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::FutSettDate2);
|
||||
FIELD_SET(*this, FIX::OrderQty2);
|
||||
FIELD_SET(*this, FIX::BidForwardPoints2);
|
||||
FIELD_SET(*this, FIX::OfferForwardPoints2);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::QuoteEntryRejectReason);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,76 @@
|
||||
#ifndef FIX43_MESSAGES_H
|
||||
#define FIX43_MESSAGES_H
|
||||
|
||||
#include "../Message.h"
|
||||
#include "../Group.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
class Header : public FIX::Header
|
||||
{
|
||||
public:
|
||||
FIELD_SET(*this, FIX::BeginString);
|
||||
FIELD_SET(*this, FIX::BodyLength);
|
||||
FIELD_SET(*this, FIX::MsgType);
|
||||
FIELD_SET(*this, FIX::SenderCompID);
|
||||
FIELD_SET(*this, FIX::TargetCompID);
|
||||
FIELD_SET(*this, FIX::OnBehalfOfCompID);
|
||||
FIELD_SET(*this, FIX::DeliverToCompID);
|
||||
FIELD_SET(*this, FIX::SecureDataLen);
|
||||
FIELD_SET(*this, FIX::SecureData);
|
||||
FIELD_SET(*this, FIX::MsgSeqNum);
|
||||
FIELD_SET(*this, FIX::SenderSubID);
|
||||
FIELD_SET(*this, FIX::SenderLocationID);
|
||||
FIELD_SET(*this, FIX::TargetSubID);
|
||||
FIELD_SET(*this, FIX::TargetLocationID);
|
||||
FIELD_SET(*this, FIX::OnBehalfOfSubID);
|
||||
FIELD_SET(*this, FIX::OnBehalfOfLocationID);
|
||||
FIELD_SET(*this, FIX::DeliverToSubID);
|
||||
FIELD_SET(*this, FIX::DeliverToLocationID);
|
||||
FIELD_SET(*this, FIX::PossDupFlag);
|
||||
FIELD_SET(*this, FIX::PossResend);
|
||||
FIELD_SET(*this, FIX::SendingTime);
|
||||
FIELD_SET(*this, FIX::OrigSendingTime);
|
||||
FIELD_SET(*this, FIX::XmlDataLen);
|
||||
FIELD_SET(*this, FIX::XmlData);
|
||||
FIELD_SET(*this, FIX::MessageEncoding);
|
||||
FIELD_SET(*this, FIX::LastMsgSeqNumProcessed);
|
||||
FIELD_SET(*this, FIX::OnBehalfOfSendingTime);
|
||||
FIELD_SET(*this, FIX::NoHops);
|
||||
class NoHops: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoHops() : FIX::Group(627,628,FIX::message_order(628,629,630,0)) {}
|
||||
FIELD_SET(*this, FIX::HopCompID);
|
||||
FIELD_SET(*this, FIX::HopSendingTime);
|
||||
FIELD_SET(*this, FIX::HopRefID);
|
||||
};
|
||||
};
|
||||
|
||||
class Trailer : public FIX::Trailer
|
||||
{
|
||||
public:
|
||||
FIELD_SET(*this, FIX::SignatureLength);
|
||||
FIELD_SET(*this, FIX::Signature);
|
||||
FIELD_SET(*this, FIX::CheckSum);
|
||||
};
|
||||
|
||||
class Message : public FIX::Message
|
||||
{
|
||||
public:
|
||||
Message( const FIX::MsgType& msgtype )
|
||||
: FIX::Message(
|
||||
FIX::BeginString("FIX.4.3"), msgtype )
|
||||
{}
|
||||
|
||||
Message(const FIX::Message& m) : FIX::Message(m) {}
|
||||
Message(const Message& m) : FIX::Message(m) {}
|
||||
Header& getHeader() { return (Header&)m_header; }
|
||||
const Header& getHeader() const { return (Header&)m_header; }
|
||||
Trailer& getTrailer() { return (Trailer&)m_trailer; }
|
||||
const Trailer& getTrailer() const { return (Trailer&)m_trailer; }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,744 @@
|
||||
/* -*- C++ -*- */
|
||||
|
||||
/****************************************************************************
|
||||
** Copyright (c) 2001-2014
|
||||
**
|
||||
** This file is part of the QuickFIX FIX Engine
|
||||
**
|
||||
** This file may be distributed under the terms of the quickfixengine.org
|
||||
** license as defined by quickfixengine.org and appearing in the file
|
||||
** LICENSE included in the packaging of this file.
|
||||
**
|
||||
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
**
|
||||
** See http://www.quickfixengine.org/LICENSE for licensing information.
|
||||
**
|
||||
** Contact ask@quickfixengine.org if any conditions of this licensing are
|
||||
** not clear to you.
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef FIX43_MESSAGECRACKER_H
|
||||
#define FIX43_MESSAGECRACKER_H
|
||||
|
||||
|
||||
#include "../SessionID.h"
|
||||
#include "../Exceptions.h"
|
||||
|
||||
#include "../fix43/Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
class Heartbeat;
|
||||
class TestRequest;
|
||||
class ResendRequest;
|
||||
class Reject;
|
||||
class SequenceReset;
|
||||
class Logout;
|
||||
class IOI;
|
||||
class Advertisement;
|
||||
class ExecutionReport;
|
||||
class OrderCancelReject;
|
||||
class Logon;
|
||||
class News;
|
||||
class Email;
|
||||
class NewOrderSingle;
|
||||
class NewOrderList;
|
||||
class OrderCancelRequest;
|
||||
class OrderCancelReplaceRequest;
|
||||
class OrderStatusRequest;
|
||||
class Allocation;
|
||||
class ListCancelRequest;
|
||||
class ListExecute;
|
||||
class ListStatusRequest;
|
||||
class ListStatus;
|
||||
class AllocationAck;
|
||||
class DontKnowTrade;
|
||||
class QuoteRequest;
|
||||
class Quote;
|
||||
class SettlementInstructions;
|
||||
class MarketDataRequest;
|
||||
class MarketDataSnapshotFullRefresh;
|
||||
class MarketDataIncrementalRefresh;
|
||||
class MarketDataRequestReject;
|
||||
class QuoteCancel;
|
||||
class QuoteStatusRequest;
|
||||
class MassQuoteAcknowledgement;
|
||||
class SecurityDefinitionRequest;
|
||||
class SecurityDefinition;
|
||||
class SecurityStatusRequest;
|
||||
class SecurityStatus;
|
||||
class TradingSessionStatusRequest;
|
||||
class TradingSessionStatus;
|
||||
class MassQuote;
|
||||
class BusinessMessageReject;
|
||||
class BidRequest;
|
||||
class BidResponse;
|
||||
class ListStrikePrice;
|
||||
class XMLnonFIX;
|
||||
class RegistrationInstructions;
|
||||
class RegistrationInstructionsResponse;
|
||||
class OrderMassCancelRequest;
|
||||
class OrderMassCancelReport;
|
||||
class NewOrderCross;
|
||||
class CrossOrderCancelRequest;
|
||||
class CrossOrderCancelReplaceRequest;
|
||||
class SecurityTypeRequest;
|
||||
class SecurityTypes;
|
||||
class SecurityListRequest;
|
||||
class SecurityList;
|
||||
class DerivativeSecurityListRequest;
|
||||
class DerivativeSecurityList;
|
||||
class NewOrderMultileg;
|
||||
class MultilegOrderCancelReplaceRequest;
|
||||
class TradeCaptureReportRequest;
|
||||
class TradeCaptureReport;
|
||||
class OrderMassStatusRequest;
|
||||
class QuoteRequestReject;
|
||||
class RFQRequest;
|
||||
class QuoteStatusReport;
|
||||
|
||||
class MessageCracker
|
||||
{
|
||||
public:
|
||||
virtual ~MessageCracker() {}
|
||||
virtual void onMessage( const Message&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( Message&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const Heartbeat&, const FIX::SessionID& )
|
||||
{}
|
||||
virtual void onMessage( const TestRequest&, const FIX::SessionID& )
|
||||
{}
|
||||
virtual void onMessage( const ResendRequest&, const FIX::SessionID& )
|
||||
{}
|
||||
virtual void onMessage( const Reject&, const FIX::SessionID& )
|
||||
{}
|
||||
virtual void onMessage( const SequenceReset&, const FIX::SessionID& )
|
||||
{}
|
||||
virtual void onMessage( const Logout&, const FIX::SessionID& )
|
||||
{}
|
||||
virtual void onMessage( const IOI&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const Advertisement&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const ExecutionReport&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const OrderCancelReject&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const Logon&, const FIX::SessionID& )
|
||||
{}
|
||||
virtual void onMessage( const News&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const Email&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const NewOrderSingle&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const NewOrderList&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const OrderCancelRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const OrderCancelReplaceRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const OrderStatusRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const Allocation&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const ListCancelRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const ListExecute&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const ListStatusRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const ListStatus&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const AllocationAck&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const DontKnowTrade&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const QuoteRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const Quote&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const SettlementInstructions&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const MarketDataRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const MarketDataSnapshotFullRefresh&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const MarketDataIncrementalRefresh&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const MarketDataRequestReject&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const QuoteCancel&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const QuoteStatusRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const MassQuoteAcknowledgement&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const SecurityDefinitionRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const SecurityDefinition&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const SecurityStatusRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const SecurityStatus&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const TradingSessionStatusRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const TradingSessionStatus&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const MassQuote&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const BusinessMessageReject&, const FIX::SessionID& )
|
||||
{}
|
||||
virtual void onMessage( const BidRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const BidResponse&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const ListStrikePrice&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const XMLnonFIX&, const FIX::SessionID& )
|
||||
{}
|
||||
virtual void onMessage( const RegistrationInstructions&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const RegistrationInstructionsResponse&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const OrderMassCancelRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const OrderMassCancelReport&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const NewOrderCross&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const CrossOrderCancelRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const CrossOrderCancelReplaceRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const SecurityTypeRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const SecurityTypes&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const SecurityListRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const SecurityList&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const DerivativeSecurityListRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const DerivativeSecurityList&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const NewOrderMultileg&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const MultilegOrderCancelReplaceRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const TradeCaptureReportRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const TradeCaptureReport&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const OrderMassStatusRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const QuoteRequestReject&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const RFQRequest&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( const QuoteStatusReport&, const FIX::SessionID& )
|
||||
{ throw FIX::UnsupportedMessageType(); }
|
||||
virtual void onMessage( Heartbeat&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( TestRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( ResendRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( Reject&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( SequenceReset&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( Logout&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( IOI&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( Advertisement&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( ExecutionReport&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( OrderCancelReject&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( Logon&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( News&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( Email&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( NewOrderSingle&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( NewOrderList&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( OrderCancelRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( OrderCancelReplaceRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( OrderStatusRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( Allocation&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( ListCancelRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( ListExecute&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( ListStatusRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( ListStatus&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( AllocationAck&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( DontKnowTrade&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( QuoteRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( Quote&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( SettlementInstructions&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( MarketDataRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( MarketDataSnapshotFullRefresh&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( MarketDataIncrementalRefresh&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( MarketDataRequestReject&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( QuoteCancel&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( QuoteStatusRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( MassQuoteAcknowledgement&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( SecurityDefinitionRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( SecurityDefinition&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( SecurityStatusRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( SecurityStatus&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( TradingSessionStatusRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( TradingSessionStatus&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( MassQuote&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( BusinessMessageReject&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( BidRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( BidResponse&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( ListStrikePrice&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( XMLnonFIX&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( RegistrationInstructions&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( RegistrationInstructionsResponse&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( OrderMassCancelRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( OrderMassCancelReport&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( NewOrderCross&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( CrossOrderCancelRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( CrossOrderCancelReplaceRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( SecurityTypeRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( SecurityTypes&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( SecurityListRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( SecurityList&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( DerivativeSecurityListRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( DerivativeSecurityList&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( NewOrderMultileg&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( MultilegOrderCancelReplaceRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( TradeCaptureReportRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( TradeCaptureReport&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( OrderMassStatusRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( QuoteRequestReject&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( RFQRequest&, const FIX::SessionID& ) {}
|
||||
virtual void onMessage( QuoteStatusReport&, const FIX::SessionID& ) {}
|
||||
|
||||
public:
|
||||
void crack( const Message& message,
|
||||
const FIX::SessionID& sessionID )
|
||||
{
|
||||
const std::string& msgTypeValue
|
||||
= message.getHeader().getField( FIX::FIELD::MsgType );
|
||||
|
||||
if( msgTypeValue == "0" )
|
||||
onMessage( (const Heartbeat&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "1" )
|
||||
onMessage( (const TestRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "2" )
|
||||
onMessage( (const ResendRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "3" )
|
||||
onMessage( (const Reject&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "4" )
|
||||
onMessage( (const SequenceReset&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "5" )
|
||||
onMessage( (const Logout&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "6" )
|
||||
onMessage( (const IOI&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "7" )
|
||||
onMessage( (const Advertisement&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "8" )
|
||||
onMessage( (const ExecutionReport&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "9" )
|
||||
onMessage( (const OrderCancelReject&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "A" )
|
||||
onMessage( (const Logon&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "B" )
|
||||
onMessage( (const News&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "C" )
|
||||
onMessage( (const Email&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "D" )
|
||||
onMessage( (const NewOrderSingle&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "E" )
|
||||
onMessage( (const NewOrderList&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "F" )
|
||||
onMessage( (const OrderCancelRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "G" )
|
||||
onMessage( (const OrderCancelReplaceRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "H" )
|
||||
onMessage( (const OrderStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "J" )
|
||||
onMessage( (const Allocation&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "K" )
|
||||
onMessage( (const ListCancelRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "L" )
|
||||
onMessage( (const ListExecute&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "M" )
|
||||
onMessage( (const ListStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "N" )
|
||||
onMessage( (const ListStatus&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "P" )
|
||||
onMessage( (const AllocationAck&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "Q" )
|
||||
onMessage( (const DontKnowTrade&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "R" )
|
||||
onMessage( (const QuoteRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "S" )
|
||||
onMessage( (const Quote&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "T" )
|
||||
onMessage( (const SettlementInstructions&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "V" )
|
||||
onMessage( (const MarketDataRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "W" )
|
||||
onMessage( (const MarketDataSnapshotFullRefresh&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "X" )
|
||||
onMessage( (const MarketDataIncrementalRefresh&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "Y" )
|
||||
onMessage( (const MarketDataRequestReject&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "Z" )
|
||||
onMessage( (const QuoteCancel&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "a" )
|
||||
onMessage( (const QuoteStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "b" )
|
||||
onMessage( (const MassQuoteAcknowledgement&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "c" )
|
||||
onMessage( (const SecurityDefinitionRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "d" )
|
||||
onMessage( (const SecurityDefinition&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "e" )
|
||||
onMessage( (const SecurityStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "f" )
|
||||
onMessage( (const SecurityStatus&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "g" )
|
||||
onMessage( (const TradingSessionStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "h" )
|
||||
onMessage( (const TradingSessionStatus&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "i" )
|
||||
onMessage( (const MassQuote&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "j" )
|
||||
onMessage( (const BusinessMessageReject&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "k" )
|
||||
onMessage( (const BidRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "l" )
|
||||
onMessage( (const BidResponse&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "m" )
|
||||
onMessage( (const ListStrikePrice&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "n" )
|
||||
onMessage( (const XMLnonFIX&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "o" )
|
||||
onMessage( (const RegistrationInstructions&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "p" )
|
||||
onMessage( (const RegistrationInstructionsResponse&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "q" )
|
||||
onMessage( (const OrderMassCancelRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "r" )
|
||||
onMessage( (const OrderMassCancelReport&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "s" )
|
||||
onMessage( (const NewOrderCross&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "u" )
|
||||
onMessage( (const CrossOrderCancelRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "t" )
|
||||
onMessage( (const CrossOrderCancelReplaceRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "v" )
|
||||
onMessage( (const SecurityTypeRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "w" )
|
||||
onMessage( (const SecurityTypes&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "x" )
|
||||
onMessage( (const SecurityListRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "y" )
|
||||
onMessage( (const SecurityList&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "z" )
|
||||
onMessage( (const DerivativeSecurityListRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AA" )
|
||||
onMessage( (const DerivativeSecurityList&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AB" )
|
||||
onMessage( (const NewOrderMultileg&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AC" )
|
||||
onMessage( (const MultilegOrderCancelReplaceRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AD" )
|
||||
onMessage( (const TradeCaptureReportRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AE" )
|
||||
onMessage( (const TradeCaptureReport&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AF" )
|
||||
onMessage( (const OrderMassStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AG" )
|
||||
onMessage( (const QuoteRequestReject&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AH" )
|
||||
onMessage( (const RFQRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AI" )
|
||||
onMessage( (const QuoteStatusReport&)message, sessionID );
|
||||
else onMessage( message, sessionID );
|
||||
}
|
||||
|
||||
void crack( Message& message,
|
||||
const FIX::SessionID& sessionID )
|
||||
{
|
||||
FIX::MsgType msgType;
|
||||
message.getHeader().getField(msgType);
|
||||
std::string msgTypeValue = msgType.getValue();
|
||||
|
||||
if( msgTypeValue == "0" )
|
||||
onMessage( (Heartbeat&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "1" )
|
||||
onMessage( (TestRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "2" )
|
||||
onMessage( (ResendRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "3" )
|
||||
onMessage( (Reject&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "4" )
|
||||
onMessage( (SequenceReset&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "5" )
|
||||
onMessage( (Logout&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "6" )
|
||||
onMessage( (IOI&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "7" )
|
||||
onMessage( (Advertisement&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "8" )
|
||||
onMessage( (ExecutionReport&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "9" )
|
||||
onMessage( (OrderCancelReject&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "A" )
|
||||
onMessage( (Logon&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "B" )
|
||||
onMessage( (News&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "C" )
|
||||
onMessage( (Email&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "D" )
|
||||
onMessage( (NewOrderSingle&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "E" )
|
||||
onMessage( (NewOrderList&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "F" )
|
||||
onMessage( (OrderCancelRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "G" )
|
||||
onMessage( (OrderCancelReplaceRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "H" )
|
||||
onMessage( (OrderStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "J" )
|
||||
onMessage( (Allocation&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "K" )
|
||||
onMessage( (ListCancelRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "L" )
|
||||
onMessage( (ListExecute&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "M" )
|
||||
onMessage( (ListStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "N" )
|
||||
onMessage( (ListStatus&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "P" )
|
||||
onMessage( (AllocationAck&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "Q" )
|
||||
onMessage( (DontKnowTrade&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "R" )
|
||||
onMessage( (QuoteRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "S" )
|
||||
onMessage( (Quote&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "T" )
|
||||
onMessage( (SettlementInstructions&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "V" )
|
||||
onMessage( (MarketDataRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "W" )
|
||||
onMessage( (MarketDataSnapshotFullRefresh&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "X" )
|
||||
onMessage( (MarketDataIncrementalRefresh&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "Y" )
|
||||
onMessage( (MarketDataRequestReject&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "Z" )
|
||||
onMessage( (QuoteCancel&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "a" )
|
||||
onMessage( (QuoteStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "b" )
|
||||
onMessage( (MassQuoteAcknowledgement&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "c" )
|
||||
onMessage( (SecurityDefinitionRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "d" )
|
||||
onMessage( (SecurityDefinition&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "e" )
|
||||
onMessage( (SecurityStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "f" )
|
||||
onMessage( (SecurityStatus&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "g" )
|
||||
onMessage( (TradingSessionStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "h" )
|
||||
onMessage( (TradingSessionStatus&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "i" )
|
||||
onMessage( (MassQuote&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "j" )
|
||||
onMessage( (BusinessMessageReject&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "k" )
|
||||
onMessage( (BidRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "l" )
|
||||
onMessage( (BidResponse&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "m" )
|
||||
onMessage( (ListStrikePrice&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "n" )
|
||||
onMessage( (XMLnonFIX&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "o" )
|
||||
onMessage( (RegistrationInstructions&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "p" )
|
||||
onMessage( (RegistrationInstructionsResponse&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "q" )
|
||||
onMessage( (OrderMassCancelRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "r" )
|
||||
onMessage( (OrderMassCancelReport&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "s" )
|
||||
onMessage( (NewOrderCross&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "u" )
|
||||
onMessage( (CrossOrderCancelRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "t" )
|
||||
onMessage( (CrossOrderCancelReplaceRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "v" )
|
||||
onMessage( (SecurityTypeRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "w" )
|
||||
onMessage( (SecurityTypes&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "x" )
|
||||
onMessage( (SecurityListRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "y" )
|
||||
onMessage( (SecurityList&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "z" )
|
||||
onMessage( (DerivativeSecurityListRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AA" )
|
||||
onMessage( (DerivativeSecurityList&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AB" )
|
||||
onMessage( (NewOrderMultileg&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AC" )
|
||||
onMessage( (MultilegOrderCancelReplaceRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AD" )
|
||||
onMessage( (TradeCaptureReportRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AE" )
|
||||
onMessage( (TradeCaptureReport&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AF" )
|
||||
onMessage( (OrderMassStatusRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AG" )
|
||||
onMessage( (QuoteRequestReject&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AH" )
|
||||
onMessage( (RFQRequest&)message, sessionID );
|
||||
else
|
||||
if( msgTypeValue == "AI" )
|
||||
onMessage( (QuoteStatusReport&)message, sessionID );
|
||||
else onMessage( message, sessionID );
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,239 @@
|
||||
#ifndef FIX43_MULTILEGORDERCANCELREPLACEREQUEST_H
|
||||
#define FIX43_MULTILEGORDERCANCELREPLACEREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class MultilegOrderCancelReplaceRequest : public Message
|
||||
{
|
||||
public:
|
||||
MultilegOrderCancelReplaceRequest() : Message(MsgType()) {}
|
||||
MultilegOrderCancelReplaceRequest(const FIX::Message& m) : Message(m) {}
|
||||
MultilegOrderCancelReplaceRequest(const Message& m) : Message(m) {}
|
||||
MultilegOrderCancelReplaceRequest(const MultilegOrderCancelReplaceRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("AC"); }
|
||||
|
||||
MultilegOrderCancelReplaceRequest(
|
||||
const FIX::OrigClOrdID& aOrigClOrdID,
|
||||
const FIX::ClOrdID& aClOrdID,
|
||||
const FIX::HandlInst& aHandlInst,
|
||||
const FIX::Side& aSide,
|
||||
const FIX::TransactTime& aTransactTime,
|
||||
const FIX::OrdType& aOrdType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aOrigClOrdID);
|
||||
set(aClOrdID);
|
||||
set(aHandlInst);
|
||||
set(aSide);
|
||||
set(aTransactTime);
|
||||
set(aOrdType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::OrigClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::OrigOrdModTime);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::DayBookingInst);
|
||||
FIELD_SET(*this, FIX::BookingUnit);
|
||||
FIELD_SET(*this, FIX::PreallocMethod);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::CashMargin);
|
||||
FIELD_SET(*this, FIX::ClearingFeeIndicator);
|
||||
FIELD_SET(*this, FIX::HandlInst);
|
||||
FIELD_SET(*this, FIX::ExecInst);
|
||||
FIELD_SET(*this, FIX::MinQty);
|
||||
FIELD_SET(*this, FIX::MaxFloor);
|
||||
FIELD_SET(*this, FIX::ExDestination);
|
||||
FIELD_SET(*this, FIX::ProcessCode);
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::PrevClosePx);
|
||||
FIELD_SET(*this, FIX::LocateReqd);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::QuantityType);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::StopPx);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::ComplianceID);
|
||||
FIELD_SET(*this, FIX::SolicitedFlag);
|
||||
FIELD_SET(*this, FIX::IOIid);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::TimeInForce);
|
||||
FIELD_SET(*this, FIX::EffectiveTime);
|
||||
FIELD_SET(*this, FIX::ExpireDate);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::GTBookingInst);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CommCurrency);
|
||||
FIELD_SET(*this, FIX::FundRenewWaiv);
|
||||
FIELD_SET(*this, FIX::OrderCapacity);
|
||||
FIELD_SET(*this, FIX::OrderRestrictions);
|
||||
FIELD_SET(*this, FIX::CustOrderCapacity);
|
||||
FIELD_SET(*this, FIX::ForexReq);
|
||||
FIELD_SET(*this, FIX::SettlCurrency);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::PositionEffect);
|
||||
FIELD_SET(*this, FIX::CoveredOrUncovered);
|
||||
FIELD_SET(*this, FIX::MaxShow);
|
||||
FIELD_SET(*this, FIX::PegDifference);
|
||||
FIELD_SET(*this, FIX::DiscretionInst);
|
||||
FIELD_SET(*this, FIX::DiscretionOffset);
|
||||
FIELD_SET(*this, FIX::CancellationRights);
|
||||
FIELD_SET(*this, FIX::MoneyLaunderingStatus);
|
||||
FIELD_SET(*this, FIX::RegistID);
|
||||
FIELD_SET(*this, FIX::Designation);
|
||||
FIELD_SET(*this, FIX::MultiLegRptTypeReq);
|
||||
FIELD_SET(*this, FIX::NetMoney);
|
||||
FIELD_SET(*this, FIX::NoAllocs);
|
||||
class NoAllocs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,467,80,0)) {}
|
||||
FIELD_SET(*this, FIX::AllocAccount);
|
||||
FIELD_SET(*this, FIX::IndividualAllocID);
|
||||
FIELD_SET(*this, FIX::AllocQty);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoTradingSessions);
|
||||
class NoTradingSessions: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoTradingSessions() : FIX::Group(386,336,FIX::message_order(336,625,0)) {}
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoLegs);
|
||||
class NoLegs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,604,607,608,609,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,613,614,615,616,617,618,619,620,621,622,623,624,564,565,539,654,566,587,588,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSymbol);
|
||||
FIELD_SET(*this, FIX::LegSymbolSfx);
|
||||
FIELD_SET(*this, FIX::LegSecurityID);
|
||||
FIELD_SET(*this, FIX::LegSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::LegProduct);
|
||||
FIELD_SET(*this, FIX::LegCFICode);
|
||||
FIELD_SET(*this, FIX::LegSecurityType);
|
||||
FIELD_SET(*this, FIX::LegMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::LegMaturityDate);
|
||||
FIELD_SET(*this, FIX::LegCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::LegIssueDate);
|
||||
FIELD_SET(*this, FIX::LegRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::LegFactor);
|
||||
FIELD_SET(*this, FIX::LegCreditRating);
|
||||
FIELD_SET(*this, FIX::LegInstrRegistry);
|
||||
FIELD_SET(*this, FIX::LegCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::LegStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LegLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::LegRedemptionDate);
|
||||
FIELD_SET(*this, FIX::LegStrikePrice);
|
||||
FIELD_SET(*this, FIX::LegOptAttribute);
|
||||
FIELD_SET(*this, FIX::LegContractMultiplier);
|
||||
FIELD_SET(*this, FIX::LegCouponRate);
|
||||
FIELD_SET(*this, FIX::LegSecurityExchange);
|
||||
FIELD_SET(*this, FIX::LegIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuer);
|
||||
FIELD_SET(*this, FIX::LegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::LegRatioQty);
|
||||
FIELD_SET(*this, FIX::LegSide);
|
||||
FIELD_SET(*this, FIX::NoLegSecurityAltID);
|
||||
class NoLegSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegSecurityAltID() : FIX::Group(604,605,FIX::message_order(605,606,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSecurityAltID);
|
||||
FIELD_SET(*this, FIX::LegSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::LegPositionEffect);
|
||||
FIELD_SET(*this, FIX::LegCoveredOrUncovered);
|
||||
FIELD_SET(*this, FIX::NoNestedPartyIDs);
|
||||
class NoNestedPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,545,0)) {}
|
||||
FIELD_SET(*this, FIX::NestedPartyID);
|
||||
FIELD_SET(*this, FIX::NestedPartyIDSource);
|
||||
FIELD_SET(*this, FIX::NestedPartyRole);
|
||||
FIELD_SET(*this, FIX::NestedPartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::LegRefID);
|
||||
FIELD_SET(*this, FIX::LegPrice);
|
||||
FIELD_SET(*this, FIX::LegSettlmntTyp);
|
||||
FIELD_SET(*this, FIX::LegFutSettDate);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,208 @@
|
||||
#ifndef FIX43_NEWORDERCROSS_H
|
||||
#define FIX43_NEWORDERCROSS_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class NewOrderCross : public Message
|
||||
{
|
||||
public:
|
||||
NewOrderCross() : Message(MsgType()) {}
|
||||
NewOrderCross(const FIX::Message& m) : Message(m) {}
|
||||
NewOrderCross(const Message& m) : Message(m) {}
|
||||
NewOrderCross(const NewOrderCross& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("s"); }
|
||||
|
||||
NewOrderCross(
|
||||
const FIX::CrossID& aCrossID,
|
||||
const FIX::CrossType& aCrossType,
|
||||
const FIX::CrossPrioritization& aCrossPrioritization,
|
||||
const FIX::HandlInst& aHandlInst,
|
||||
const FIX::TransactTime& aTransactTime,
|
||||
const FIX::OrdType& aOrdType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aCrossID);
|
||||
set(aCrossType);
|
||||
set(aCrossPrioritization);
|
||||
set(aHandlInst);
|
||||
set(aTransactTime);
|
||||
set(aOrdType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::CrossID);
|
||||
FIELD_SET(*this, FIX::CrossType);
|
||||
FIELD_SET(*this, FIX::CrossPrioritization);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::HandlInst);
|
||||
FIELD_SET(*this, FIX::ExecInst);
|
||||
FIELD_SET(*this, FIX::MinQty);
|
||||
FIELD_SET(*this, FIX::MaxFloor);
|
||||
FIELD_SET(*this, FIX::ExDestination);
|
||||
FIELD_SET(*this, FIX::ProcessCode);
|
||||
FIELD_SET(*this, FIX::PrevClosePx);
|
||||
FIELD_SET(*this, FIX::LocateReqd);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::NoStipulations);
|
||||
class NoStipulations: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
|
||||
FIELD_SET(*this, FIX::StipulationType);
|
||||
FIELD_SET(*this, FIX::StipulationValue);
|
||||
};
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::StopPx);
|
||||
FIELD_SET(*this, FIX::Spread);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveName);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
|
||||
FIELD_SET(*this, FIX::YieldType);
|
||||
FIELD_SET(*this, FIX::Yield);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::ComplianceID);
|
||||
FIELD_SET(*this, FIX::IOIid);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::TimeInForce);
|
||||
FIELD_SET(*this, FIX::EffectiveTime);
|
||||
FIELD_SET(*this, FIX::ExpireDate);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::GTBookingInst);
|
||||
FIELD_SET(*this, FIX::MaxShow);
|
||||
FIELD_SET(*this, FIX::PegDifference);
|
||||
FIELD_SET(*this, FIX::DiscretionInst);
|
||||
FIELD_SET(*this, FIX::DiscretionOffset);
|
||||
FIELD_SET(*this, FIX::CancellationRights);
|
||||
FIELD_SET(*this, FIX::MoneyLaunderingStatus);
|
||||
FIELD_SET(*this, FIX::RegistID);
|
||||
FIELD_SET(*this, FIX::Designation);
|
||||
FIELD_SET(*this, FIX::AccruedInterestRate);
|
||||
FIELD_SET(*this, FIX::AccruedInterestAmt);
|
||||
FIELD_SET(*this, FIX::NetMoney);
|
||||
FIELD_SET(*this, FIX::NoSides);
|
||||
class NoSides: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSides() : FIX::Group(552,54,FIX::message_order(54,11,526,583,453,229,1,581,589,590,591,78,465,38,152,516,468,469,12,13,479,497,528,529,582,121,120,58,354,355,77,203,544,635,377,659,0)) {}
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::DayBookingInst);
|
||||
FIELD_SET(*this, FIX::BookingUnit);
|
||||
FIELD_SET(*this, FIX::PreallocMethod);
|
||||
FIELD_SET(*this, FIX::QuantityType);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CommCurrency);
|
||||
FIELD_SET(*this, FIX::FundRenewWaiv);
|
||||
FIELD_SET(*this, FIX::OrderCapacity);
|
||||
FIELD_SET(*this, FIX::OrderRestrictions);
|
||||
FIELD_SET(*this, FIX::CustOrderCapacity);
|
||||
FIELD_SET(*this, FIX::ForexReq);
|
||||
FIELD_SET(*this, FIX::SettlCurrency);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::PositionEffect);
|
||||
FIELD_SET(*this, FIX::CoveredOrUncovered);
|
||||
FIELD_SET(*this, FIX::CashMargin);
|
||||
FIELD_SET(*this, FIX::ClearingFeeIndicator);
|
||||
FIELD_SET(*this, FIX::SolicitedFlag);
|
||||
FIELD_SET(*this, FIX::SideComplianceID);
|
||||
FIELD_SET(*this, FIX::NoAllocs);
|
||||
class NoAllocs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,467,539,80,0)) {}
|
||||
FIELD_SET(*this, FIX::AllocAccount);
|
||||
FIELD_SET(*this, FIX::IndividualAllocID);
|
||||
FIELD_SET(*this, FIX::NoNestedPartyIDs);
|
||||
class NoNestedPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,545,0)) {}
|
||||
FIELD_SET(*this, FIX::NestedPartyID);
|
||||
FIELD_SET(*this, FIX::NestedPartyIDSource);
|
||||
FIELD_SET(*this, FIX::NestedPartyRole);
|
||||
FIELD_SET(*this, FIX::NestedPartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::AllocQty);
|
||||
};
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoTradingSessions);
|
||||
class NoTradingSessions: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoTradingSessions() : FIX::Group(386,336,FIX::message_order(336,625,0)) {}
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,216 @@
|
||||
#ifndef FIX43_NEWORDERLIST_H
|
||||
#define FIX43_NEWORDERLIST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class NewOrderList : public Message
|
||||
{
|
||||
public:
|
||||
NewOrderList() : Message(MsgType()) {}
|
||||
NewOrderList(const FIX::Message& m) : Message(m) {}
|
||||
NewOrderList(const Message& m) : Message(m) {}
|
||||
NewOrderList(const NewOrderList& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("E"); }
|
||||
|
||||
NewOrderList(
|
||||
const FIX::ListID& aListID,
|
||||
const FIX::BidType& aBidType,
|
||||
const FIX::TotNoOrders& aTotNoOrders )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aListID);
|
||||
set(aBidType);
|
||||
set(aTotNoOrders);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::BidID);
|
||||
FIELD_SET(*this, FIX::ClientBidID);
|
||||
FIELD_SET(*this, FIX::ProgRptReqs);
|
||||
FIELD_SET(*this, FIX::BidType);
|
||||
FIELD_SET(*this, FIX::ProgPeriodInterval);
|
||||
FIELD_SET(*this, FIX::CancellationRights);
|
||||
FIELD_SET(*this, FIX::MoneyLaunderingStatus);
|
||||
FIELD_SET(*this, FIX::RegistID);
|
||||
FIELD_SET(*this, FIX::ListExecInstType);
|
||||
FIELD_SET(*this, FIX::ListExecInst);
|
||||
FIELD_SET(*this, FIX::EncodedListExecInstLen);
|
||||
FIELD_SET(*this, FIX::EncodedListExecInst);
|
||||
FIELD_SET(*this, FIX::TotNoOrders);
|
||||
FIELD_SET(*this, FIX::NoOrders);
|
||||
class NoOrders: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoOrders() : FIX::Group(73,11,FIX::message_order(11,526,67,583,160,453,229,1,581,589,590,591,78,63,64,544,635,21,18,110,111,100,386,81,55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,140,54,401,114,60,232,465,38,152,516,468,469,40,423,44,99,218,220,221,222,235,236,15,376,377,23,117,59,168,432,126,427,12,13,479,497,528,529,582,47,121,120,58,354,355,193,192,640,77,203,210,211,388,389,494,158,159,118,0)) {}
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ListSeqNo);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::SettlInstMode);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::DayBookingInst);
|
||||
FIELD_SET(*this, FIX::BookingUnit);
|
||||
FIELD_SET(*this, FIX::PreallocMethod);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::CashMargin);
|
||||
FIELD_SET(*this, FIX::ClearingFeeIndicator);
|
||||
FIELD_SET(*this, FIX::HandlInst);
|
||||
FIELD_SET(*this, FIX::ExecInst);
|
||||
FIELD_SET(*this, FIX::MinQty);
|
||||
FIELD_SET(*this, FIX::MaxFloor);
|
||||
FIELD_SET(*this, FIX::ExDestination);
|
||||
FIELD_SET(*this, FIX::ProcessCode);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::PrevClosePx);
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::SideValueInd);
|
||||
FIELD_SET(*this, FIX::LocateReqd);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::NoStipulations);
|
||||
class NoStipulations: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
|
||||
FIELD_SET(*this, FIX::StipulationType);
|
||||
FIELD_SET(*this, FIX::StipulationValue);
|
||||
};
|
||||
FIELD_SET(*this, FIX::QuantityType);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::StopPx);
|
||||
FIELD_SET(*this, FIX::Spread);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveName);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
|
||||
FIELD_SET(*this, FIX::YieldType);
|
||||
FIELD_SET(*this, FIX::Yield);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::ComplianceID);
|
||||
FIELD_SET(*this, FIX::SolicitedFlag);
|
||||
FIELD_SET(*this, FIX::IOIid);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::TimeInForce);
|
||||
FIELD_SET(*this, FIX::EffectiveTime);
|
||||
FIELD_SET(*this, FIX::ExpireDate);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::GTBookingInst);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CommCurrency);
|
||||
FIELD_SET(*this, FIX::FundRenewWaiv);
|
||||
FIELD_SET(*this, FIX::OrderCapacity);
|
||||
FIELD_SET(*this, FIX::OrderRestrictions);
|
||||
FIELD_SET(*this, FIX::CustOrderCapacity);
|
||||
FIELD_SET(*this, FIX::Rule80A);
|
||||
FIELD_SET(*this, FIX::ForexReq);
|
||||
FIELD_SET(*this, FIX::SettlCurrency);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::FutSettDate2);
|
||||
FIELD_SET(*this, FIX::OrderQty2);
|
||||
FIELD_SET(*this, FIX::Price2);
|
||||
FIELD_SET(*this, FIX::PositionEffect);
|
||||
FIELD_SET(*this, FIX::CoveredOrUncovered);
|
||||
FIELD_SET(*this, FIX::MaxShow);
|
||||
FIELD_SET(*this, FIX::PegDifference);
|
||||
FIELD_SET(*this, FIX::DiscretionInst);
|
||||
FIELD_SET(*this, FIX::DiscretionOffset);
|
||||
FIELD_SET(*this, FIX::Designation);
|
||||
FIELD_SET(*this, FIX::AccruedInterestRate);
|
||||
FIELD_SET(*this, FIX::AccruedInterestAmt);
|
||||
FIELD_SET(*this, FIX::NetMoney);
|
||||
FIELD_SET(*this, FIX::NoAllocs);
|
||||
class NoAllocs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,467,539,80,0)) {}
|
||||
FIELD_SET(*this, FIX::AllocAccount);
|
||||
FIELD_SET(*this, FIX::IndividualAllocID);
|
||||
FIELD_SET(*this, FIX::NoNestedPartyIDs);
|
||||
class NoNestedPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,545,0)) {}
|
||||
FIELD_SET(*this, FIX::NestedPartyID);
|
||||
FIELD_SET(*this, FIX::NestedPartyIDSource);
|
||||
FIELD_SET(*this, FIX::NestedPartyRole);
|
||||
FIELD_SET(*this, FIX::NestedPartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::AllocQty);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoTradingSessions);
|
||||
class NoTradingSessions: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoTradingSessions() : FIX::Group(386,336,FIX::message_order(336,625,0)) {}
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,234 @@
|
||||
#ifndef FIX43_NEWORDERMULTILEG_H
|
||||
#define FIX43_NEWORDERMULTILEG_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class NewOrderMultileg : public Message
|
||||
{
|
||||
public:
|
||||
NewOrderMultileg() : Message(MsgType()) {}
|
||||
NewOrderMultileg(const FIX::Message& m) : Message(m) {}
|
||||
NewOrderMultileg(const Message& m) : Message(m) {}
|
||||
NewOrderMultileg(const NewOrderMultileg& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("AB"); }
|
||||
|
||||
NewOrderMultileg(
|
||||
const FIX::ClOrdID& aClOrdID,
|
||||
const FIX::HandlInst& aHandlInst,
|
||||
const FIX::Side& aSide,
|
||||
const FIX::TransactTime& aTransactTime,
|
||||
const FIX::OrdType& aOrdType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aClOrdID);
|
||||
set(aHandlInst);
|
||||
set(aSide);
|
||||
set(aTransactTime);
|
||||
set(aOrdType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::DayBookingInst);
|
||||
FIELD_SET(*this, FIX::BookingUnit);
|
||||
FIELD_SET(*this, FIX::PreallocMethod);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::CashMargin);
|
||||
FIELD_SET(*this, FIX::ClearingFeeIndicator);
|
||||
FIELD_SET(*this, FIX::HandlInst);
|
||||
FIELD_SET(*this, FIX::ExecInst);
|
||||
FIELD_SET(*this, FIX::MinQty);
|
||||
FIELD_SET(*this, FIX::MaxFloor);
|
||||
FIELD_SET(*this, FIX::ExDestination);
|
||||
FIELD_SET(*this, FIX::ProcessCode);
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::PrevClosePx);
|
||||
FIELD_SET(*this, FIX::LocateReqd);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::QuantityType);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::StopPx);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::ComplianceID);
|
||||
FIELD_SET(*this, FIX::SolicitedFlag);
|
||||
FIELD_SET(*this, FIX::IOIid);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::TimeInForce);
|
||||
FIELD_SET(*this, FIX::EffectiveTime);
|
||||
FIELD_SET(*this, FIX::ExpireDate);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::GTBookingInst);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CommCurrency);
|
||||
FIELD_SET(*this, FIX::FundRenewWaiv);
|
||||
FIELD_SET(*this, FIX::OrderCapacity);
|
||||
FIELD_SET(*this, FIX::OrderRestrictions);
|
||||
FIELD_SET(*this, FIX::CustOrderCapacity);
|
||||
FIELD_SET(*this, FIX::ForexReq);
|
||||
FIELD_SET(*this, FIX::SettlCurrency);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::PositionEffect);
|
||||
FIELD_SET(*this, FIX::CoveredOrUncovered);
|
||||
FIELD_SET(*this, FIX::MaxShow);
|
||||
FIELD_SET(*this, FIX::PegDifference);
|
||||
FIELD_SET(*this, FIX::DiscretionInst);
|
||||
FIELD_SET(*this, FIX::DiscretionOffset);
|
||||
FIELD_SET(*this, FIX::CancellationRights);
|
||||
FIELD_SET(*this, FIX::MoneyLaunderingStatus);
|
||||
FIELD_SET(*this, FIX::RegistID);
|
||||
FIELD_SET(*this, FIX::Designation);
|
||||
FIELD_SET(*this, FIX::MultiLegRptTypeReq);
|
||||
FIELD_SET(*this, FIX::NetMoney);
|
||||
FIELD_SET(*this, FIX::NoAllocs);
|
||||
class NoAllocs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,467,80,0)) {}
|
||||
FIELD_SET(*this, FIX::AllocAccount);
|
||||
FIELD_SET(*this, FIX::IndividualAllocID);
|
||||
FIELD_SET(*this, FIX::AllocQty);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoTradingSessions);
|
||||
class NoTradingSessions: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoTradingSessions() : FIX::Group(386,336,FIX::message_order(336,625,0)) {}
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoLegs);
|
||||
class NoLegs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,604,607,608,609,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,613,614,615,616,617,618,619,620,621,622,623,624,564,565,539,654,566,587,588,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSymbol);
|
||||
FIELD_SET(*this, FIX::LegSymbolSfx);
|
||||
FIELD_SET(*this, FIX::LegSecurityID);
|
||||
FIELD_SET(*this, FIX::LegSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::LegProduct);
|
||||
FIELD_SET(*this, FIX::LegCFICode);
|
||||
FIELD_SET(*this, FIX::LegSecurityType);
|
||||
FIELD_SET(*this, FIX::LegMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::LegMaturityDate);
|
||||
FIELD_SET(*this, FIX::LegCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::LegIssueDate);
|
||||
FIELD_SET(*this, FIX::LegRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::LegFactor);
|
||||
FIELD_SET(*this, FIX::LegCreditRating);
|
||||
FIELD_SET(*this, FIX::LegInstrRegistry);
|
||||
FIELD_SET(*this, FIX::LegCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::LegStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LegLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::LegRedemptionDate);
|
||||
FIELD_SET(*this, FIX::LegStrikePrice);
|
||||
FIELD_SET(*this, FIX::LegOptAttribute);
|
||||
FIELD_SET(*this, FIX::LegContractMultiplier);
|
||||
FIELD_SET(*this, FIX::LegCouponRate);
|
||||
FIELD_SET(*this, FIX::LegSecurityExchange);
|
||||
FIELD_SET(*this, FIX::LegIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuer);
|
||||
FIELD_SET(*this, FIX::LegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::LegRatioQty);
|
||||
FIELD_SET(*this, FIX::LegSide);
|
||||
FIELD_SET(*this, FIX::NoLegSecurityAltID);
|
||||
class NoLegSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegSecurityAltID() : FIX::Group(604,605,FIX::message_order(605,606,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSecurityAltID);
|
||||
FIELD_SET(*this, FIX::LegSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::LegPositionEffect);
|
||||
FIELD_SET(*this, FIX::LegCoveredOrUncovered);
|
||||
FIELD_SET(*this, FIX::NoNestedPartyIDs);
|
||||
class NoNestedPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,545,0)) {}
|
||||
FIELD_SET(*this, FIX::NestedPartyID);
|
||||
FIELD_SET(*this, FIX::NestedPartyIDSource);
|
||||
FIELD_SET(*this, FIX::NestedPartyRole);
|
||||
FIELD_SET(*this, FIX::NestedPartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::LegRefID);
|
||||
FIELD_SET(*this, FIX::LegPrice);
|
||||
FIELD_SET(*this, FIX::LegSettlmntTyp);
|
||||
FIELD_SET(*this, FIX::LegFutSettDate);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,200 @@
|
||||
#ifndef FIX43_NEWORDERSINGLE_H
|
||||
#define FIX43_NEWORDERSINGLE_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class NewOrderSingle : public Message
|
||||
{
|
||||
public:
|
||||
NewOrderSingle() : Message(MsgType()) {}
|
||||
NewOrderSingle(const FIX::Message& m) : Message(m) {}
|
||||
NewOrderSingle(const Message& m) : Message(m) {}
|
||||
NewOrderSingle(const NewOrderSingle& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("D"); }
|
||||
|
||||
NewOrderSingle(
|
||||
const FIX::ClOrdID& aClOrdID,
|
||||
const FIX::HandlInst& aHandlInst,
|
||||
const FIX::Side& aSide,
|
||||
const FIX::TransactTime& aTransactTime,
|
||||
const FIX::OrdType& aOrdType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aClOrdID);
|
||||
set(aHandlInst);
|
||||
set(aSide);
|
||||
set(aTransactTime);
|
||||
set(aOrdType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::DayBookingInst);
|
||||
FIELD_SET(*this, FIX::BookingUnit);
|
||||
FIELD_SET(*this, FIX::PreallocMethod);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::CashMargin);
|
||||
FIELD_SET(*this, FIX::ClearingFeeIndicator);
|
||||
FIELD_SET(*this, FIX::HandlInst);
|
||||
FIELD_SET(*this, FIX::ExecInst);
|
||||
FIELD_SET(*this, FIX::MinQty);
|
||||
FIELD_SET(*this, FIX::MaxFloor);
|
||||
FIELD_SET(*this, FIX::ExDestination);
|
||||
FIELD_SET(*this, FIX::ProcessCode);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::PrevClosePx);
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::LocateReqd);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::NoStipulations);
|
||||
class NoStipulations: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
|
||||
FIELD_SET(*this, FIX::StipulationType);
|
||||
FIELD_SET(*this, FIX::StipulationValue);
|
||||
};
|
||||
FIELD_SET(*this, FIX::QuantityType);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::StopPx);
|
||||
FIELD_SET(*this, FIX::Spread);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveName);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
|
||||
FIELD_SET(*this, FIX::YieldType);
|
||||
FIELD_SET(*this, FIX::Yield);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::ComplianceID);
|
||||
FIELD_SET(*this, FIX::SolicitedFlag);
|
||||
FIELD_SET(*this, FIX::IOIid);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::TimeInForce);
|
||||
FIELD_SET(*this, FIX::EffectiveTime);
|
||||
FIELD_SET(*this, FIX::ExpireDate);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::GTBookingInst);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CommCurrency);
|
||||
FIELD_SET(*this, FIX::FundRenewWaiv);
|
||||
FIELD_SET(*this, FIX::OrderCapacity);
|
||||
FIELD_SET(*this, FIX::OrderRestrictions);
|
||||
FIELD_SET(*this, FIX::CustOrderCapacity);
|
||||
FIELD_SET(*this, FIX::Rule80A);
|
||||
FIELD_SET(*this, FIX::ForexReq);
|
||||
FIELD_SET(*this, FIX::SettlCurrency);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::FutSettDate2);
|
||||
FIELD_SET(*this, FIX::OrderQty2);
|
||||
FIELD_SET(*this, FIX::Price2);
|
||||
FIELD_SET(*this, FIX::PositionEffect);
|
||||
FIELD_SET(*this, FIX::CoveredOrUncovered);
|
||||
FIELD_SET(*this, FIX::MaxShow);
|
||||
FIELD_SET(*this, FIX::PegDifference);
|
||||
FIELD_SET(*this, FIX::DiscretionInst);
|
||||
FIELD_SET(*this, FIX::DiscretionOffset);
|
||||
FIELD_SET(*this, FIX::CancellationRights);
|
||||
FIELD_SET(*this, FIX::MoneyLaunderingStatus);
|
||||
FIELD_SET(*this, FIX::RegistID);
|
||||
FIELD_SET(*this, FIX::Designation);
|
||||
FIELD_SET(*this, FIX::AccruedInterestRate);
|
||||
FIELD_SET(*this, FIX::AccruedInterestAmt);
|
||||
FIELD_SET(*this, FIX::NetMoney);
|
||||
FIELD_SET(*this, FIX::NoAllocs);
|
||||
class NoAllocs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,467,539,80,0)) {}
|
||||
FIELD_SET(*this, FIX::AllocAccount);
|
||||
FIELD_SET(*this, FIX::IndividualAllocID);
|
||||
FIELD_SET(*this, FIX::NoNestedPartyIDs);
|
||||
class NoNestedPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,545,0)) {}
|
||||
FIELD_SET(*this, FIX::NestedPartyID);
|
||||
FIELD_SET(*this, FIX::NestedPartyIDSource);
|
||||
FIELD_SET(*this, FIX::NestedPartyRole);
|
||||
FIELD_SET(*this, FIX::NestedPartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::AllocQty);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoTradingSessions);
|
||||
class NoTradingSessions: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoTradingSessions() : FIX::Group(386,336,FIX::message_order(336,625,0)) {}
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,100 @@
|
||||
#ifndef FIX43_NEWS_H
|
||||
#define FIX43_NEWS_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class News : public Message
|
||||
{
|
||||
public:
|
||||
News() : Message(MsgType()) {}
|
||||
News(const FIX::Message& m) : Message(m) {}
|
||||
News(const Message& m) : Message(m) {}
|
||||
News(const News& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("B"); }
|
||||
|
||||
News(
|
||||
const FIX::Headline& aHeadline )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aHeadline);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::OrigTime);
|
||||
FIELD_SET(*this, FIX::Urgency);
|
||||
FIELD_SET(*this, FIX::Headline);
|
||||
FIELD_SET(*this, FIX::EncodedHeadlineLen);
|
||||
FIELD_SET(*this, FIX::EncodedHeadline);
|
||||
FIELD_SET(*this, FIX::URLLink);
|
||||
FIELD_SET(*this, FIX::RawDataLength);
|
||||
FIELD_SET(*this, FIX::RawData);
|
||||
FIELD_SET(*this, FIX::NoRoutingIDs);
|
||||
class NoRoutingIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRoutingIDs() : FIX::Group(215,216,FIX::message_order(216,217,0)) {}
|
||||
FIELD_SET(*this, FIX::RoutingType);
|
||||
FIELD_SET(*this, FIX::RoutingID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoRelatedSym);
|
||||
class NoRelatedSym: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,0)) {}
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
};
|
||||
FIELD_SET(*this, FIX::LinesOfText);
|
||||
class LinesOfText: public FIX::Group
|
||||
{
|
||||
public:
|
||||
LinesOfText() : FIX::Group(33,58,FIX::message_order(58,354,355,0)) {}
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,56 @@
|
||||
#ifndef FIX43_ORDERCANCELREJECT_H
|
||||
#define FIX43_ORDERCANCELREJECT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class OrderCancelReject : public Message
|
||||
{
|
||||
public:
|
||||
OrderCancelReject() : Message(MsgType()) {}
|
||||
OrderCancelReject(const FIX::Message& m) : Message(m) {}
|
||||
OrderCancelReject(const Message& m) : Message(m) {}
|
||||
OrderCancelReject(const OrderCancelReject& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("9"); }
|
||||
|
||||
OrderCancelReject(
|
||||
const FIX::OrderID& aOrderID,
|
||||
const FIX::ClOrdID& aClOrdID,
|
||||
const FIX::OrigClOrdID& aOrigClOrdID,
|
||||
const FIX::OrdStatus& aOrdStatus,
|
||||
const FIX::CxlRejResponseTo& aCxlRejResponseTo )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aOrderID);
|
||||
set(aClOrdID);
|
||||
set(aOrigClOrdID);
|
||||
set(aOrdStatus);
|
||||
set(aCxlRejResponseTo);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::SecondaryOrderID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::OrigClOrdID);
|
||||
FIELD_SET(*this, FIX::OrdStatus);
|
||||
FIELD_SET(*this, FIX::WorkingIndicator);
|
||||
FIELD_SET(*this, FIX::OrigOrdModTime);
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::CxlRejResponseTo);
|
||||
FIELD_SET(*this, FIX::CxlRejReason);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,194 @@
|
||||
#ifndef FIX43_ORDERCANCELREPLACEREQUEST_H
|
||||
#define FIX43_ORDERCANCELREPLACEREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class OrderCancelReplaceRequest : public Message
|
||||
{
|
||||
public:
|
||||
OrderCancelReplaceRequest() : Message(MsgType()) {}
|
||||
OrderCancelReplaceRequest(const FIX::Message& m) : Message(m) {}
|
||||
OrderCancelReplaceRequest(const Message& m) : Message(m) {}
|
||||
OrderCancelReplaceRequest(const OrderCancelReplaceRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("G"); }
|
||||
|
||||
OrderCancelReplaceRequest(
|
||||
const FIX::OrigClOrdID& aOrigClOrdID,
|
||||
const FIX::ClOrdID& aClOrdID,
|
||||
const FIX::HandlInst& aHandlInst,
|
||||
const FIX::Side& aSide,
|
||||
const FIX::TransactTime& aTransactTime,
|
||||
const FIX::OrdType& aOrdType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aOrigClOrdID);
|
||||
set(aClOrdID);
|
||||
set(aHandlInst);
|
||||
set(aSide);
|
||||
set(aTransactTime);
|
||||
set(aOrdType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::OrigClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::OrigOrdModTime);
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::DayBookingInst);
|
||||
FIELD_SET(*this, FIX::BookingUnit);
|
||||
FIELD_SET(*this, FIX::PreallocMethod);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::CashMargin);
|
||||
FIELD_SET(*this, FIX::ClearingFeeIndicator);
|
||||
FIELD_SET(*this, FIX::HandlInst);
|
||||
FIELD_SET(*this, FIX::ExecInst);
|
||||
FIELD_SET(*this, FIX::MinQty);
|
||||
FIELD_SET(*this, FIX::MaxFloor);
|
||||
FIELD_SET(*this, FIX::ExDestination);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::QuantityType);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::StopPx);
|
||||
FIELD_SET(*this, FIX::Spread);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveName);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
|
||||
FIELD_SET(*this, FIX::YieldType);
|
||||
FIELD_SET(*this, FIX::Yield);
|
||||
FIELD_SET(*this, FIX::PegDifference);
|
||||
FIELD_SET(*this, FIX::DiscretionInst);
|
||||
FIELD_SET(*this, FIX::DiscretionOffset);
|
||||
FIELD_SET(*this, FIX::ComplianceID);
|
||||
FIELD_SET(*this, FIX::SolicitedFlag);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::TimeInForce);
|
||||
FIELD_SET(*this, FIX::EffectiveTime);
|
||||
FIELD_SET(*this, FIX::ExpireDate);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::GTBookingInst);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CommCurrency);
|
||||
FIELD_SET(*this, FIX::FundRenewWaiv);
|
||||
FIELD_SET(*this, FIX::OrderCapacity);
|
||||
FIELD_SET(*this, FIX::OrderRestrictions);
|
||||
FIELD_SET(*this, FIX::CustOrderCapacity);
|
||||
FIELD_SET(*this, FIX::Rule80A);
|
||||
FIELD_SET(*this, FIX::ForexReq);
|
||||
FIELD_SET(*this, FIX::SettlCurrency);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::FutSettDate2);
|
||||
FIELD_SET(*this, FIX::OrderQty2);
|
||||
FIELD_SET(*this, FIX::Price2);
|
||||
FIELD_SET(*this, FIX::PositionEffect);
|
||||
FIELD_SET(*this, FIX::CoveredOrUncovered);
|
||||
FIELD_SET(*this, FIX::MaxShow);
|
||||
FIELD_SET(*this, FIX::LocateReqd);
|
||||
FIELD_SET(*this, FIX::CancellationRights);
|
||||
FIELD_SET(*this, FIX::MoneyLaunderingStatus);
|
||||
FIELD_SET(*this, FIX::RegistID);
|
||||
FIELD_SET(*this, FIX::Designation);
|
||||
FIELD_SET(*this, FIX::AccruedInterestRate);
|
||||
FIELD_SET(*this, FIX::AccruedInterestAmt);
|
||||
FIELD_SET(*this, FIX::NetMoney);
|
||||
FIELD_SET(*this, FIX::NoAllocs);
|
||||
class NoAllocs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,467,539,80,0)) {}
|
||||
FIELD_SET(*this, FIX::AllocAccount);
|
||||
FIELD_SET(*this, FIX::IndividualAllocID);
|
||||
FIELD_SET(*this, FIX::NoNestedPartyIDs);
|
||||
class NoNestedPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,545,0)) {}
|
||||
FIELD_SET(*this, FIX::NestedPartyID);
|
||||
FIELD_SET(*this, FIX::NestedPartyIDSource);
|
||||
FIELD_SET(*this, FIX::NestedPartyRole);
|
||||
FIELD_SET(*this, FIX::NestedPartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::AllocQty);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoTradingSessions);
|
||||
class NoTradingSessions: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoTradingSessions() : FIX::Group(386,336,FIX::message_order(336,625,0)) {}
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,105 @@
|
||||
#ifndef FIX43_ORDERCANCELREQUEST_H
|
||||
#define FIX43_ORDERCANCELREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class OrderCancelRequest : public Message
|
||||
{
|
||||
public:
|
||||
OrderCancelRequest() : Message(MsgType()) {}
|
||||
OrderCancelRequest(const FIX::Message& m) : Message(m) {}
|
||||
OrderCancelRequest(const Message& m) : Message(m) {}
|
||||
OrderCancelRequest(const OrderCancelRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("F"); }
|
||||
|
||||
OrderCancelRequest(
|
||||
const FIX::OrigClOrdID& aOrigClOrdID,
|
||||
const FIX::ClOrdID& aClOrdID,
|
||||
const FIX::Side& aSide,
|
||||
const FIX::TransactTime& aTransactTime )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aOrigClOrdID);
|
||||
set(aClOrdID);
|
||||
set(aSide);
|
||||
set(aTransactTime);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::OrigClOrdID);
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::ListID);
|
||||
FIELD_SET(*this, FIX::OrigOrdModTime);
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::ComplianceID);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,138 @@
|
||||
#ifndef FIX43_ORDERMASSCANCELREPORT_H
|
||||
#define FIX43_ORDERMASSCANCELREPORT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class OrderMassCancelReport : public Message
|
||||
{
|
||||
public:
|
||||
OrderMassCancelReport() : Message(MsgType()) {}
|
||||
OrderMassCancelReport(const FIX::Message& m) : Message(m) {}
|
||||
OrderMassCancelReport(const Message& m) : Message(m) {}
|
||||
OrderMassCancelReport(const OrderMassCancelReport& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("r"); }
|
||||
|
||||
OrderMassCancelReport(
|
||||
const FIX::OrderID& aOrderID,
|
||||
const FIX::MassCancelRequestType& aMassCancelRequestType,
|
||||
const FIX::MassCancelResponse& aMassCancelResponse )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aOrderID);
|
||||
set(aMassCancelRequestType);
|
||||
set(aMassCancelResponse);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::SecondaryOrderID);
|
||||
FIELD_SET(*this, FIX::MassCancelRequestType);
|
||||
FIELD_SET(*this, FIX::MassCancelResponse);
|
||||
FIELD_SET(*this, FIX::MassCancelRejectReason);
|
||||
FIELD_SET(*this, FIX::TotalAffectedOrders);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbol);
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::UnderlyingProduct);
|
||||
FIELD_SET(*this, FIX::UnderlyingCFICode);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingPutOrCall);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssueDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingFactor);
|
||||
FIELD_SET(*this, FIX::UnderlyingCreditRating);
|
||||
FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
|
||||
FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingStrikePrice);
|
||||
FIELD_SET(*this, FIX::UnderlyingOptAttribute);
|
||||
FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoUnderlyingSecurityAltID);
|
||||
class NoUnderlyingSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoUnderlyingSecurityAltID() : FIX::Group(457,458,FIX::message_order(458,459,0)) {}
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::NoAffectedOrders);
|
||||
class NoAffectedOrders: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoAffectedOrders() : FIX::Group(534,41,FIX::message_order(41,535,536,0)) {}
|
||||
FIELD_SET(*this, FIX::OrigClOrdID);
|
||||
FIELD_SET(*this, FIX::AffectedOrderID);
|
||||
FIELD_SET(*this, FIX::AffectedSecondaryOrderID);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,124 @@
|
||||
#ifndef FIX43_ORDERMASSCANCELREQUEST_H
|
||||
#define FIX43_ORDERMASSCANCELREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class OrderMassCancelRequest : public Message
|
||||
{
|
||||
public:
|
||||
OrderMassCancelRequest() : Message(MsgType()) {}
|
||||
OrderMassCancelRequest(const FIX::Message& m) : Message(m) {}
|
||||
OrderMassCancelRequest(const Message& m) : Message(m) {}
|
||||
OrderMassCancelRequest(const OrderMassCancelRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("q"); }
|
||||
|
||||
OrderMassCancelRequest(
|
||||
const FIX::ClOrdID& aClOrdID,
|
||||
const FIX::MassCancelRequestType& aMassCancelRequestType,
|
||||
const FIX::TransactTime& aTransactTime )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aClOrdID);
|
||||
set(aMassCancelRequestType);
|
||||
set(aTransactTime);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::MassCancelRequestType);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbol);
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::UnderlyingProduct);
|
||||
FIELD_SET(*this, FIX::UnderlyingCFICode);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingPutOrCall);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssueDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingFactor);
|
||||
FIELD_SET(*this, FIX::UnderlyingCreditRating);
|
||||
FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
|
||||
FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingStrikePrice);
|
||||
FIELD_SET(*this, FIX::UnderlyingOptAttribute);
|
||||
FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoUnderlyingSecurityAltID);
|
||||
class NoUnderlyingSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoUnderlyingSecurityAltID() : FIX::Group(457,458,FIX::message_order(458,459,0)) {}
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,128 @@
|
||||
#ifndef FIX43_ORDERMASSSTATUSREQUEST_H
|
||||
#define FIX43_ORDERMASSSTATUSREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class OrderMassStatusRequest : public Message
|
||||
{
|
||||
public:
|
||||
OrderMassStatusRequest() : Message(MsgType()) {}
|
||||
OrderMassStatusRequest(const FIX::Message& m) : Message(m) {}
|
||||
OrderMassStatusRequest(const Message& m) : Message(m) {}
|
||||
OrderMassStatusRequest(const OrderMassStatusRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("AF"); }
|
||||
|
||||
OrderMassStatusRequest(
|
||||
const FIX::MassStatusReqID& aMassStatusReqID,
|
||||
const FIX::MassStatusReqType& aMassStatusReqType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aMassStatusReqID);
|
||||
set(aMassStatusReqType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::MassStatusReqID);
|
||||
FIELD_SET(*this, FIX::MassStatusReqType);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbol);
|
||||
FIELD_SET(*this, FIX::UnderlyingSymbolSfx);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::UnderlyingProduct);
|
||||
FIELD_SET(*this, FIX::UnderlyingCFICode);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::UnderlyingMaturityDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingPutOrCall);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssueDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::UnderlyingRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingFactor);
|
||||
FIELD_SET(*this, FIX::UnderlyingCreditRating);
|
||||
FIELD_SET(*this, FIX::UnderlyingInstrRegistry);
|
||||
FIELD_SET(*this, FIX::UnderlyingCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::UnderlyingRedemptionDate);
|
||||
FIELD_SET(*this, FIX::UnderlyingStrikePrice);
|
||||
FIELD_SET(*this, FIX::UnderlyingOptAttribute);
|
||||
FIELD_SET(*this, FIX::UnderlyingContractMultiplier);
|
||||
FIELD_SET(*this, FIX::UnderlyingCouponRate);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityExchange);
|
||||
FIELD_SET(*this, FIX::UnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingIssuer);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedUnderlyingSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoUnderlyingSecurityAltID);
|
||||
class NoUnderlyingSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoUnderlyingSecurityAltID() : FIX::Group(457,458,FIX::message_order(458,459,0)) {}
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltID);
|
||||
FIELD_SET(*this, FIX::UnderlyingSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,87 @@
|
||||
#ifndef FIX43_ORDERSTATUSREQUEST_H
|
||||
#define FIX43_ORDERSTATUSREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class OrderStatusRequest : public Message
|
||||
{
|
||||
public:
|
||||
OrderStatusRequest() : Message(MsgType()) {}
|
||||
OrderStatusRequest(const FIX::Message& m) : Message(m) {}
|
||||
OrderStatusRequest(const Message& m) : Message(m) {}
|
||||
OrderStatusRequest(const OrderStatusRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("H"); }
|
||||
|
||||
OrderStatusRequest(
|
||||
const FIX::ClOrdID& aClOrdID,
|
||||
const FIX::Side& aSide )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aClOrdID);
|
||||
set(aSide);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::SecondaryClOrdID);
|
||||
FIELD_SET(*this, FIX::ClOrdLinkID);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,123 @@
|
||||
#ifndef FIX43_QUOTE_H
|
||||
#define FIX43_QUOTE_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class Quote : public Message
|
||||
{
|
||||
public:
|
||||
Quote() : Message(MsgType()) {}
|
||||
Quote(const FIX::Message& m) : Message(m) {}
|
||||
Quote(const Message& m) : Message(m) {}
|
||||
Quote(const Quote& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("S"); }
|
||||
|
||||
Quote(
|
||||
const FIX::QuoteID& aQuoteID )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aQuoteID);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::QuoteReqID);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::QuoteType);
|
||||
FIELD_SET(*this, FIX::QuoteResponseLevel);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::BidPx);
|
||||
FIELD_SET(*this, FIX::OfferPx);
|
||||
FIELD_SET(*this, FIX::MktBidPx);
|
||||
FIELD_SET(*this, FIX::MktOfferPx);
|
||||
FIELD_SET(*this, FIX::MinBidSize);
|
||||
FIELD_SET(*this, FIX::BidSize);
|
||||
FIELD_SET(*this, FIX::MinOfferSize);
|
||||
FIELD_SET(*this, FIX::OfferSize);
|
||||
FIELD_SET(*this, FIX::ValidUntilTime);
|
||||
FIELD_SET(*this, FIX::BidSpotRate);
|
||||
FIELD_SET(*this, FIX::OfferSpotRate);
|
||||
FIELD_SET(*this, FIX::BidForwardPoints);
|
||||
FIELD_SET(*this, FIX::OfferForwardPoints);
|
||||
FIELD_SET(*this, FIX::MidPx);
|
||||
FIELD_SET(*this, FIX::BidYield);
|
||||
FIELD_SET(*this, FIX::MidYield);
|
||||
FIELD_SET(*this, FIX::OfferYield);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::FutSettDate2);
|
||||
FIELD_SET(*this, FIX::OrderQty2);
|
||||
FIELD_SET(*this, FIX::BidForwardPoints2);
|
||||
FIELD_SET(*this, FIX::OfferForwardPoints2);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::SettlCurrBidFxRate);
|
||||
FIELD_SET(*this, FIX::SettlCurrOfferFxRate);
|
||||
FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CustOrderCapacity);
|
||||
FIELD_SET(*this, FIX::ExDestination);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,95 @@
|
||||
#ifndef FIX43_QUOTECANCEL_H
|
||||
#define FIX43_QUOTECANCEL_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class QuoteCancel : public Message
|
||||
{
|
||||
public:
|
||||
QuoteCancel() : Message(MsgType()) {}
|
||||
QuoteCancel(const FIX::Message& m) : Message(m) {}
|
||||
QuoteCancel(const Message& m) : Message(m) {}
|
||||
QuoteCancel(const QuoteCancel& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("Z"); }
|
||||
|
||||
QuoteCancel(
|
||||
const FIX::QuoteID& aQuoteID,
|
||||
const FIX::QuoteCancelType& aQuoteCancelType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aQuoteID);
|
||||
set(aQuoteCancelType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::QuoteReqID);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::QuoteCancelType);
|
||||
FIELD_SET(*this, FIX::QuoteResponseLevel);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::NoQuoteEntries);
|
||||
class NoQuoteEntries: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoQuoteEntries() : FIX::Group(295,55,FIX::message_order(55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,0)) {}
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,115 @@
|
||||
#ifndef FIX43_QUOTEREQUEST_H
|
||||
#define FIX43_QUOTEREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class QuoteRequest : public Message
|
||||
{
|
||||
public:
|
||||
QuoteRequest() : Message(MsgType()) {}
|
||||
QuoteRequest(const FIX::Message& m) : Message(m) {}
|
||||
QuoteRequest(const Message& m) : Message(m) {}
|
||||
QuoteRequest(const QuoteRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("R"); }
|
||||
|
||||
QuoteRequest(
|
||||
const FIX::QuoteReqID& aQuoteReqID )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aQuoteReqID);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::QuoteReqID);
|
||||
FIELD_SET(*this, FIX::RFQReqID);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::NoRelatedSym);
|
||||
class NoRelatedSym: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,140,303,537,336,625,229,232,54,465,38,152,63,64,40,193,192,126,60,15,218,220,221,222,423,44,640,235,236,0)) {}
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::PrevClosePx);
|
||||
FIELD_SET(*this, FIX::QuoteRequestType);
|
||||
FIELD_SET(*this, FIX::QuoteType);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::NoStipulations);
|
||||
class NoStipulations: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
|
||||
FIELD_SET(*this, FIX::StipulationType);
|
||||
FIELD_SET(*this, FIX::StipulationValue);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::QuantityType);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::FutSettDate2);
|
||||
FIELD_SET(*this, FIX::OrderQty2);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::Spread);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveName);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::Price2);
|
||||
FIELD_SET(*this, FIX::YieldType);
|
||||
FIELD_SET(*this, FIX::Yield);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,118 @@
|
||||
#ifndef FIX43_QUOTEREQUESTREJECT_H
|
||||
#define FIX43_QUOTEREQUESTREJECT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class QuoteRequestReject : public Message
|
||||
{
|
||||
public:
|
||||
QuoteRequestReject() : Message(MsgType()) {}
|
||||
QuoteRequestReject(const FIX::Message& m) : Message(m) {}
|
||||
QuoteRequestReject(const Message& m) : Message(m) {}
|
||||
QuoteRequestReject(const QuoteRequestReject& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("AG"); }
|
||||
|
||||
QuoteRequestReject(
|
||||
const FIX::QuoteReqID& aQuoteReqID,
|
||||
const FIX::QuoteRequestRejectReason& aQuoteRequestRejectReason )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aQuoteReqID);
|
||||
set(aQuoteRequestRejectReason);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::QuoteReqID);
|
||||
FIELD_SET(*this, FIX::RFQReqID);
|
||||
FIELD_SET(*this, FIX::QuoteRequestRejectReason);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::NoRelatedSym);
|
||||
class NoRelatedSym: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,140,303,537,336,625,229,232,54,465,38,152,63,64,40,193,192,126,60,15,218,220,221,222,423,44,640,235,236,0)) {}
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::PrevClosePx);
|
||||
FIELD_SET(*this, FIX::QuoteRequestType);
|
||||
FIELD_SET(*this, FIX::QuoteType);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::TradeOriginationDate);
|
||||
FIELD_SET(*this, FIX::NoStipulations);
|
||||
class NoStipulations: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoStipulations() : FIX::Group(232,233,FIX::message_order(233,234,0)) {}
|
||||
FIELD_SET(*this, FIX::StipulationType);
|
||||
FIELD_SET(*this, FIX::StipulationValue);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::QuantityType);
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::FutSettDate2);
|
||||
FIELD_SET(*this, FIX::OrderQty2);
|
||||
FIELD_SET(*this, FIX::ExpireTime);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::Spread);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurveName);
|
||||
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
|
||||
FIELD_SET(*this, FIX::PriceType);
|
||||
FIELD_SET(*this, FIX::Price);
|
||||
FIELD_SET(*this, FIX::Price2);
|
||||
FIELD_SET(*this, FIX::YieldType);
|
||||
FIELD_SET(*this, FIX::Yield);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,120 @@
|
||||
#ifndef FIX43_QUOTESTATUSREPORT_H
|
||||
#define FIX43_QUOTESTATUSREPORT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class QuoteStatusReport : public Message
|
||||
{
|
||||
public:
|
||||
QuoteStatusReport() : Message(MsgType()) {}
|
||||
QuoteStatusReport(const FIX::Message& m) : Message(m) {}
|
||||
QuoteStatusReport(const Message& m) : Message(m) {}
|
||||
QuoteStatusReport(const QuoteStatusReport& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("AI"); }
|
||||
|
||||
QuoteStatusReport(
|
||||
const FIX::QuoteID& aQuoteID )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aQuoteID);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::QuoteStatusReqID);
|
||||
FIELD_SET(*this, FIX::QuoteReqID);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::QuoteType);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::BidPx);
|
||||
FIELD_SET(*this, FIX::OfferPx);
|
||||
FIELD_SET(*this, FIX::MktBidPx);
|
||||
FIELD_SET(*this, FIX::MktOfferPx);
|
||||
FIELD_SET(*this, FIX::MinBidSize);
|
||||
FIELD_SET(*this, FIX::BidSize);
|
||||
FIELD_SET(*this, FIX::MinOfferSize);
|
||||
FIELD_SET(*this, FIX::OfferSize);
|
||||
FIELD_SET(*this, FIX::ValidUntilTime);
|
||||
FIELD_SET(*this, FIX::BidSpotRate);
|
||||
FIELD_SET(*this, FIX::OfferSpotRate);
|
||||
FIELD_SET(*this, FIX::BidForwardPoints);
|
||||
FIELD_SET(*this, FIX::OfferForwardPoints);
|
||||
FIELD_SET(*this, FIX::MidPx);
|
||||
FIELD_SET(*this, FIX::BidYield);
|
||||
FIELD_SET(*this, FIX::MidYield);
|
||||
FIELD_SET(*this, FIX::OfferYield);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::OrdType);
|
||||
FIELD_SET(*this, FIX::FutSettDate2);
|
||||
FIELD_SET(*this, FIX::OrderQty2);
|
||||
FIELD_SET(*this, FIX::BidForwardPoints2);
|
||||
FIELD_SET(*this, FIX::OfferForwardPoints2);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::SettlCurrBidFxRate);
|
||||
FIELD_SET(*this, FIX::SettlCurrOfferFxRate);
|
||||
FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CustOrderCapacity);
|
||||
FIELD_SET(*this, FIX::ExDestination);
|
||||
FIELD_SET(*this, FIX::QuoteStatus);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,79 @@
|
||||
#ifndef FIX43_QUOTESTATUSREQUEST_H
|
||||
#define FIX43_QUOTESTATUSREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class QuoteStatusRequest : public Message
|
||||
{
|
||||
public:
|
||||
QuoteStatusRequest() : Message(MsgType()) {}
|
||||
QuoteStatusRequest(const FIX::Message& m) : Message(m) {}
|
||||
QuoteStatusRequest(const Message& m) : Message(m) {}
|
||||
QuoteStatusRequest(const QuoteStatusRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("a"); }
|
||||
|
||||
FIELD_SET(*this, FIX::QuoteStatusReqID);
|
||||
FIELD_SET(*this, FIX::QuoteID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::SubscriptionRequestType);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,82 @@
|
||||
#ifndef FIX43_RFQREQUEST_H
|
||||
#define FIX43_RFQREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class RFQRequest : public Message
|
||||
{
|
||||
public:
|
||||
RFQRequest() : Message(MsgType()) {}
|
||||
RFQRequest(const FIX::Message& m) : Message(m) {}
|
||||
RFQRequest(const Message& m) : Message(m) {}
|
||||
RFQRequest(const RFQRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("AH"); }
|
||||
|
||||
RFQRequest(
|
||||
const FIX::RFQReqID& aRFQReqID )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aRFQReqID);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::RFQReqID);
|
||||
FIELD_SET(*this, FIX::SubscriptionRequestType);
|
||||
FIELD_SET(*this, FIX::NoRelatedSym);
|
||||
class NoRelatedSym: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,140,303,537,336,625,0)) {}
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::PrevClosePx);
|
||||
FIELD_SET(*this, FIX::QuoteRequestType);
|
||||
FIELD_SET(*this, FIX::QuoteType);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,87 @@
|
||||
#ifndef FIX43_REGISTRATIONINSTRUCTIONS_H
|
||||
#define FIX43_REGISTRATIONINSTRUCTIONS_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class RegistrationInstructions : public Message
|
||||
{
|
||||
public:
|
||||
RegistrationInstructions() : Message(MsgType()) {}
|
||||
RegistrationInstructions(const FIX::Message& m) : Message(m) {}
|
||||
RegistrationInstructions(const Message& m) : Message(m) {}
|
||||
RegistrationInstructions(const RegistrationInstructions& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("o"); }
|
||||
|
||||
RegistrationInstructions(
|
||||
const FIX::RegistID& aRegistID,
|
||||
const FIX::RegistTransType& aRegistTransType,
|
||||
const FIX::RegistRefID& aRegistRefID )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aRegistID);
|
||||
set(aRegistTransType);
|
||||
set(aRegistRefID);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::RegistID);
|
||||
FIELD_SET(*this, FIX::RegistTransType);
|
||||
FIELD_SET(*this, FIX::RegistRefID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::RegistAcctType);
|
||||
FIELD_SET(*this, FIX::TaxAdvantageType);
|
||||
FIELD_SET(*this, FIX::OwnershipType);
|
||||
FIELD_SET(*this, FIX::NoRegistDtls);
|
||||
class NoRegistDtls: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRegistDtls() : FIX::Group(473,509,FIX::message_order(509,511,474,482,539,522,486,475,0)) {}
|
||||
FIELD_SET(*this, FIX::RegistDetls);
|
||||
FIELD_SET(*this, FIX::RegistEmail);
|
||||
FIELD_SET(*this, FIX::MailingDtls);
|
||||
FIELD_SET(*this, FIX::MailingInst);
|
||||
FIELD_SET(*this, FIX::NoNestedPartyIDs);
|
||||
class NoNestedPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,545,0)) {}
|
||||
FIELD_SET(*this, FIX::NestedPartyID);
|
||||
FIELD_SET(*this, FIX::NestedPartyIDSource);
|
||||
FIELD_SET(*this, FIX::NestedPartyRole);
|
||||
FIELD_SET(*this, FIX::NestedPartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::OwnerType);
|
||||
FIELD_SET(*this, FIX::DateOfBirth);
|
||||
FIELD_SET(*this, FIX::InvestorCountryOfResidence);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoDistribInsts);
|
||||
class NoDistribInsts: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoDistribInsts() : FIX::Group(510,477,FIX::message_order(477,512,478,498,499,500,501,0)) {}
|
||||
FIELD_SET(*this, FIX::DistribPaymentMethod);
|
||||
FIELD_SET(*this, FIX::DistribPercentage);
|
||||
FIELD_SET(*this, FIX::CashDistribCurr);
|
||||
FIELD_SET(*this, FIX::CashDistribAgentName);
|
||||
FIELD_SET(*this, FIX::CashDistribAgentCode);
|
||||
FIELD_SET(*this, FIX::CashDistribAgentAcctNumber);
|
||||
FIELD_SET(*this, FIX::CashDistribPayRef);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,53 @@
|
||||
#ifndef FIX43_REGISTRATIONINSTRUCTIONSRESPONSE_H
|
||||
#define FIX43_REGISTRATIONINSTRUCTIONSRESPONSE_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class RegistrationInstructionsResponse : public Message
|
||||
{
|
||||
public:
|
||||
RegistrationInstructionsResponse() : Message(MsgType()) {}
|
||||
RegistrationInstructionsResponse(const FIX::Message& m) : Message(m) {}
|
||||
RegistrationInstructionsResponse(const Message& m) : Message(m) {}
|
||||
RegistrationInstructionsResponse(const RegistrationInstructionsResponse& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("p"); }
|
||||
|
||||
RegistrationInstructionsResponse(
|
||||
const FIX::RegistID& aRegistID,
|
||||
const FIX::RegistTransType& aRegistTransType,
|
||||
const FIX::RegistRefID& aRegistRefID,
|
||||
const FIX::RegistStatus& aRegistStatus )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aRegistID);
|
||||
set(aRegistTransType);
|
||||
set(aRegistRefID);
|
||||
set(aRegistStatus);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::RegistID);
|
||||
FIELD_SET(*this, FIX::RegistTransType);
|
||||
FIELD_SET(*this, FIX::RegistRefID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::RegistStatus);
|
||||
FIELD_SET(*this, FIX::RegistRejReasonCode);
|
||||
FIELD_SET(*this, FIX::RegistRejReasonText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,36 @@
|
||||
#ifndef FIX43_REJECT_H
|
||||
#define FIX43_REJECT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class Reject : public Message
|
||||
{
|
||||
public:
|
||||
Reject() : Message(MsgType()) {}
|
||||
Reject(const FIX::Message& m) : Message(m) {}
|
||||
Reject(const Message& m) : Message(m) {}
|
||||
Reject(const Reject& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("3"); }
|
||||
|
||||
Reject(
|
||||
const FIX::RefSeqNum& aRefSeqNum )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aRefSeqNum);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::RefSeqNum);
|
||||
FIELD_SET(*this, FIX::RefTagID);
|
||||
FIELD_SET(*this, FIX::RefMsgType);
|
||||
FIELD_SET(*this, FIX::SessionRejectReason);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,33 @@
|
||||
#ifndef FIX43_RESENDREQUEST_H
|
||||
#define FIX43_RESENDREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class ResendRequest : public Message
|
||||
{
|
||||
public:
|
||||
ResendRequest() : Message(MsgType()) {}
|
||||
ResendRequest(const FIX::Message& m) : Message(m) {}
|
||||
ResendRequest(const Message& m) : Message(m) {}
|
||||
ResendRequest(const ResendRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("2"); }
|
||||
|
||||
ResendRequest(
|
||||
const FIX::BeginSeqNo& aBeginSeqNo,
|
||||
const FIX::EndSeqNo& aEndSeqNo )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aBeginSeqNo);
|
||||
set(aEndSeqNo);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::BeginSeqNo);
|
||||
FIELD_SET(*this, FIX::EndSeqNo);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,133 @@
|
||||
#ifndef FIX43_SECURITYDEFINITION_H
|
||||
#define FIX43_SECURITYDEFINITION_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class SecurityDefinition : public Message
|
||||
{
|
||||
public:
|
||||
SecurityDefinition() : Message(MsgType()) {}
|
||||
SecurityDefinition(const FIX::Message& m) : Message(m) {}
|
||||
SecurityDefinition(const Message& m) : Message(m) {}
|
||||
SecurityDefinition(const SecurityDefinition& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("d"); }
|
||||
|
||||
SecurityDefinition(
|
||||
const FIX::SecurityReqID& aSecurityReqID,
|
||||
const FIX::SecurityResponseID& aSecurityResponseID,
|
||||
const FIX::SecurityResponseType& aSecurityResponseType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aSecurityReqID);
|
||||
set(aSecurityResponseID);
|
||||
set(aSecurityResponseType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::SecurityReqID);
|
||||
FIELD_SET(*this, FIX::SecurityResponseID);
|
||||
FIELD_SET(*this, FIX::SecurityResponseType);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::RoundLot);
|
||||
FIELD_SET(*this, FIX::MinTradeVol);
|
||||
FIELD_SET(*this, FIX::NoLegs);
|
||||
class NoLegs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,604,607,608,609,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,613,614,615,616,617,618,619,620,621,622,623,624,556,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSymbol);
|
||||
FIELD_SET(*this, FIX::LegSymbolSfx);
|
||||
FIELD_SET(*this, FIX::LegSecurityID);
|
||||
FIELD_SET(*this, FIX::LegSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::LegProduct);
|
||||
FIELD_SET(*this, FIX::LegCFICode);
|
||||
FIELD_SET(*this, FIX::LegSecurityType);
|
||||
FIELD_SET(*this, FIX::LegMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::LegMaturityDate);
|
||||
FIELD_SET(*this, FIX::LegCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::LegIssueDate);
|
||||
FIELD_SET(*this, FIX::LegRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::LegFactor);
|
||||
FIELD_SET(*this, FIX::LegCreditRating);
|
||||
FIELD_SET(*this, FIX::LegInstrRegistry);
|
||||
FIELD_SET(*this, FIX::LegCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::LegStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LegLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::LegRedemptionDate);
|
||||
FIELD_SET(*this, FIX::LegStrikePrice);
|
||||
FIELD_SET(*this, FIX::LegOptAttribute);
|
||||
FIELD_SET(*this, FIX::LegContractMultiplier);
|
||||
FIELD_SET(*this, FIX::LegCouponRate);
|
||||
FIELD_SET(*this, FIX::LegSecurityExchange);
|
||||
FIELD_SET(*this, FIX::LegIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuer);
|
||||
FIELD_SET(*this, FIX::LegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::LegRatioQty);
|
||||
FIELD_SET(*this, FIX::LegSide);
|
||||
FIELD_SET(*this, FIX::NoLegSecurityAltID);
|
||||
class NoLegSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegSecurityAltID() : FIX::Group(604,605,FIX::message_order(605,606,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSecurityAltID);
|
||||
FIELD_SET(*this, FIX::LegSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::LegCurrency);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,129 @@
|
||||
#ifndef FIX43_SECURITYDEFINITIONREQUEST_H
|
||||
#define FIX43_SECURITYDEFINITIONREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class SecurityDefinitionRequest : public Message
|
||||
{
|
||||
public:
|
||||
SecurityDefinitionRequest() : Message(MsgType()) {}
|
||||
SecurityDefinitionRequest(const FIX::Message& m) : Message(m) {}
|
||||
SecurityDefinitionRequest(const Message& m) : Message(m) {}
|
||||
SecurityDefinitionRequest(const SecurityDefinitionRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("c"); }
|
||||
|
||||
SecurityDefinitionRequest(
|
||||
const FIX::SecurityReqID& aSecurityReqID,
|
||||
const FIX::SecurityRequestType& aSecurityRequestType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aSecurityReqID);
|
||||
set(aSecurityRequestType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::SecurityReqID);
|
||||
FIELD_SET(*this, FIX::SecurityRequestType);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::SubscriptionRequestType);
|
||||
FIELD_SET(*this, FIX::NoLegs);
|
||||
class NoLegs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,604,607,608,609,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,613,614,615,616,617,618,619,620,621,622,623,624,556,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSymbol);
|
||||
FIELD_SET(*this, FIX::LegSymbolSfx);
|
||||
FIELD_SET(*this, FIX::LegSecurityID);
|
||||
FIELD_SET(*this, FIX::LegSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::LegProduct);
|
||||
FIELD_SET(*this, FIX::LegCFICode);
|
||||
FIELD_SET(*this, FIX::LegSecurityType);
|
||||
FIELD_SET(*this, FIX::LegMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::LegMaturityDate);
|
||||
FIELD_SET(*this, FIX::LegCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::LegIssueDate);
|
||||
FIELD_SET(*this, FIX::LegRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::LegFactor);
|
||||
FIELD_SET(*this, FIX::LegCreditRating);
|
||||
FIELD_SET(*this, FIX::LegInstrRegistry);
|
||||
FIELD_SET(*this, FIX::LegCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::LegStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LegLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::LegRedemptionDate);
|
||||
FIELD_SET(*this, FIX::LegStrikePrice);
|
||||
FIELD_SET(*this, FIX::LegOptAttribute);
|
||||
FIELD_SET(*this, FIX::LegContractMultiplier);
|
||||
FIELD_SET(*this, FIX::LegCouponRate);
|
||||
FIELD_SET(*this, FIX::LegSecurityExchange);
|
||||
FIELD_SET(*this, FIX::LegIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuer);
|
||||
FIELD_SET(*this, FIX::LegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::LegRatioQty);
|
||||
FIELD_SET(*this, FIX::LegSide);
|
||||
FIELD_SET(*this, FIX::NoLegSecurityAltID);
|
||||
class NoLegSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegSecurityAltID() : FIX::Group(604,605,FIX::message_order(605,606,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSecurityAltID);
|
||||
FIELD_SET(*this, FIX::LegSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::LegCurrency);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,140 @@
|
||||
#ifndef FIX43_SECURITYLIST_H
|
||||
#define FIX43_SECURITYLIST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class SecurityList : public Message
|
||||
{
|
||||
public:
|
||||
SecurityList() : Message(MsgType()) {}
|
||||
SecurityList(const FIX::Message& m) : Message(m) {}
|
||||
SecurityList(const Message& m) : Message(m) {}
|
||||
SecurityList(const SecurityList& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("y"); }
|
||||
|
||||
SecurityList(
|
||||
const FIX::SecurityReqID& aSecurityReqID,
|
||||
const FIX::SecurityResponseID& aSecurityResponseID,
|
||||
const FIX::SecurityRequestResult& aSecurityRequestResult )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aSecurityReqID);
|
||||
set(aSecurityResponseID);
|
||||
set(aSecurityRequestResult);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::SecurityReqID);
|
||||
FIELD_SET(*this, FIX::SecurityResponseID);
|
||||
FIELD_SET(*this, FIX::SecurityRequestResult);
|
||||
FIELD_SET(*this, FIX::TotalNumSecurities);
|
||||
FIELD_SET(*this, FIX::NoRelatedSym);
|
||||
class NoRelatedSym: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,454,460,461,167,200,541,224,225,239,226,227,228,255,543,470,471,472,240,202,206,231,223,207,106,348,349,107,350,351,15,555,561,562,336,625,58,354,355,0)) {}
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::RoundLot);
|
||||
FIELD_SET(*this, FIX::MinTradeVol);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::NoLegs);
|
||||
class NoLegs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,604,607,608,609,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,613,614,615,616,617,618,619,620,621,622,623,624,556,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSymbol);
|
||||
FIELD_SET(*this, FIX::LegSymbolSfx);
|
||||
FIELD_SET(*this, FIX::LegSecurityID);
|
||||
FIELD_SET(*this, FIX::LegSecurityIDSource);
|
||||
FIELD_SET(*this, FIX::LegProduct);
|
||||
FIELD_SET(*this, FIX::LegCFICode);
|
||||
FIELD_SET(*this, FIX::LegSecurityType);
|
||||
FIELD_SET(*this, FIX::LegMaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::LegMaturityDate);
|
||||
FIELD_SET(*this, FIX::LegCouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::LegIssueDate);
|
||||
FIELD_SET(*this, FIX::LegRepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::LegRepurchaseRate);
|
||||
FIELD_SET(*this, FIX::LegFactor);
|
||||
FIELD_SET(*this, FIX::LegCreditRating);
|
||||
FIELD_SET(*this, FIX::LegInstrRegistry);
|
||||
FIELD_SET(*this, FIX::LegCountryOfIssue);
|
||||
FIELD_SET(*this, FIX::LegStateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LegLocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::LegRedemptionDate);
|
||||
FIELD_SET(*this, FIX::LegStrikePrice);
|
||||
FIELD_SET(*this, FIX::LegOptAttribute);
|
||||
FIELD_SET(*this, FIX::LegContractMultiplier);
|
||||
FIELD_SET(*this, FIX::LegCouponRate);
|
||||
FIELD_SET(*this, FIX::LegSecurityExchange);
|
||||
FIELD_SET(*this, FIX::LegIssuer);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegIssuer);
|
||||
FIELD_SET(*this, FIX::LegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedLegSecurityDesc);
|
||||
FIELD_SET(*this, FIX::LegRatioQty);
|
||||
FIELD_SET(*this, FIX::LegSide);
|
||||
FIELD_SET(*this, FIX::NoLegSecurityAltID);
|
||||
class NoLegSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoLegSecurityAltID() : FIX::Group(604,605,FIX::message_order(605,606,0)) {}
|
||||
FIELD_SET(*this, FIX::LegSecurityAltID);
|
||||
FIELD_SET(*this, FIX::LegSecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::LegCurrency);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,80 @@
|
||||
#ifndef FIX43_SECURITYLISTREQUEST_H
|
||||
#define FIX43_SECURITYLISTREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class SecurityListRequest : public Message
|
||||
{
|
||||
public:
|
||||
SecurityListRequest() : Message(MsgType()) {}
|
||||
SecurityListRequest(const FIX::Message& m) : Message(m) {}
|
||||
SecurityListRequest(const Message& m) : Message(m) {}
|
||||
SecurityListRequest(const SecurityListRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("x"); }
|
||||
|
||||
SecurityListRequest(
|
||||
const FIX::SecurityReqID& aSecurityReqID,
|
||||
const FIX::SecurityListRequestType& aSecurityListRequestType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aSecurityReqID);
|
||||
set(aSecurityListRequestType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::SecurityReqID);
|
||||
FIELD_SET(*this, FIX::SecurityListRequestType);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::SubscriptionRequestType);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,83 @@
|
||||
#ifndef FIX43_SECURITYSTATUS_H
|
||||
#define FIX43_SECURITYSTATUS_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class SecurityStatus : public Message
|
||||
{
|
||||
public:
|
||||
SecurityStatus() : Message(MsgType()) {}
|
||||
SecurityStatus(const FIX::Message& m) : Message(m) {}
|
||||
SecurityStatus(const Message& m) : Message(m) {}
|
||||
SecurityStatus(const SecurityStatus& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("f"); }
|
||||
|
||||
FIELD_SET(*this, FIX::SecurityStatusReqID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::UnsolicitedIndicator);
|
||||
FIELD_SET(*this, FIX::SecurityTradingStatus);
|
||||
FIELD_SET(*this, FIX::FinancialStatus);
|
||||
FIELD_SET(*this, FIX::CorporateAction);
|
||||
FIELD_SET(*this, FIX::HaltReasonChar);
|
||||
FIELD_SET(*this, FIX::InViewOfCommon);
|
||||
FIELD_SET(*this, FIX::DueToRelated);
|
||||
FIELD_SET(*this, FIX::BuyVolume);
|
||||
FIELD_SET(*this, FIX::SellVolume);
|
||||
FIELD_SET(*this, FIX::HighPx);
|
||||
FIELD_SET(*this, FIX::LowPx);
|
||||
FIELD_SET(*this, FIX::LastPx);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::Adjustment);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,76 @@
|
||||
#ifndef FIX43_SECURITYSTATUSREQUEST_H
|
||||
#define FIX43_SECURITYSTATUSREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class SecurityStatusRequest : public Message
|
||||
{
|
||||
public:
|
||||
SecurityStatusRequest() : Message(MsgType()) {}
|
||||
SecurityStatusRequest(const FIX::Message& m) : Message(m) {}
|
||||
SecurityStatusRequest(const Message& m) : Message(m) {}
|
||||
SecurityStatusRequest(const SecurityStatusRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("e"); }
|
||||
|
||||
SecurityStatusRequest(
|
||||
const FIX::SecurityStatusReqID& aSecurityStatusReqID,
|
||||
const FIX::SubscriptionRequestType& aSubscriptionRequestType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aSecurityStatusReqID);
|
||||
set(aSubscriptionRequestType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::SecurityStatusReqID);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::SubscriptionRequestType);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,35 @@
|
||||
#ifndef FIX43_SECURITYTYPEREQUEST_H
|
||||
#define FIX43_SECURITYTYPEREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class SecurityTypeRequest : public Message
|
||||
{
|
||||
public:
|
||||
SecurityTypeRequest() : Message(MsgType()) {}
|
||||
SecurityTypeRequest(const FIX::Message& m) : Message(m) {}
|
||||
SecurityTypeRequest(const Message& m) : Message(m) {}
|
||||
SecurityTypeRequest(const SecurityTypeRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("v"); }
|
||||
|
||||
SecurityTypeRequest(
|
||||
const FIX::SecurityReqID& aSecurityReqID )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aSecurityReqID);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::SecurityReqID);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,52 @@
|
||||
#ifndef FIX43_SECURITYTYPES_H
|
||||
#define FIX43_SECURITYTYPES_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class SecurityTypes : public Message
|
||||
{
|
||||
public:
|
||||
SecurityTypes() : Message(MsgType()) {}
|
||||
SecurityTypes(const FIX::Message& m) : Message(m) {}
|
||||
SecurityTypes(const Message& m) : Message(m) {}
|
||||
SecurityTypes(const SecurityTypes& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("w"); }
|
||||
|
||||
SecurityTypes(
|
||||
const FIX::SecurityReqID& aSecurityReqID,
|
||||
const FIX::SecurityResponseID& aSecurityResponseID,
|
||||
const FIX::SecurityResponseType& aSecurityResponseType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aSecurityReqID);
|
||||
set(aSecurityResponseID);
|
||||
set(aSecurityResponseType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::SecurityReqID);
|
||||
FIELD_SET(*this, FIX::SecurityResponseID);
|
||||
FIELD_SET(*this, FIX::SecurityResponseType);
|
||||
FIELD_SET(*this, FIX::TotalNumSecurityTypes);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::SubscriptionRequestType);
|
||||
FIELD_SET(*this, FIX::NoSecurityTypes);
|
||||
class NoSecurityTypes: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityTypes() : FIX::Group(558,167,FIX::message_order(167,460,461,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,31 @@
|
||||
#ifndef FIX43_SEQUENCERESET_H
|
||||
#define FIX43_SEQUENCERESET_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class SequenceReset : public Message
|
||||
{
|
||||
public:
|
||||
SequenceReset() : Message(MsgType()) {}
|
||||
SequenceReset(const FIX::Message& m) : Message(m) {}
|
||||
SequenceReset(const Message& m) : Message(m) {}
|
||||
SequenceReset(const SequenceReset& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("4"); }
|
||||
|
||||
SequenceReset(
|
||||
const FIX::NewSeqNo& aNewSeqNo )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aNewSeqNo);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::GapFillFlag);
|
||||
FIELD_SET(*this, FIX::NewSeqNo);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,96 @@
|
||||
#ifndef FIX43_SETTLEMENTINSTRUCTIONS_H
|
||||
#define FIX43_SETTLEMENTINSTRUCTIONS_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class SettlementInstructions : public Message
|
||||
{
|
||||
public:
|
||||
SettlementInstructions() : Message(MsgType()) {}
|
||||
SettlementInstructions(const FIX::Message& m) : Message(m) {}
|
||||
SettlementInstructions(const Message& m) : Message(m) {}
|
||||
SettlementInstructions(const SettlementInstructions& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("T"); }
|
||||
|
||||
SettlementInstructions(
|
||||
const FIX::SettlInstID& aSettlInstID,
|
||||
const FIX::SettlInstTransType& aSettlInstTransType,
|
||||
const FIX::SettlInstRefID& aSettlInstRefID,
|
||||
const FIX::SettlInstMode& aSettlInstMode,
|
||||
const FIX::SettlInstSource& aSettlInstSource,
|
||||
const FIX::AllocAccount& aAllocAccount,
|
||||
const FIX::TransactTime& aTransactTime )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aSettlInstID);
|
||||
set(aSettlInstTransType);
|
||||
set(aSettlInstRefID);
|
||||
set(aSettlInstMode);
|
||||
set(aSettlInstSource);
|
||||
set(aAllocAccount);
|
||||
set(aTransactTime);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::SettlInstID);
|
||||
FIELD_SET(*this, FIX::SettlInstTransType);
|
||||
FIELD_SET(*this, FIX::SettlInstRefID);
|
||||
FIELD_SET(*this, FIX::SettlInstMode);
|
||||
FIELD_SET(*this, FIX::SettlInstSource);
|
||||
FIELD_SET(*this, FIX::AllocAccount);
|
||||
FIELD_SET(*this, FIX::IndividualAllocID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::TradeDate);
|
||||
FIELD_SET(*this, FIX::AllocID);
|
||||
FIELD_SET(*this, FIX::LastMkt);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::EffectiveTime);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::StandInstDbType);
|
||||
FIELD_SET(*this, FIX::StandInstDbName);
|
||||
FIELD_SET(*this, FIX::StandInstDbID);
|
||||
FIELD_SET(*this, FIX::SettlDeliveryType);
|
||||
FIELD_SET(*this, FIX::SettlDepositoryCode);
|
||||
FIELD_SET(*this, FIX::SettlBrkrCode);
|
||||
FIELD_SET(*this, FIX::SettlInstCode);
|
||||
FIELD_SET(*this, FIX::SecuritySettlAgentName);
|
||||
FIELD_SET(*this, FIX::SecuritySettlAgentCode);
|
||||
FIELD_SET(*this, FIX::SecuritySettlAgentAcctNum);
|
||||
FIELD_SET(*this, FIX::SecuritySettlAgentAcctName);
|
||||
FIELD_SET(*this, FIX::SecuritySettlAgentContactName);
|
||||
FIELD_SET(*this, FIX::SecuritySettlAgentContactPhone);
|
||||
FIELD_SET(*this, FIX::CashSettlAgentName);
|
||||
FIELD_SET(*this, FIX::CashSettlAgentCode);
|
||||
FIELD_SET(*this, FIX::CashSettlAgentAcctNum);
|
||||
FIELD_SET(*this, FIX::CashSettlAgentAcctName);
|
||||
FIELD_SET(*this, FIX::CashSettlAgentContactName);
|
||||
FIELD_SET(*this, FIX::CashSettlAgentContactPhone);
|
||||
FIELD_SET(*this, FIX::PaymentMethod);
|
||||
FIELD_SET(*this, FIX::PaymentRef);
|
||||
FIELD_SET(*this, FIX::CardHolderName);
|
||||
FIELD_SET(*this, FIX::CardNumber);
|
||||
FIELD_SET(*this, FIX::CardStartDate);
|
||||
FIELD_SET(*this, FIX::CardExpDate);
|
||||
FIELD_SET(*this, FIX::CardIssNo);
|
||||
FIELD_SET(*this, FIX::PaymentDate);
|
||||
FIELD_SET(*this, FIX::PaymentRemitterID);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,30 @@
|
||||
#ifndef FIX43_TESTREQUEST_H
|
||||
#define FIX43_TESTREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class TestRequest : public Message
|
||||
{
|
||||
public:
|
||||
TestRequest() : Message(MsgType()) {}
|
||||
TestRequest(const FIX::Message& m) : Message(m) {}
|
||||
TestRequest(const Message& m) : Message(m) {}
|
||||
TestRequest(const TestRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("1"); }
|
||||
|
||||
TestRequest(
|
||||
const FIX::TestReqID& aTestReqID )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aTestReqID);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::TestReqID);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,188 @@
|
||||
#ifndef FIX43_TRADECAPTUREREPORT_H
|
||||
#define FIX43_TRADECAPTUREREPORT_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class TradeCaptureReport : public Message
|
||||
{
|
||||
public:
|
||||
TradeCaptureReport() : Message(MsgType()) {}
|
||||
TradeCaptureReport(const FIX::Message& m) : Message(m) {}
|
||||
TradeCaptureReport(const Message& m) : Message(m) {}
|
||||
TradeCaptureReport(const TradeCaptureReport& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("AE"); }
|
||||
|
||||
TradeCaptureReport(
|
||||
const FIX::TradeReportID& aTradeReportID,
|
||||
const FIX::ExecType& aExecType,
|
||||
const FIX::PreviouslyReported& aPreviouslyReported,
|
||||
const FIX::LastQty& aLastQty,
|
||||
const FIX::LastPx& aLastPx,
|
||||
const FIX::TradeDate& aTradeDate,
|
||||
const FIX::TransactTime& aTransactTime )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aTradeReportID);
|
||||
set(aExecType);
|
||||
set(aPreviouslyReported);
|
||||
set(aLastQty);
|
||||
set(aLastPx);
|
||||
set(aTradeDate);
|
||||
set(aTransactTime);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::TradeReportID);
|
||||
FIELD_SET(*this, FIX::TradeReportTransType);
|
||||
FIELD_SET(*this, FIX::TradeRequestID);
|
||||
FIELD_SET(*this, FIX::ExecType);
|
||||
FIELD_SET(*this, FIX::TradeReportRefID);
|
||||
FIELD_SET(*this, FIX::ExecID);
|
||||
FIELD_SET(*this, FIX::SecondaryExecID);
|
||||
FIELD_SET(*this, FIX::ExecRestatementReason);
|
||||
FIELD_SET(*this, FIX::PreviouslyReported);
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::OrderQty);
|
||||
FIELD_SET(*this, FIX::CashOrderQty);
|
||||
FIELD_SET(*this, FIX::OrderPercent);
|
||||
FIELD_SET(*this, FIX::RoundingDirection);
|
||||
FIELD_SET(*this, FIX::RoundingModulus);
|
||||
FIELD_SET(*this, FIX::LastQty);
|
||||
FIELD_SET(*this, FIX::LastPx);
|
||||
FIELD_SET(*this, FIX::LastSpotRate);
|
||||
FIELD_SET(*this, FIX::LastForwardPoints);
|
||||
FIELD_SET(*this, FIX::LastMkt);
|
||||
FIELD_SET(*this, FIX::TradeDate);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
FIELD_SET(*this, FIX::SettlmntTyp);
|
||||
FIELD_SET(*this, FIX::FutSettDate);
|
||||
FIELD_SET(*this, FIX::MatchStatus);
|
||||
FIELD_SET(*this, FIX::MatchType);
|
||||
FIELD_SET(*this, FIX::NoSides);
|
||||
class NoSides: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSides() : FIX::Group(552,54,FIX::message_order(54,37,198,11,453,1,581,81,575,576,635,578,579,15,376,377,528,529,582,483,336,625,12,13,479,497,381,157,230,158,159,238,237,118,119,120,155,156,77,58,354,355,442,518,136,0)) {}
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::SecondaryOrderID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Account);
|
||||
FIELD_SET(*this, FIX::AccountType);
|
||||
FIELD_SET(*this, FIX::ProcessCode);
|
||||
FIELD_SET(*this, FIX::OddLot);
|
||||
FIELD_SET(*this, FIX::ClearingFeeIndicator);
|
||||
FIELD_SET(*this, FIX::TradeInputSource);
|
||||
FIELD_SET(*this, FIX::TradeInputDevice);
|
||||
FIELD_SET(*this, FIX::Currency);
|
||||
FIELD_SET(*this, FIX::ComplianceID);
|
||||
FIELD_SET(*this, FIX::SolicitedFlag);
|
||||
FIELD_SET(*this, FIX::OrderCapacity);
|
||||
FIELD_SET(*this, FIX::OrderRestrictions);
|
||||
FIELD_SET(*this, FIX::CustOrderCapacity);
|
||||
FIELD_SET(*this, FIX::TransBkdTime);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::Commission);
|
||||
FIELD_SET(*this, FIX::CommType);
|
||||
FIELD_SET(*this, FIX::CommCurrency);
|
||||
FIELD_SET(*this, FIX::FundRenewWaiv);
|
||||
FIELD_SET(*this, FIX::GrossTradeAmt);
|
||||
FIELD_SET(*this, FIX::NumDaysInterest);
|
||||
FIELD_SET(*this, FIX::ExDate);
|
||||
FIELD_SET(*this, FIX::AccruedInterestRate);
|
||||
FIELD_SET(*this, FIX::AccruedInterestAmt);
|
||||
FIELD_SET(*this, FIX::Concession);
|
||||
FIELD_SET(*this, FIX::TotalTakedown);
|
||||
FIELD_SET(*this, FIX::NetMoney);
|
||||
FIELD_SET(*this, FIX::SettlCurrAmt);
|
||||
FIELD_SET(*this, FIX::SettlCurrency);
|
||||
FIELD_SET(*this, FIX::SettlCurrFxRate);
|
||||
FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
|
||||
FIELD_SET(*this, FIX::PositionEffect);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::MultiLegReportingType);
|
||||
FIELD_SET(*this, FIX::NoClearingInstructions);
|
||||
class NoClearingInstructions: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoClearingInstructions() : FIX::Group(576,577,FIX::message_order(577,0)) {}
|
||||
FIELD_SET(*this, FIX::ClearingInstruction);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoContAmts);
|
||||
class NoContAmts: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoContAmts() : FIX::Group(518,519,FIX::message_order(519,520,521,0)) {}
|
||||
FIELD_SET(*this, FIX::ContAmtType);
|
||||
FIELD_SET(*this, FIX::ContAmtValue);
|
||||
FIELD_SET(*this, FIX::ContAmtCurr);
|
||||
};
|
||||
FIELD_SET(*this, FIX::NoMiscFees);
|
||||
class NoMiscFees: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,0)) {}
|
||||
FIELD_SET(*this, FIX::MiscFeeAmt);
|
||||
FIELD_SET(*this, FIX::MiscFeeCurr);
|
||||
FIELD_SET(*this, FIX::MiscFeeType);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,102 @@
|
||||
#ifndef FIX43_TRADECAPTUREREPORTREQUEST_H
|
||||
#define FIX43_TRADECAPTUREREPORTREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class TradeCaptureReportRequest : public Message
|
||||
{
|
||||
public:
|
||||
TradeCaptureReportRequest() : Message(MsgType()) {}
|
||||
TradeCaptureReportRequest(const FIX::Message& m) : Message(m) {}
|
||||
TradeCaptureReportRequest(const Message& m) : Message(m) {}
|
||||
TradeCaptureReportRequest(const TradeCaptureReportRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("AD"); }
|
||||
|
||||
TradeCaptureReportRequest(
|
||||
const FIX::TradeRequestID& aTradeRequestID,
|
||||
const FIX::TradeRequestType& aTradeRequestType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aTradeRequestID);
|
||||
set(aTradeRequestType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::TradeRequestID);
|
||||
FIELD_SET(*this, FIX::TradeRequestType);
|
||||
FIELD_SET(*this, FIX::SubscriptionRequestType);
|
||||
FIELD_SET(*this, FIX::ExecID);
|
||||
FIELD_SET(*this, FIX::OrderID);
|
||||
FIELD_SET(*this, FIX::ClOrdID);
|
||||
FIELD_SET(*this, FIX::MatchStatus);
|
||||
FIELD_SET(*this, FIX::NoPartyIDs);
|
||||
class NoPartyIDs: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
|
||||
FIELD_SET(*this, FIX::PartyID);
|
||||
FIELD_SET(*this, FIX::PartyIDSource);
|
||||
FIELD_SET(*this, FIX::PartyRole);
|
||||
FIELD_SET(*this, FIX::PartySubID);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Symbol);
|
||||
FIELD_SET(*this, FIX::SymbolSfx);
|
||||
FIELD_SET(*this, FIX::SecurityID);
|
||||
FIELD_SET(*this, FIX::SecurityIDSource);
|
||||
FIELD_SET(*this, FIX::Product);
|
||||
FIELD_SET(*this, FIX::CFICode);
|
||||
FIELD_SET(*this, FIX::SecurityType);
|
||||
FIELD_SET(*this, FIX::MaturityMonthYear);
|
||||
FIELD_SET(*this, FIX::MaturityDate);
|
||||
FIELD_SET(*this, FIX::CouponPaymentDate);
|
||||
FIELD_SET(*this, FIX::IssueDate);
|
||||
FIELD_SET(*this, FIX::RepoCollateralSecurityType);
|
||||
FIELD_SET(*this, FIX::RepurchaseTerm);
|
||||
FIELD_SET(*this, FIX::RepurchaseRate);
|
||||
FIELD_SET(*this, FIX::Factor);
|
||||
FIELD_SET(*this, FIX::CreditRating);
|
||||
FIELD_SET(*this, FIX::InstrRegistry);
|
||||
FIELD_SET(*this, FIX::CountryOfIssue);
|
||||
FIELD_SET(*this, FIX::StateOrProvinceOfIssue);
|
||||
FIELD_SET(*this, FIX::LocaleOfIssue);
|
||||
FIELD_SET(*this, FIX::RedemptionDate);
|
||||
FIELD_SET(*this, FIX::StrikePrice);
|
||||
FIELD_SET(*this, FIX::OptAttribute);
|
||||
FIELD_SET(*this, FIX::ContractMultiplier);
|
||||
FIELD_SET(*this, FIX::CouponRate);
|
||||
FIELD_SET(*this, FIX::SecurityExchange);
|
||||
FIELD_SET(*this, FIX::Issuer);
|
||||
FIELD_SET(*this, FIX::EncodedIssuerLen);
|
||||
FIELD_SET(*this, FIX::EncodedIssuer);
|
||||
FIELD_SET(*this, FIX::SecurityDesc);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
|
||||
FIELD_SET(*this, FIX::EncodedSecurityDesc);
|
||||
FIELD_SET(*this, FIX::NoSecurityAltID);
|
||||
class NoSecurityAltID: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoSecurityAltID() : FIX::Group(454,455,FIX::message_order(455,456,0)) {}
|
||||
FIELD_SET(*this, FIX::SecurityAltID);
|
||||
FIELD_SET(*this, FIX::SecurityAltIDSource);
|
||||
};
|
||||
FIELD_SET(*this, FIX::Side);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
FIELD_SET(*this, FIX::TradeInputSource);
|
||||
FIELD_SET(*this, FIX::TradeInputDevice);
|
||||
FIELD_SET(*this, FIX::NoDates);
|
||||
class NoDates: public FIX::Group
|
||||
{
|
||||
public:
|
||||
NoDates() : FIX::Group(580,75,FIX::message_order(75,60,0)) {}
|
||||
FIELD_SET(*this, FIX::TradeDate);
|
||||
FIELD_SET(*this, FIX::TransactTime);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,48 @@
|
||||
#ifndef FIX43_TRADINGSESSIONSTATUS_H
|
||||
#define FIX43_TRADINGSESSIONSTATUS_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class TradingSessionStatus : public Message
|
||||
{
|
||||
public:
|
||||
TradingSessionStatus() : Message(MsgType()) {}
|
||||
TradingSessionStatus(const FIX::Message& m) : Message(m) {}
|
||||
TradingSessionStatus(const Message& m) : Message(m) {}
|
||||
TradingSessionStatus(const TradingSessionStatus& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("h"); }
|
||||
|
||||
TradingSessionStatus(
|
||||
const FIX::TradingSessionID& aTradingSessionID,
|
||||
const FIX::TradSesStatus& aTradSesStatus )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aTradingSessionID);
|
||||
set(aTradSesStatus);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::TradSesReqID);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::TradSesMethod);
|
||||
FIELD_SET(*this, FIX::TradSesMode);
|
||||
FIELD_SET(*this, FIX::UnsolicitedIndicator);
|
||||
FIELD_SET(*this, FIX::TradSesStatus);
|
||||
FIELD_SET(*this, FIX::TradSesStatusRejReason);
|
||||
FIELD_SET(*this, FIX::TradSesStartTime);
|
||||
FIELD_SET(*this, FIX::TradSesOpenTime);
|
||||
FIELD_SET(*this, FIX::TradSesPreCloseTime);
|
||||
FIELD_SET(*this, FIX::TradSesCloseTime);
|
||||
FIELD_SET(*this, FIX::TradSesEndTime);
|
||||
FIELD_SET(*this, FIX::TotalVolumeTraded);
|
||||
FIELD_SET(*this, FIX::Text);
|
||||
FIELD_SET(*this, FIX::EncodedTextLen);
|
||||
FIELD_SET(*this, FIX::EncodedText);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,37 @@
|
||||
#ifndef FIX43_TRADINGSESSIONSTATUSREQUEST_H
|
||||
#define FIX43_TRADINGSESSIONSTATUSREQUEST_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class TradingSessionStatusRequest : public Message
|
||||
{
|
||||
public:
|
||||
TradingSessionStatusRequest() : Message(MsgType()) {}
|
||||
TradingSessionStatusRequest(const FIX::Message& m) : Message(m) {}
|
||||
TradingSessionStatusRequest(const Message& m) : Message(m) {}
|
||||
TradingSessionStatusRequest(const TradingSessionStatusRequest& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("g"); }
|
||||
|
||||
TradingSessionStatusRequest(
|
||||
const FIX::TradSesReqID& aTradSesReqID,
|
||||
const FIX::SubscriptionRequestType& aSubscriptionRequestType )
|
||||
: Message(MsgType())
|
||||
{
|
||||
set(aTradSesReqID);
|
||||
set(aSubscriptionRequestType);
|
||||
}
|
||||
|
||||
FIELD_SET(*this, FIX::TradSesReqID);
|
||||
FIELD_SET(*this, FIX::TradingSessionID);
|
||||
FIELD_SET(*this, FIX::TradingSessionSubID);
|
||||
FIELD_SET(*this, FIX::TradSesMethod);
|
||||
FIELD_SET(*this, FIX::TradSesMode);
|
||||
FIELD_SET(*this, FIX::SubscriptionRequestType);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,22 @@
|
||||
#ifndef FIX43_XMLNONFIX_H
|
||||
#define FIX43_XMLNONFIX_H
|
||||
|
||||
#include "Message.h"
|
||||
|
||||
namespace FIX43
|
||||
{
|
||||
|
||||
class XMLnonFIX : public Message
|
||||
{
|
||||
public:
|
||||
XMLnonFIX() : Message(MsgType()) {}
|
||||
XMLnonFIX(const FIX::Message& m) : Message(m) {}
|
||||
XMLnonFIX(const Message& m) : Message(m) {}
|
||||
XMLnonFIX(const XMLnonFIX& m) : Message(m) {}
|
||||
static FIX::MsgType MsgType() { return FIX::MsgType("n"); }
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user