This commit is contained in:
Pedro Pinto committed 2017-10-15 17:59:31 -04:00
1 parent a19415dfe9
commit 2ddd467151
671 files changed
+124855

No files matched your search

@@ -0,0 +1,191 @@
#ifndef FIX44_ADVERTISEMENT_H
#define FIX44_ADVERTISEMENT_H
#include "Message.h"
namespace FIX44
{
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::AdvSide);
FIELD_SET(*this, FIX::Quantity);
FIELD_SET(*this, FIX::QtyType);
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,397 @@
#ifndef FIX44_ALLOCATIONINSTRUCTION_H
#define FIX44_ALLOCATIONINSTRUCTION_H
#include "Message.h"
namespace FIX44
{
class AllocationInstruction : public Message
{
public:
AllocationInstruction() : Message(MsgType()) {}
AllocationInstruction(const FIX::Message& m) : Message(m) {}
AllocationInstruction(const Message& m) : Message(m) {}
AllocationInstruction(const AllocationInstruction& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("J"); }
AllocationInstruction(
const FIX::AllocID& aAllocID,
const FIX::AllocTransType& aAllocTransType,
const FIX::AllocType& aAllocType,
const FIX::AllocNoOrdersType& aAllocNoOrdersType,
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(aAllocNoOrdersType);
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::SecondaryAllocID);
FIELD_SET(*this, FIX::RefAllocID);
FIELD_SET(*this, FIX::AllocCancReplaceReason);
FIELD_SET(*this, FIX::AllocIntermedReqType);
FIELD_SET(*this, FIX::AllocLinkID);
FIELD_SET(*this, FIX::AllocLinkType);
FIELD_SET(*this, FIX::BookingRefID);
FIELD_SET(*this, FIX::AllocNoOrdersType);
FIELD_SET(*this, FIX::NoOrders);
class NoOrders: public FIX::Group
{
public:
NoOrders() : FIX::Group(73,11,FIX::message_order(11,37,198,526,66,756,38,799,800,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::NoNested2PartyIDs);
class NoNested2PartyIDs: public FIX::Group
{
public:
NoNested2PartyIDs() : FIX::Group(756,757,FIX::message_order(757,758,759,806,0)) {}
FIELD_SET(*this, FIX::Nested2PartyID);
FIELD_SET(*this, FIX::Nested2PartyIDSource);
FIELD_SET(*this, FIX::Nested2PartyRole);
FIELD_SET(*this, FIX::NoNested2PartySubIDs);
class NoNested2PartySubIDs: public FIX::Group
{
public:
NoNested2PartySubIDs() : FIX::Group(806,760,FIX::message_order(760,807,0)) {}
FIELD_SET(*this, FIX::Nested2PartySubID);
FIELD_SET(*this, FIX::Nested2PartySubIDType);
};
};
FIELD_SET(*this, FIX::OrderQty);
FIELD_SET(*this, FIX::OrderAvgPx);
FIELD_SET(*this, FIX::OrderBookingQty);
};
FIELD_SET(*this, FIX::NoExecs);
class NoExecs: public FIX::Group
{
public:
NoExecs() : FIX::Group(124,32,FIX::message_order(32,17,527,31,669,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::LastParPx);
FIELD_SET(*this, FIX::LastCapacity);
};
FIELD_SET(*this, FIX::PreviouslyReported);
FIELD_SET(*this, FIX::ReversalIndicator);
FIELD_SET(*this, FIX::MatchType);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::DeliveryForm);
FIELD_SET(*this, FIX::PctAtRisk);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::Quantity);
FIELD_SET(*this, FIX::QtyType);
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::AvgParPx);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::AvgPxPrecision);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::BookingType);
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::AutoAcceptIndicator);
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::AccruedInterestAmt);
FIELD_SET(*this, FIX::TotalAccruedInterestAmt);
FIELD_SET(*this, FIX::InterestAtMaturity);
FIELD_SET(*this, FIX::EndAccruedInterestAmt);
FIELD_SET(*this, FIX::StartCash);
FIELD_SET(*this, FIX::EndCash);
FIELD_SET(*this, FIX::LegalConfirm);
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::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
FIELD_SET(*this, FIX::TotNoAllocs);
FIELD_SET(*this, FIX::LastFragment);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,573,366,80,467,81,539,208,209,161,360,361,12,13,479,497,153,154,119,737,120,736,155,156,742,741,136,576,780,172,169,170,171,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::MatchStatus);
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
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::AllocSettlCurrAmt);
FIELD_SET(*this, FIX::SettlCurrency);
FIELD_SET(*this, FIX::AllocSettlCurrency);
FIELD_SET(*this, FIX::SettlCurrFxRate);
FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
FIELD_SET(*this, FIX::AllocAccruedInterestAmt);
FIELD_SET(*this, FIX::AllocInterestAtMaturity);
FIELD_SET(*this, FIX::NoMiscFees);
class NoMiscFees: public FIX::Group
{
public:
NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
FIELD_SET(*this, FIX::MiscFeeAmt);
FIELD_SET(*this, FIX::MiscFeeCurr);
FIELD_SET(*this, FIX::MiscFeeType);
FIELD_SET(*this, FIX::MiscFeeBasis);
};
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::AllocSettlInstType);
FIELD_SET(*this, FIX::SettlDeliveryType);
FIELD_SET(*this, FIX::StandInstDbType);
FIELD_SET(*this, FIX::StandInstDbName);
FIELD_SET(*this, FIX::StandInstDbID);
};
};
}
#endif
@@ -0,0 +1,78 @@
#ifndef FIX44_ALLOCATIONINSTRUCTIONACK_H
#define FIX44_ALLOCATIONINSTRUCTIONACK_H
#include "Message.h"
namespace FIX44
{
class AllocationInstructionAck : public Message
{
public:
AllocationInstructionAck() : Message(MsgType()) {}
AllocationInstructionAck(const FIX::Message& m) : Message(m) {}
AllocationInstructionAck(const Message& m) : Message(m) {}
AllocationInstructionAck(const AllocationInstructionAck& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("P"); }
AllocationInstructionAck(
const FIX::AllocID& aAllocID,
const FIX::TransactTime& aTransactTime,
const FIX::AllocStatus& aAllocStatus )
: Message(MsgType())
{
set(aAllocID);
set(aTransactTime);
set(aAllocStatus);
}
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::SecondaryAllocID);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::AllocStatus);
FIELD_SET(*this, FIX::AllocRejCode);
FIELD_SET(*this, FIX::AllocType);
FIELD_SET(*this, FIX::AllocIntermedReqType);
FIELD_SET(*this, FIX::MatchStatus);
FIELD_SET(*this, FIX::Product);
FIELD_SET(*this, FIX::SecurityType);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,366,467,776,161,360,361,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocPrice);
FIELD_SET(*this, FIX::IndividualAllocID);
FIELD_SET(*this, FIX::IndividualAllocRejCode);
FIELD_SET(*this, FIX::AllocText);
FIELD_SET(*this, FIX::EncodedAllocTextLen);
FIELD_SET(*this, FIX::EncodedAllocText);
};
};
}
#endif
@@ -0,0 +1,403 @@
#ifndef FIX44_ALLOCATIONREPORT_H
#define FIX44_ALLOCATIONREPORT_H
#include "Message.h"
namespace FIX44
{
class AllocationReport : public Message
{
public:
AllocationReport() : Message(MsgType()) {}
AllocationReport(const FIX::Message& m) : Message(m) {}
AllocationReport(const Message& m) : Message(m) {}
AllocationReport(const AllocationReport& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AS"); }
AllocationReport(
const FIX::AllocReportID& aAllocReportID,
const FIX::AllocTransType& aAllocTransType,
const FIX::AllocReportType& aAllocReportType,
const FIX::AllocStatus& aAllocStatus,
const FIX::AllocNoOrdersType& aAllocNoOrdersType,
const FIX::Side& aSide,
const FIX::Quantity& aQuantity,
const FIX::AvgPx& aAvgPx,
const FIX::TradeDate& aTradeDate )
: Message(MsgType())
{
set(aAllocReportID);
set(aAllocTransType);
set(aAllocReportType);
set(aAllocStatus);
set(aAllocNoOrdersType);
set(aSide);
set(aQuantity);
set(aAvgPx);
set(aTradeDate);
}
FIELD_SET(*this, FIX::AllocReportID);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::AllocTransType);
FIELD_SET(*this, FIX::AllocReportRefID);
FIELD_SET(*this, FIX::AllocCancReplaceReason);
FIELD_SET(*this, FIX::SecondaryAllocID);
FIELD_SET(*this, FIX::AllocReportType);
FIELD_SET(*this, FIX::AllocStatus);
FIELD_SET(*this, FIX::AllocRejCode);
FIELD_SET(*this, FIX::RefAllocID);
FIELD_SET(*this, FIX::AllocIntermedReqType);
FIELD_SET(*this, FIX::AllocLinkID);
FIELD_SET(*this, FIX::AllocLinkType);
FIELD_SET(*this, FIX::BookingRefID);
FIELD_SET(*this, FIX::AllocNoOrdersType);
FIELD_SET(*this, FIX::NoOrders);
class NoOrders: public FIX::Group
{
public:
NoOrders() : FIX::Group(73,11,FIX::message_order(11,37,198,526,66,756,38,799,800,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::NoNested2PartyIDs);
class NoNested2PartyIDs: public FIX::Group
{
public:
NoNested2PartyIDs() : FIX::Group(756,757,FIX::message_order(757,758,759,806,0)) {}
FIELD_SET(*this, FIX::Nested2PartyID);
FIELD_SET(*this, FIX::Nested2PartyIDSource);
FIELD_SET(*this, FIX::Nested2PartyRole);
FIELD_SET(*this, FIX::NoNested2PartySubIDs);
class NoNested2PartySubIDs: public FIX::Group
{
public:
NoNested2PartySubIDs() : FIX::Group(806,760,FIX::message_order(760,807,0)) {}
FIELD_SET(*this, FIX::Nested2PartySubID);
FIELD_SET(*this, FIX::Nested2PartySubIDType);
};
};
FIELD_SET(*this, FIX::OrderQty);
FIELD_SET(*this, FIX::OrderAvgPx);
FIELD_SET(*this, FIX::OrderBookingQty);
};
FIELD_SET(*this, FIX::NoExecs);
class NoExecs: public FIX::Group
{
public:
NoExecs() : FIX::Group(124,32,FIX::message_order(32,17,527,31,669,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::LastParPx);
FIELD_SET(*this, FIX::LastCapacity);
};
FIELD_SET(*this, FIX::PreviouslyReported);
FIELD_SET(*this, FIX::ReversalIndicator);
FIELD_SET(*this, FIX::MatchType);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::DeliveryForm);
FIELD_SET(*this, FIX::PctAtRisk);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::Quantity);
FIELD_SET(*this, FIX::QtyType);
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::AvgParPx);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::AvgPxPrecision);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::BookingType);
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::AutoAcceptIndicator);
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::AccruedInterestAmt);
FIELD_SET(*this, FIX::TotalAccruedInterestAmt);
FIELD_SET(*this, FIX::InterestAtMaturity);
FIELD_SET(*this, FIX::EndAccruedInterestAmt);
FIELD_SET(*this, FIX::StartCash);
FIELD_SET(*this, FIX::EndCash);
FIELD_SET(*this, FIX::LegalConfirm);
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::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
FIELD_SET(*this, FIX::TotNoAllocs);
FIELD_SET(*this, FIX::LastFragment);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,573,366,80,467,81,539,208,209,161,360,361,12,13,479,497,153,154,119,737,120,736,155,156,742,741,136,576,780,172,169,170,171,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::MatchStatus);
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
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::AllocSettlCurrAmt);
FIELD_SET(*this, FIX::SettlCurrency);
FIELD_SET(*this, FIX::AllocSettlCurrency);
FIELD_SET(*this, FIX::SettlCurrFxRate);
FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
FIELD_SET(*this, FIX::AllocAccruedInterestAmt);
FIELD_SET(*this, FIX::AllocInterestAtMaturity);
FIELD_SET(*this, FIX::NoMiscFees);
class NoMiscFees: public FIX::Group
{
public:
NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
FIELD_SET(*this, FIX::MiscFeeAmt);
FIELD_SET(*this, FIX::MiscFeeCurr);
FIELD_SET(*this, FIX::MiscFeeType);
FIELD_SET(*this, FIX::MiscFeeBasis);
};
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::AllocSettlInstType);
FIELD_SET(*this, FIX::SettlDeliveryType);
FIELD_SET(*this, FIX::StandInstDbType);
FIELD_SET(*this, FIX::StandInstDbName);
FIELD_SET(*this, FIX::StandInstDbID);
};
};
}
#endif
@@ -0,0 +1,81 @@
#ifndef FIX44_ALLOCATIONREPORTACK_H
#define FIX44_ALLOCATIONREPORTACK_H
#include "Message.h"
namespace FIX44
{
class AllocationReportAck : public Message
{
public:
AllocationReportAck() : Message(MsgType()) {}
AllocationReportAck(const FIX::Message& m) : Message(m) {}
AllocationReportAck(const Message& m) : Message(m) {}
AllocationReportAck(const AllocationReportAck& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AT"); }
AllocationReportAck(
const FIX::AllocReportID& aAllocReportID,
const FIX::AllocID& aAllocID,
const FIX::TransactTime& aTransactTime,
const FIX::AllocStatus& aAllocStatus )
: Message(MsgType())
{
set(aAllocReportID);
set(aAllocID);
set(aTransactTime);
set(aAllocStatus);
}
FIELD_SET(*this, FIX::AllocReportID);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::SecondaryAllocID);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::AllocStatus);
FIELD_SET(*this, FIX::AllocRejCode);
FIELD_SET(*this, FIX::AllocReportType);
FIELD_SET(*this, FIX::AllocIntermedReqType);
FIELD_SET(*this, FIX::MatchStatus);
FIELD_SET(*this, FIX::Product);
FIELD_SET(*this, FIX::SecurityType);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,366,467,776,161,360,361,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocPrice);
FIELD_SET(*this, FIX::IndividualAllocID);
FIELD_SET(*this, FIX::IndividualAllocRejCode);
FIELD_SET(*this, FIX::AllocText);
FIELD_SET(*this, FIX::EncodedAllocTextLen);
FIELD_SET(*this, FIX::EncodedAllocText);
};
};
}
#endif
@@ -0,0 +1,261 @@
#ifndef FIX44_ASSIGNMENTREPORT_H
#define FIX44_ASSIGNMENTREPORT_H
#include "Message.h"
namespace FIX44
{
class AssignmentReport : public Message
{
public:
AssignmentReport() : Message(MsgType()) {}
AssignmentReport(const FIX::Message& m) : Message(m) {}
AssignmentReport(const Message& m) : Message(m) {}
AssignmentReport(const AssignmentReport& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AW"); }
AssignmentReport(
const FIX::AsgnRptID& aAsgnRptID,
const FIX::AccountType& aAccountType,
const FIX::SettlPrice& aSettlPrice,
const FIX::SettlPriceType& aSettlPriceType,
const FIX::UnderlyingSettlPrice& aUnderlyingSettlPrice,
const FIX::AssignmentMethod& aAssignmentMethod,
const FIX::OpenInterest& aOpenInterest,
const FIX::ExerciseMethod& aExerciseMethod,
const FIX::SettlSessID& aSettlSessID,
const FIX::SettlSessSubID& aSettlSessSubID,
const FIX::ClearingBusinessDate& aClearingBusinessDate )
: Message(MsgType())
{
set(aAsgnRptID);
set(aAccountType);
set(aSettlPrice);
set(aSettlPriceType);
set(aUnderlyingSettlPrice);
set(aAssignmentMethod);
set(aOpenInterest);
set(aExerciseMethod);
set(aSettlSessID);
set(aSettlSessSubID);
set(aClearingBusinessDate);
}
FIELD_SET(*this, FIX::AsgnRptID);
FIELD_SET(*this, FIX::TotNumAssignmentReports);
FIELD_SET(*this, FIX::LastRptRequested);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AccountType);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoPositions);
class NoPositions: public FIX::Group
{
public:
NoPositions() : FIX::Group(702,703,FIX::message_order(703,704,705,706,539,0)) {}
FIELD_SET(*this, FIX::PosType);
FIELD_SET(*this, FIX::LongQty);
FIELD_SET(*this, FIX::ShortQty);
FIELD_SET(*this, FIX::PosQtyStatus);
FIELD_SET(*this, FIX::NoNestedPartyIDs);
class NoNestedPartyIDs: public FIX::Group
{
public:
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
};
FIELD_SET(*this, FIX::NoPosAmt);
class NoPosAmt: public FIX::Group
{
public:
NoPosAmt() : FIX::Group(753,707,FIX::message_order(707,708,0)) {}
FIELD_SET(*this, FIX::PosAmtType);
FIELD_SET(*this, FIX::PosAmt);
};
FIELD_SET(*this, FIX::ThresholdAmount);
FIELD_SET(*this, FIX::SettlPrice);
FIELD_SET(*this, FIX::SettlPriceType);
FIELD_SET(*this, FIX::UnderlyingSettlPrice);
FIELD_SET(*this, FIX::ExpireDate);
FIELD_SET(*this, FIX::AssignmentMethod);
FIELD_SET(*this, FIX::AssignmentUnit);
FIELD_SET(*this, FIX::OpenInterest);
FIELD_SET(*this, FIX::ExerciseMethod);
FIELD_SET(*this, FIX::SettlSessID);
FIELD_SET(*this, FIX::SettlSessSubID);
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
+98
View File
@@ -0,0 +1,98 @@
#ifndef FIX44_BIDREQUEST_H
#define FIX44_BIDREQUEST_H
#include "Message.h"
namespace FIX44
{
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::TotNoRelatedSym& aTotNoRelatedSym,
const FIX::BidType& aBidType,
const FIX::BidTradeType& aBidTradeType,
const FIX::BasisPxType& aBasisPxType )
: Message(MsgType())
{
set(aClientBidID);
set(aBidRequestTransType);
set(aTotNoRelatedSym);
set(aBidType);
set(aBidTradeType);
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::TotNoRelatedSym);
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::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,660,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::SettlType);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
};
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::BidTradeType);
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);
};
}
#endif
@@ -0,0 +1,48 @@
#ifndef FIX44_BIDRESPONSE_H
#define FIX44_BIDRESPONSE_H
#include "Message.h"
namespace FIX44
{
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::SettlType);
FIELD_SET(*this, FIX::SettlDate);
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 FIX44_BUSINESSMESSAGEREJECT_H
#define FIX44_BUSINESSMESSAGEREJECT_H
#include "Message.h"
namespace FIX44
{
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,290 @@
#ifndef FIX44_COLLATERALASSIGNMENT_H
#define FIX44_COLLATERALASSIGNMENT_H
#include "Message.h"
namespace FIX44
{
class CollateralAssignment : public Message
{
public:
CollateralAssignment() : Message(MsgType()) {}
CollateralAssignment(const FIX::Message& m) : Message(m) {}
CollateralAssignment(const Message& m) : Message(m) {}
CollateralAssignment(const CollateralAssignment& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AY"); }
CollateralAssignment(
const FIX::CollAsgnID& aCollAsgnID,
const FIX::CollAsgnReason& aCollAsgnReason,
const FIX::CollAsgnTransType& aCollAsgnTransType,
const FIX::TransactTime& aTransactTime )
: Message(MsgType())
{
set(aCollAsgnID);
set(aCollAsgnReason);
set(aCollAsgnTransType);
set(aTransactTime);
}
FIELD_SET(*this, FIX::CollAsgnID);
FIELD_SET(*this, FIX::CollReqID);
FIELD_SET(*this, FIX::CollAsgnReason);
FIELD_SET(*this, FIX::CollAsgnTransType);
FIELD_SET(*this, FIX::CollAsgnRefID);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::ExpireTime);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::ClOrdID);
FIELD_SET(*this, FIX::OrderID);
FIELD_SET(*this, FIX::SecondaryOrderID);
FIELD_SET(*this, FIX::SecondaryClOrdID);
FIELD_SET(*this, FIX::NoExecs);
class NoExecs: public FIX::Group
{
public:
NoExecs() : FIX::Group(124,17,FIX::message_order(17,0)) {}
FIELD_SET(*this, FIX::ExecID);
};
FIELD_SET(*this, FIX::NoTrades);
class NoTrades: public FIX::Group
{
public:
NoTrades() : FIX::Group(897,571,FIX::message_order(571,818,0)) {}
FIELD_SET(*this, FIX::TradeReportID);
FIELD_SET(*this, FIX::SecondaryTradeReportID);
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::Quantity);
FIELD_SET(*this, FIX::QtyType);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,944,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
FIELD_SET(*this, FIX::CollAction);
};
FIELD_SET(*this, FIX::MarginExcess);
FIELD_SET(*this, FIX::TotalNetValue);
FIELD_SET(*this, FIX::CashOutstanding);
FIELD_SET(*this, FIX::NoTrdRegTimestamps);
class NoTrdRegTimestamps: public FIX::Group
{
public:
NoTrdRegTimestamps() : FIX::Group(768,769,FIX::message_order(769,770,771,0)) {}
FIELD_SET(*this, FIX::TrdRegTimestamp);
FIELD_SET(*this, FIX::TrdRegTimestampType);
FIELD_SET(*this, FIX::TrdRegTimestampOrigin);
};
FIELD_SET(*this, FIX::Side);
FIELD_SET(*this, FIX::NoMiscFees);
class NoMiscFees: public FIX::Group
{
public:
NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
FIELD_SET(*this, FIX::MiscFeeAmt);
FIELD_SET(*this, FIX::MiscFeeCurr);
FIELD_SET(*this, FIX::MiscFeeType);
FIELD_SET(*this, FIX::MiscFeeBasis);
};
FIELD_SET(*this, FIX::Price);
FIELD_SET(*this, FIX::PriceType);
FIELD_SET(*this, FIX::AccruedInterestAmt);
FIELD_SET(*this, FIX::EndAccruedInterestAmt);
FIELD_SET(*this, FIX::StartCash);
FIELD_SET(*this, FIX::EndCash);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
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::SettlDeliveryType);
FIELD_SET(*this, FIX::StandInstDbType);
FIELD_SET(*this, FIX::StandInstDbName);
FIELD_SET(*this, FIX::StandInstDbID);
FIELD_SET(*this, FIX::TradingSessionID);
FIELD_SET(*this, FIX::TradingSessionSubID);
FIELD_SET(*this, FIX::SettlSessID);
FIELD_SET(*this, FIX::SettlSessSubID);
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,270 @@
#ifndef FIX44_COLLATERALINQUIRY_H
#define FIX44_COLLATERALINQUIRY_H
#include "Message.h"
namespace FIX44
{
class CollateralInquiry : public Message
{
public:
CollateralInquiry() : Message(MsgType()) {}
CollateralInquiry(const FIX::Message& m) : Message(m) {}
CollateralInquiry(const Message& m) : Message(m) {}
CollateralInquiry(const CollateralInquiry& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("BB"); }
FIELD_SET(*this, FIX::CollInquiryID);
FIELD_SET(*this, FIX::NoCollInquiryQualifier);
class NoCollInquiryQualifier: public FIX::Group
{
public:
NoCollInquiryQualifier() : FIX::Group(938,896,FIX::message_order(896,0)) {}
FIELD_SET(*this, FIX::CollInquiryQualifier);
};
FIELD_SET(*this, FIX::SubscriptionRequestType);
FIELD_SET(*this, FIX::ResponseTransportType);
FIELD_SET(*this, FIX::ResponseDestination);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::ClOrdID);
FIELD_SET(*this, FIX::OrderID);
FIELD_SET(*this, FIX::SecondaryOrderID);
FIELD_SET(*this, FIX::SecondaryClOrdID);
FIELD_SET(*this, FIX::NoExecs);
class NoExecs: public FIX::Group
{
public:
NoExecs() : FIX::Group(124,17,FIX::message_order(17,0)) {}
FIELD_SET(*this, FIX::ExecID);
};
FIELD_SET(*this, FIX::NoTrades);
class NoTrades: public FIX::Group
{
public:
NoTrades() : FIX::Group(897,571,FIX::message_order(571,818,0)) {}
FIELD_SET(*this, FIX::TradeReportID);
FIELD_SET(*this, FIX::SecondaryTradeReportID);
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::Quantity);
FIELD_SET(*this, FIX::QtyType);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::MarginExcess);
FIELD_SET(*this, FIX::TotalNetValue);
FIELD_SET(*this, FIX::CashOutstanding);
FIELD_SET(*this, FIX::NoTrdRegTimestamps);
class NoTrdRegTimestamps: public FIX::Group
{
public:
NoTrdRegTimestamps() : FIX::Group(768,769,FIX::message_order(769,770,771,0)) {}
FIELD_SET(*this, FIX::TrdRegTimestamp);
FIELD_SET(*this, FIX::TrdRegTimestampType);
FIELD_SET(*this, FIX::TrdRegTimestampOrigin);
};
FIELD_SET(*this, FIX::Side);
FIELD_SET(*this, FIX::Price);
FIELD_SET(*this, FIX::PriceType);
FIELD_SET(*this, FIX::AccruedInterestAmt);
FIELD_SET(*this, FIX::EndAccruedInterestAmt);
FIELD_SET(*this, FIX::StartCash);
FIELD_SET(*this, FIX::EndCash);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
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::SettlDeliveryType);
FIELD_SET(*this, FIX::StandInstDbType);
FIELD_SET(*this, FIX::StandInstDbName);
FIELD_SET(*this, FIX::StandInstDbID);
FIELD_SET(*this, FIX::TradingSessionID);
FIELD_SET(*this, FIX::TradingSessionSubID);
FIELD_SET(*this, FIX::SettlSessID);
FIELD_SET(*this, FIX::SettlSessSubID);
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,242 @@
#ifndef FIX44_COLLATERALINQUIRYACK_H
#define FIX44_COLLATERALINQUIRYACK_H
#include "Message.h"
namespace FIX44
{
class CollateralInquiryAck : public Message
{
public:
CollateralInquiryAck() : Message(MsgType()) {}
CollateralInquiryAck(const FIX::Message& m) : Message(m) {}
CollateralInquiryAck(const Message& m) : Message(m) {}
CollateralInquiryAck(const CollateralInquiryAck& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("BG"); }
CollateralInquiryAck(
const FIX::CollInquiryID& aCollInquiryID,
const FIX::CollInquiryStatus& aCollInquiryStatus )
: Message(MsgType())
{
set(aCollInquiryID);
set(aCollInquiryStatus);
}
FIELD_SET(*this, FIX::CollInquiryID);
FIELD_SET(*this, FIX::CollInquiryStatus);
FIELD_SET(*this, FIX::CollInquiryResult);
FIELD_SET(*this, FIX::NoCollInquiryQualifier);
class NoCollInquiryQualifier: public FIX::Group
{
public:
NoCollInquiryQualifier() : FIX::Group(938,896,FIX::message_order(896,0)) {}
FIELD_SET(*this, FIX::CollInquiryQualifier);
};
FIELD_SET(*this, FIX::TotNumReports);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::ClOrdID);
FIELD_SET(*this, FIX::OrderID);
FIELD_SET(*this, FIX::SecondaryOrderID);
FIELD_SET(*this, FIX::SecondaryClOrdID);
FIELD_SET(*this, FIX::NoExecs);
class NoExecs: public FIX::Group
{
public:
NoExecs() : FIX::Group(124,17,FIX::message_order(17,0)) {}
FIELD_SET(*this, FIX::ExecID);
};
FIELD_SET(*this, FIX::NoTrades);
class NoTrades: public FIX::Group
{
public:
NoTrades() : FIX::Group(897,571,FIX::message_order(571,818,0)) {}
FIELD_SET(*this, FIX::TradeReportID);
FIELD_SET(*this, FIX::SecondaryTradeReportID);
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::Quantity);
FIELD_SET(*this, FIX::QtyType);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::TradingSessionID);
FIELD_SET(*this, FIX::TradingSessionSubID);
FIELD_SET(*this, FIX::SettlSessID);
FIELD_SET(*this, FIX::SettlSessSubID);
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::ResponseTransportType);
FIELD_SET(*this, FIX::ResponseDestination);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,283 @@
#ifndef FIX44_COLLATERALREPORT_H
#define FIX44_COLLATERALREPORT_H
#include "Message.h"
namespace FIX44
{
class CollateralReport : public Message
{
public:
CollateralReport() : Message(MsgType()) {}
CollateralReport(const FIX::Message& m) : Message(m) {}
CollateralReport(const Message& m) : Message(m) {}
CollateralReport(const CollateralReport& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("BA"); }
CollateralReport(
const FIX::CollRptID& aCollRptID,
const FIX::CollStatus& aCollStatus )
: Message(MsgType())
{
set(aCollRptID);
set(aCollStatus);
}
FIELD_SET(*this, FIX::CollRptID);
FIELD_SET(*this, FIX::CollInquiryID);
FIELD_SET(*this, FIX::CollStatus);
FIELD_SET(*this, FIX::TotNumReports);
FIELD_SET(*this, FIX::LastRptRequested);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::ClOrdID);
FIELD_SET(*this, FIX::OrderID);
FIELD_SET(*this, FIX::SecondaryOrderID);
FIELD_SET(*this, FIX::SecondaryClOrdID);
FIELD_SET(*this, FIX::NoExecs);
class NoExecs: public FIX::Group
{
public:
NoExecs() : FIX::Group(124,17,FIX::message_order(17,0)) {}
FIELD_SET(*this, FIX::ExecID);
};
FIELD_SET(*this, FIX::NoTrades);
class NoTrades: public FIX::Group
{
public:
NoTrades() : FIX::Group(897,571,FIX::message_order(571,818,0)) {}
FIELD_SET(*this, FIX::TradeReportID);
FIELD_SET(*this, FIX::SecondaryTradeReportID);
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::Quantity);
FIELD_SET(*this, FIX::QtyType);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::MarginExcess);
FIELD_SET(*this, FIX::TotalNetValue);
FIELD_SET(*this, FIX::CashOutstanding);
FIELD_SET(*this, FIX::NoTrdRegTimestamps);
class NoTrdRegTimestamps: public FIX::Group
{
public:
NoTrdRegTimestamps() : FIX::Group(768,769,FIX::message_order(769,770,771,0)) {}
FIELD_SET(*this, FIX::TrdRegTimestamp);
FIELD_SET(*this, FIX::TrdRegTimestampType);
FIELD_SET(*this, FIX::TrdRegTimestampOrigin);
};
FIELD_SET(*this, FIX::Side);
FIELD_SET(*this, FIX::NoMiscFees);
class NoMiscFees: public FIX::Group
{
public:
NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
FIELD_SET(*this, FIX::MiscFeeAmt);
FIELD_SET(*this, FIX::MiscFeeCurr);
FIELD_SET(*this, FIX::MiscFeeType);
FIELD_SET(*this, FIX::MiscFeeBasis);
};
FIELD_SET(*this, FIX::Price);
FIELD_SET(*this, FIX::PriceType);
FIELD_SET(*this, FIX::AccruedInterestAmt);
FIELD_SET(*this, FIX::EndAccruedInterestAmt);
FIELD_SET(*this, FIX::StartCash);
FIELD_SET(*this, FIX::EndCash);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
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::SettlDeliveryType);
FIELD_SET(*this, FIX::StandInstDbType);
FIELD_SET(*this, FIX::StandInstDbName);
FIELD_SET(*this, FIX::StandInstDbID);
FIELD_SET(*this, FIX::TradingSessionID);
FIELD_SET(*this, FIX::TradingSessionSubID);
FIELD_SET(*this, FIX::SettlSessID);
FIELD_SET(*this, FIX::SettlSessSubID);
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,281 @@
#ifndef FIX44_COLLATERALREQUEST_H
#define FIX44_COLLATERALREQUEST_H
#include "Message.h"
namespace FIX44
{
class CollateralRequest : public Message
{
public:
CollateralRequest() : Message(MsgType()) {}
CollateralRequest(const FIX::Message& m) : Message(m) {}
CollateralRequest(const Message& m) : Message(m) {}
CollateralRequest(const CollateralRequest& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AX"); }
CollateralRequest(
const FIX::CollReqID& aCollReqID,
const FIX::CollAsgnReason& aCollAsgnReason,
const FIX::TransactTime& aTransactTime )
: Message(MsgType())
{
set(aCollReqID);
set(aCollAsgnReason);
set(aTransactTime);
}
FIELD_SET(*this, FIX::CollReqID);
FIELD_SET(*this, FIX::CollAsgnReason);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::ExpireTime);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::ClOrdID);
FIELD_SET(*this, FIX::OrderID);
FIELD_SET(*this, FIX::SecondaryOrderID);
FIELD_SET(*this, FIX::SecondaryClOrdID);
FIELD_SET(*this, FIX::NoExecs);
class NoExecs: public FIX::Group
{
public:
NoExecs() : FIX::Group(124,17,FIX::message_order(17,0)) {}
FIELD_SET(*this, FIX::ExecID);
};
FIELD_SET(*this, FIX::NoTrades);
class NoTrades: public FIX::Group
{
public:
NoTrades() : FIX::Group(897,571,FIX::message_order(571,818,0)) {}
FIELD_SET(*this, FIX::TradeReportID);
FIELD_SET(*this, FIX::SecondaryTradeReportID);
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::Quantity);
FIELD_SET(*this, FIX::QtyType);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,944,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
FIELD_SET(*this, FIX::CollAction);
};
FIELD_SET(*this, FIX::MarginExcess);
FIELD_SET(*this, FIX::TotalNetValue);
FIELD_SET(*this, FIX::CashOutstanding);
FIELD_SET(*this, FIX::NoTrdRegTimestamps);
class NoTrdRegTimestamps: public FIX::Group
{
public:
NoTrdRegTimestamps() : FIX::Group(768,769,FIX::message_order(769,770,771,0)) {}
FIELD_SET(*this, FIX::TrdRegTimestamp);
FIELD_SET(*this, FIX::TrdRegTimestampType);
FIELD_SET(*this, FIX::TrdRegTimestampOrigin);
};
FIELD_SET(*this, FIX::Side);
FIELD_SET(*this, FIX::NoMiscFees);
class NoMiscFees: public FIX::Group
{
public:
NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
FIELD_SET(*this, FIX::MiscFeeAmt);
FIELD_SET(*this, FIX::MiscFeeCurr);
FIELD_SET(*this, FIX::MiscFeeType);
FIELD_SET(*this, FIX::MiscFeeBasis);
};
FIELD_SET(*this, FIX::Price);
FIELD_SET(*this, FIX::PriceType);
FIELD_SET(*this, FIX::AccruedInterestAmt);
FIELD_SET(*this, FIX::EndAccruedInterestAmt);
FIELD_SET(*this, FIX::StartCash);
FIELD_SET(*this, FIX::EndCash);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
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::TradingSessionID);
FIELD_SET(*this, FIX::TradingSessionSubID);
FIELD_SET(*this, FIX::SettlSessID);
FIELD_SET(*this, FIX::SettlSessSubID);
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,284 @@
#ifndef FIX44_COLLATERALRESPONSE_H
#define FIX44_COLLATERALRESPONSE_H
#include "Message.h"
namespace FIX44
{
class CollateralResponse : public Message
{
public:
CollateralResponse() : Message(MsgType()) {}
CollateralResponse(const FIX::Message& m) : Message(m) {}
CollateralResponse(const Message& m) : Message(m) {}
CollateralResponse(const CollateralResponse& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AZ"); }
CollateralResponse(
const FIX::CollRespID& aCollRespID,
const FIX::CollAsgnID& aCollAsgnID,
const FIX::CollAsgnReason& aCollAsgnReason,
const FIX::CollAsgnRespType& aCollAsgnRespType,
const FIX::TransactTime& aTransactTime )
: Message(MsgType())
{
set(aCollRespID);
set(aCollAsgnID);
set(aCollAsgnReason);
set(aCollAsgnRespType);
set(aTransactTime);
}
FIELD_SET(*this, FIX::CollRespID);
FIELD_SET(*this, FIX::CollAsgnID);
FIELD_SET(*this, FIX::CollReqID);
FIELD_SET(*this, FIX::CollAsgnReason);
FIELD_SET(*this, FIX::CollAsgnTransType);
FIELD_SET(*this, FIX::CollAsgnRespType);
FIELD_SET(*this, FIX::CollAsgnRejectReason);
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::ClOrdID);
FIELD_SET(*this, FIX::OrderID);
FIELD_SET(*this, FIX::SecondaryOrderID);
FIELD_SET(*this, FIX::SecondaryClOrdID);
FIELD_SET(*this, FIX::NoExecs);
class NoExecs: public FIX::Group
{
public:
NoExecs() : FIX::Group(124,17,FIX::message_order(17,0)) {}
FIELD_SET(*this, FIX::ExecID);
};
FIELD_SET(*this, FIX::NoTrades);
class NoTrades: public FIX::Group
{
public:
NoTrades() : FIX::Group(897,571,FIX::message_order(571,818,0)) {}
FIELD_SET(*this, FIX::TradeReportID);
FIELD_SET(*this, FIX::SecondaryTradeReportID);
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::Quantity);
FIELD_SET(*this, FIX::QtyType);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,944,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
FIELD_SET(*this, FIX::CollAction);
};
FIELD_SET(*this, FIX::MarginExcess);
FIELD_SET(*this, FIX::TotalNetValue);
FIELD_SET(*this, FIX::CashOutstanding);
FIELD_SET(*this, FIX::NoTrdRegTimestamps);
class NoTrdRegTimestamps: public FIX::Group
{
public:
NoTrdRegTimestamps() : FIX::Group(768,769,FIX::message_order(769,770,771,0)) {}
FIELD_SET(*this, FIX::TrdRegTimestamp);
FIELD_SET(*this, FIX::TrdRegTimestampType);
FIELD_SET(*this, FIX::TrdRegTimestampOrigin);
};
FIELD_SET(*this, FIX::Side);
FIELD_SET(*this, FIX::NoMiscFees);
class NoMiscFees: public FIX::Group
{
public:
NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
FIELD_SET(*this, FIX::MiscFeeAmt);
FIELD_SET(*this, FIX::MiscFeeCurr);
FIELD_SET(*this, FIX::MiscFeeType);
FIELD_SET(*this, FIX::MiscFeeBasis);
};
FIELD_SET(*this, FIX::Price);
FIELD_SET(*this, FIX::PriceType);
FIELD_SET(*this, FIX::AccruedInterestAmt);
FIELD_SET(*this, FIX::EndAccruedInterestAmt);
FIELD_SET(*this, FIX::StartCash);
FIELD_SET(*this, FIX::EndCash);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
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::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
+357
View File
@@ -0,0 +1,357 @@
#ifndef FIX44_CONFIRMATION_H
#define FIX44_CONFIRMATION_H
#include "Message.h"
namespace FIX44
{
class Confirmation : public Message
{
public:
Confirmation() : Message(MsgType()) {}
Confirmation(const FIX::Message& m) : Message(m) {}
Confirmation(const Message& m) : Message(m) {}
Confirmation(const Confirmation& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AK"); }
Confirmation(
const FIX::ConfirmID& aConfirmID,
const FIX::ConfirmTransType& aConfirmTransType,
const FIX::ConfirmType& aConfirmType,
const FIX::ConfirmStatus& aConfirmStatus,
const FIX::TransactTime& aTransactTime,
const FIX::TradeDate& aTradeDate,
const FIX::AllocQty& aAllocQty,
const FIX::Side& aSide,
const FIX::AllocAccount& aAllocAccount,
const FIX::AvgPx& aAvgPx,
const FIX::GrossTradeAmt& aGrossTradeAmt,
const FIX::NetMoney& aNetMoney )
: Message(MsgType())
{
set(aConfirmID);
set(aConfirmTransType);
set(aConfirmType);
set(aConfirmStatus);
set(aTransactTime);
set(aTradeDate);
set(aAllocQty);
set(aSide);
set(aAllocAccount);
set(aAvgPx);
set(aGrossTradeAmt);
set(aNetMoney);
}
FIELD_SET(*this, FIX::ConfirmID);
FIELD_SET(*this, FIX::ConfirmRefID);
FIELD_SET(*this, FIX::ConfirmReqID);
FIELD_SET(*this, FIX::ConfirmTransType);
FIELD_SET(*this, FIX::ConfirmType);
FIELD_SET(*this, FIX::CopyMsgIndicator);
FIELD_SET(*this, FIX::LegalConfirm);
FIELD_SET(*this, FIX::ConfirmStatus);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::NoOrders);
class NoOrders: public FIX::Group
{
public:
NoOrders() : FIX::Group(73,11,FIX::message_order(11,37,198,526,66,756,38,799,800,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::NoNested2PartyIDs);
class NoNested2PartyIDs: public FIX::Group
{
public:
NoNested2PartyIDs() : FIX::Group(756,757,FIX::message_order(757,758,759,806,0)) {}
FIELD_SET(*this, FIX::Nested2PartyID);
FIELD_SET(*this, FIX::Nested2PartyIDSource);
FIELD_SET(*this, FIX::Nested2PartyRole);
FIELD_SET(*this, FIX::NoNested2PartySubIDs);
class NoNested2PartySubIDs: public FIX::Group
{
public:
NoNested2PartySubIDs() : FIX::Group(806,760,FIX::message_order(760,807,0)) {}
FIELD_SET(*this, FIX::Nested2PartySubID);
FIELD_SET(*this, FIX::Nested2PartySubIDType);
};
};
FIELD_SET(*this, FIX::OrderQty);
FIELD_SET(*this, FIX::OrderAvgPx);
FIELD_SET(*this, FIX::OrderBookingQty);
};
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::SecondaryAllocID);
FIELD_SET(*this, FIX::IndividualAllocID);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::NoTrdRegTimestamps);
class NoTrdRegTimestamps: public FIX::Group
{
public:
NoTrdRegTimestamps() : FIX::Group(768,769,FIX::message_order(769,770,771,0)) {}
FIELD_SET(*this, FIX::TrdRegTimestamp);
FIELD_SET(*this, FIX::TrdRegTimestampType);
FIELD_SET(*this, FIX::TrdRegTimestampOrigin);
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::DeliveryForm);
FIELD_SET(*this, FIX::PctAtRisk);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
FIELD_SET(*this, FIX::AllocQty);
FIELD_SET(*this, FIX::QtyType);
FIELD_SET(*this, FIX::Side);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::LastMkt);
FIELD_SET(*this, FIX::NoCapacities);
class NoCapacities: public FIX::Group
{
public:
NoCapacities() : FIX::Group(862,528,FIX::message_order(528,529,863,0)) {}
FIELD_SET(*this, FIX::OrderCapacity);
FIELD_SET(*this, FIX::OrderRestrictions);
FIELD_SET(*this, FIX::OrderCapacityQty);
};
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocAccountType);
FIELD_SET(*this, FIX::AvgPx);
FIELD_SET(*this, FIX::AvgPxPrecision);
FIELD_SET(*this, FIX::PriceType);
FIELD_SET(*this, FIX::AvgParPx);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::ReportedPx);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
FIELD_SET(*this, FIX::ProcessCode);
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::InterestAtMaturity);
FIELD_SET(*this, FIX::EndAccruedInterestAmt);
FIELD_SET(*this, FIX::StartCash);
FIELD_SET(*this, FIX::EndCash);
FIELD_SET(*this, FIX::Concession);
FIELD_SET(*this, FIX::TotalTakedown);
FIELD_SET(*this, FIX::NetMoney);
FIELD_SET(*this, FIX::MaturityNetMoney);
FIELD_SET(*this, FIX::SettlCurrAmt);
FIELD_SET(*this, FIX::SettlCurrency);
FIELD_SET(*this, FIX::SettlCurrFxRate);
FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::SettlDeliveryType);
FIELD_SET(*this, FIX::StandInstDbType);
FIELD_SET(*this, FIX::StandInstDbName);
FIELD_SET(*this, FIX::StandInstDbID);
FIELD_SET(*this, FIX::Commission);
FIELD_SET(*this, FIX::CommType);
FIELD_SET(*this, FIX::CommCurrency);
FIELD_SET(*this, FIX::FundRenewWaiv);
FIELD_SET(*this, FIX::SharedCommission);
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::NoMiscFees);
class NoMiscFees: public FIX::Group
{
public:
NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
FIELD_SET(*this, FIX::MiscFeeAmt);
FIELD_SET(*this, FIX::MiscFeeCurr);
FIELD_SET(*this, FIX::MiscFeeType);
FIELD_SET(*this, FIX::MiscFeeBasis);
};
};
}
#endif
@@ -0,0 +1,44 @@
#ifndef FIX44_CONFIRMATIONACK_H
#define FIX44_CONFIRMATIONACK_H
#include "Message.h"
namespace FIX44
{
class ConfirmationAck : public Message
{
public:
ConfirmationAck() : Message(MsgType()) {}
ConfirmationAck(const FIX::Message& m) : Message(m) {}
ConfirmationAck(const Message& m) : Message(m) {}
ConfirmationAck(const ConfirmationAck& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AU"); }
ConfirmationAck(
const FIX::ConfirmID& aConfirmID,
const FIX::TradeDate& aTradeDate,
const FIX::TransactTime& aTransactTime,
const FIX::AffirmStatus& aAffirmStatus )
: Message(MsgType())
{
set(aConfirmID);
set(aTradeDate);
set(aTransactTime);
set(aAffirmStatus);
}
FIELD_SET(*this, FIX::ConfirmID);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::AffirmStatus);
FIELD_SET(*this, FIX::ConfirmRejReason);
FIELD_SET(*this, FIX::MatchStatus);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,76 @@
#ifndef FIX44_CONFIRMATIONREQUEST_H
#define FIX44_CONFIRMATIONREQUEST_H
#include "Message.h"
namespace FIX44
{
class ConfirmationRequest : public Message
{
public:
ConfirmationRequest() : Message(MsgType()) {}
ConfirmationRequest(const FIX::Message& m) : Message(m) {}
ConfirmationRequest(const Message& m) : Message(m) {}
ConfirmationRequest(const ConfirmationRequest& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("BH"); }
ConfirmationRequest(
const FIX::ConfirmReqID& aConfirmReqID,
const FIX::ConfirmType& aConfirmType,
const FIX::TransactTime& aTransactTime )
: Message(MsgType())
{
set(aConfirmReqID);
set(aConfirmType);
set(aTransactTime);
}
FIELD_SET(*this, FIX::ConfirmReqID);
FIELD_SET(*this, FIX::ConfirmType);
FIELD_SET(*this, FIX::NoOrders);
class NoOrders: public FIX::Group
{
public:
NoOrders() : FIX::Group(73,11,FIX::message_order(11,37,198,526,66,756,38,799,800,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::NoNested2PartyIDs);
class NoNested2PartyIDs: public FIX::Group
{
public:
NoNested2PartyIDs() : FIX::Group(756,757,FIX::message_order(757,758,759,806,0)) {}
FIELD_SET(*this, FIX::Nested2PartyID);
FIELD_SET(*this, FIX::Nested2PartyIDSource);
FIELD_SET(*this, FIX::Nested2PartyRole);
FIELD_SET(*this, FIX::NoNested2PartySubIDs);
class NoNested2PartySubIDs: public FIX::Group
{
public:
NoNested2PartySubIDs() : FIX::Group(806,760,FIX::message_order(760,807,0)) {}
FIELD_SET(*this, FIX::Nested2PartySubID);
FIELD_SET(*this, FIX::Nested2PartySubIDType);
};
};
FIELD_SET(*this, FIX::OrderQty);
FIELD_SET(*this, FIX::OrderAvgPx);
FIELD_SET(*this, FIX::OrderBookingQty);
};
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::SecondaryAllocID);
FIELD_SET(*this, FIX::IndividualAllocID);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocAccountType);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,347 @@
#ifndef FIX44_CROSSORDERCANCELREPLACEREQUEST_H
#define FIX44_CROSSORDERCANCELREPLACEREQUEST_H
#include "Message.h"
namespace FIX44
{
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::TransactTime& aTransactTime,
const FIX::OrdType& aOrdType )
: Message(MsgType())
{
set(aCrossID);
set(aOrigCrossID);
set(aCrossType);
set(aCrossPrioritization);
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::NoSides);
class NoSides: public FIX::Group
{
public:
NoSides() : FIX::Group(552,54,FIX::message_order(54,11,526,583,453,229,75,1,660,581,589,590,591,70,78,854,38,152,516,468,469,12,13,479,497,528,529,582,121,120,775,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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::TradeOriginationDate);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::DayBookingInst);
FIELD_SET(*this, FIX::BookingUnit);
FIELD_SET(*this, FIX::PreallocMethod);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,539,80,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocSettlCurrency);
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::AllocQty);
};
FIELD_SET(*this, FIX::QtyType);
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::BookingType);
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::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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
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::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::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::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
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::PegOffsetValue);
FIELD_SET(*this, FIX::PegMoveType);
FIELD_SET(*this, FIX::PegOffsetType);
FIELD_SET(*this, FIX::PegLimitType);
FIELD_SET(*this, FIX::PegRoundDirection);
FIELD_SET(*this, FIX::PegScope);
FIELD_SET(*this, FIX::DiscretionInst);
FIELD_SET(*this, FIX::DiscretionOffsetValue);
FIELD_SET(*this, FIX::DiscretionMoveType);
FIELD_SET(*this, FIX::DiscretionOffsetType);
FIELD_SET(*this, FIX::DiscretionLimitType);
FIELD_SET(*this, FIX::DiscretionRoundDirection);
FIELD_SET(*this, FIX::DiscretionScope);
FIELD_SET(*this, FIX::TargetStrategy);
FIELD_SET(*this, FIX::TargetStrategyParameters);
FIELD_SET(*this, FIX::ParticipationRate);
FIELD_SET(*this, FIX::CancellationRights);
FIELD_SET(*this, FIX::MoneyLaunderingStatus);
FIELD_SET(*this, FIX::RegistID);
FIELD_SET(*this, FIX::Designation);
};
}
#endif
@@ -0,0 +1,222 @@
#ifndef FIX44_CROSSORDERCANCELREQUEST_H
#define FIX44_CROSSORDERCANCELREQUEST_H
#include "Message.h"
namespace FIX44
{
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::NoSides);
class NoSides: public FIX::Group
{
public:
NoSides() : FIX::Group(552,54,FIX::message_order(54,41,11,526,583,586,453,229,75,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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::TradeOriginationDate);
FIELD_SET(*this, FIX::TradeDate);
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);
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::TransactTime);
};
}
#endif
@@ -0,0 +1,186 @@
#ifndef FIX44_DERIVATIVESECURITYLIST_H
#define FIX44_DERIVATIVESECURITYLIST_H
#include "Message.h"
namespace FIX44
{
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
FIELD_SET(*this, FIX::TotNoRelatedSym);
FIELD_SET(*this, FIX::LastFragment);
FIELD_SET(*this, FIX::NoRelatedSym);
class NoRelatedSym: public FIX::Group
{
public:
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,15,827,668,869,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::ExpirationCycle);
FIELD_SET(*this, FIX::DeliveryForm);
FIELD_SET(*this, FIX::PctAtRisk);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
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,86 @@
#ifndef FIX44_DERIVATIVESECURITYLISTREQUEST_H
#define FIX44_DERIVATIVESECURITYLISTREQUEST_H
#include "Message.h"
namespace FIX44
{
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
FIELD_SET(*this, FIX::SecuritySubType);
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,189 @@
#ifndef FIX44_DONTKNOWTRADE_H
#define FIX44_DONTKNOWTRADE_H
#include "Message.h"
namespace FIX44
{
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::SecondaryOrderID);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
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
+205
View File
@@ -0,0 +1,205 @@
#ifndef FIX44_EMAIL_H
#define FIX44_EMAIL_H
#include "Message.h"
namespace FIX44
{
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::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,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::OrderID);
FIELD_SET(*this, FIX::ClOrdID);
FIELD_SET(*this, FIX::NoLinesOfText);
class NoLinesOfText: public FIX::Group
{
public:
NoLinesOfText() : 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);
};
FIELD_SET(*this, FIX::RawDataLength);
FIELD_SET(*this, FIX::RawData);
};
}
#endif
@@ -0,0 +1,439 @@
#ifndef FIX44_EXECUTIONREPORT_H
#define FIX44_EXECUTIONREPORT_H
#include "Message.h"
namespace FIX44
{
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::QuoteRespID);
FIELD_SET(*this, FIX::OrdStatusReqID);
FIELD_SET(*this, FIX::MassStatusReqID);
FIELD_SET(*this, FIX::TotNumReports);
FIELD_SET(*this, FIX::LastRptRequested);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::TradeOriginationDate);
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::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::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::DayBookingInst);
FIELD_SET(*this, FIX::BookingUnit);
FIELD_SET(*this, FIX::PreallocMethod);
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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::QtyType);
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::PegOffsetValue);
FIELD_SET(*this, FIX::PegMoveType);
FIELD_SET(*this, FIX::PegOffsetType);
FIELD_SET(*this, FIX::PegLimitType);
FIELD_SET(*this, FIX::PegRoundDirection);
FIELD_SET(*this, FIX::PegScope);
FIELD_SET(*this, FIX::DiscretionInst);
FIELD_SET(*this, FIX::DiscretionOffsetValue);
FIELD_SET(*this, FIX::DiscretionMoveType);
FIELD_SET(*this, FIX::DiscretionOffsetType);
FIELD_SET(*this, FIX::DiscretionLimitType);
FIELD_SET(*this, FIX::DiscretionRoundDirection);
FIELD_SET(*this, FIX::DiscretionScope);
FIELD_SET(*this, FIX::PeggedPrice);
FIELD_SET(*this, FIX::DiscretionPrice);
FIELD_SET(*this, FIX::TargetStrategy);
FIELD_SET(*this, FIX::TargetStrategyParameters);
FIELD_SET(*this, FIX::ParticipationRate);
FIELD_SET(*this, FIX::TargetStrategyPerformance);
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::LastQty);
FIELD_SET(*this, FIX::UnderlyingLastQty);
FIELD_SET(*this, FIX::LastPx);
FIELD_SET(*this, FIX::UnderlyingLastPx);
FIELD_SET(*this, FIX::LastParPx);
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::TimeBracket);
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::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
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::InterestAtMaturity);
FIELD_SET(*this, FIX::EndAccruedInterestAmt);
FIELD_SET(*this, FIX::StartCash);
FIELD_SET(*this, FIX::EndCash);
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::BookingType);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
FIELD_SET(*this, FIX::SettlDate2);
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::LastLiquidityInd);
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,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,687,690,683,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegQty);
FIELD_SET(*this, FIX::LegSwapType);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::LegRefID);
FIELD_SET(*this, FIX::LegPrice);
FIELD_SET(*this, FIX::LegSettlType);
FIELD_SET(*this, FIX::LegSettlDate);
FIELD_SET(*this, FIX::LegLastPx);
};
FIELD_SET(*this, FIX::CopyMsgIndicator);
FIELD_SET(*this, FIX::NoMiscFees);
class NoMiscFees: public FIX::Group
{
public:
NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
FIELD_SET(*this, FIX::MiscFeeAmt);
FIELD_SET(*this, FIX::MiscFeeCurr);
FIELD_SET(*this, FIX::MiscFeeType);
FIELD_SET(*this, FIX::MiscFeeBasis);
};
};
}
#endif
+23
View File
@@ -0,0 +1,23 @@
#ifndef FIX44_HEARTBEAT_H
#define FIX44_HEARTBEAT_H
#include "Message.h"
namespace FIX44
{
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
+251
View File
@@ -0,0 +1,251 @@
#ifndef FIX44_IOI_H
#define FIX44_IOI_H
#include "Message.h"
namespace FIX44
{
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::Side);
FIELD_SET(*this, FIX::QtyType);
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::IOIQty);
FIELD_SET(*this, FIX::Currency);
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::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,682,683,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegIOIQty);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
};
FIELD_SET(*this, FIX::PriceType);
FIELD_SET(*this, FIX::Price);
FIELD_SET(*this, FIX::ValidUntilTime);
FIELD_SET(*this, FIX::IOIQltyInd);
FIELD_SET(*this, FIX::IOINaturalFlag);
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::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::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::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
};
}
#endif
@@ -0,0 +1,38 @@
#ifndef FIX44_LISTCANCELREQUEST_H
#define FIX44_LISTCANCELREQUEST_H
#include "Message.h"
namespace FIX44
{
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::TradeDate);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,38 @@
#ifndef FIX44_LISTEXECUTE_H
#define FIX44_LISTEXECUTE_H
#include "Message.h"
namespace FIX44
{
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
+68
View File
@@ -0,0 +1,68 @@
#ifndef FIX44_LISTSTATUS_H
#define FIX44_LISTSTATUS_H
#include "Message.h"
namespace FIX44
{
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::LastFragment);
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 FIX44_LISTSTATUSREQUEST_H
#define FIX44_LISTSTATUSREQUEST_H
#include "Message.h"
namespace FIX44
{
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,141 @@
#ifndef FIX44_LISTSTRIKEPRICE_H
#define FIX44_LISTSTRIKEPRICE_H
#include "Message.h"
namespace FIX44
{
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::LastFragment);
FIELD_SET(*this, FIX::NoStrikes);
class NoStrikes: public FIX::Group
{
public:
NoStrikes() : FIX::Group(428,55,FIX::message_order(55,65,48,22,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,140,11,526,54,44,15,58,354,355,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
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
+49
View File
@@ -0,0 +1,49 @@
#ifndef FIX44_LOGON_H
#define FIX44_LOGON_H
#include "Message.h"
namespace FIX44
{
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::NextExpectedMsgSeqNum);
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
+25
View File
@@ -0,0 +1,25 @@
#ifndef FIX44_LOGOUT_H
#define FIX44_LOGOUT_H
#include "Message.h"
namespace FIX44
{
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,210 @@
#ifndef FIX44_MARKETDATAINCREMENTALREFRESH_H
#define FIX44_MARKETDATAINCREMENTALREFRESH_H
#include "Message.h"
namespace FIX44
{
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,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,711,555,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,811,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
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::OpenCloseSettlFlag);
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::PriceDelta);
FIELD_SET(*this, FIX::NetChgPrevDay);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
FIELD_SET(*this, FIX::ApplQueueDepth);
FIELD_SET(*this, FIX::ApplQueueResolution);
};
}
#endif
@@ -0,0 +1,203 @@
#ifndef FIX44_MARKETDATAREQUEST_H
#define FIX44_MARKETDATAREQUEST_H
#include "Message.h"
namespace FIX44
{
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::OpenCloseSettlFlag);
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,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,711,555,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
};
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::ApplQueueAction);
FIELD_SET(*this, FIX::ApplQueueMax);
};
}
#endif
@@ -0,0 +1,41 @@
#ifndef FIX44_MARKETDATAREQUESTREJECT_H
#define FIX44_MARKETDATAREQUESTREJECT_H
#include "Message.h"
namespace FIX44
{
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::NoAltMDSource);
class NoAltMDSource: public FIX::Group
{
public:
NoAltMDSource() : FIX::Group(816,817,FIX::message_order(817,0)) {}
FIELD_SET(*this, FIX::AltMDSourceID);
};
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,206 @@
#ifndef FIX44_MARKETDATASNAPSHOTFULLREFRESH_H
#define FIX44_MARKETDATASNAPSHOTFULLREFRESH_H
#include "Message.h"
namespace FIX44
{
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::FinancialStatus);
FIELD_SET(*this, FIX::CorporateAction);
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,811,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::OpenCloseSettlFlag);
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::PriceDelta);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
FIELD_SET(*this, FIX::ApplQueueDepth);
FIELD_SET(*this, FIX::ApplQueueResolution);
};
}
#endif
+228
View File
@@ -0,0 +1,228 @@
#ifndef FIX44_MASSQUOTE_H
#define FIX44_MASSQUOTE_H
#include "Message.h"
namespace FIX44
{
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
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,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,367,304,893,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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
FIELD_SET(*this, FIX::QuoteSetValidUntilTime);
FIELD_SET(*this, FIX::TotNoQuoteEntries);
FIELD_SET(*this, FIX::LastFragment);
FIELD_SET(*this, FIX::NoQuoteEntries);
class NoQuoteEntries: public FIX::Group
{
public:
NoQuoteEntries() : FIX::Group(295,299,FIX::message_order(299,55,65,48,22,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,555,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
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::SettlDate);
FIELD_SET(*this, FIX::OrdType);
FIELD_SET(*this, FIX::SettlDate2);
FIELD_SET(*this, FIX::OrderQty2);
FIELD_SET(*this, FIX::BidForwardPoints2);
FIELD_SET(*this, FIX::OfferForwardPoints2);
FIELD_SET(*this, FIX::Currency);
};
};
};
}
#endif
@@ -0,0 +1,231 @@
#ifndef FIX44_MASSQUOTEACKNOWLEDGEMENT_H
#define FIX44_MASSQUOTEACKNOWLEDGEMENT_H
#include "Message.h"
namespace FIX44
{
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
FIELD_SET(*this, FIX::NoQuoteSets);
class NoQuoteSets: public FIX::Group
{
public:
NoQuoteSets() : FIX::Group(296,302,FIX::message_order(302,311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,304,893,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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
FIELD_SET(*this, FIX::TotNoQuoteEntries);
FIELD_SET(*this, FIX::LastFragment);
FIELD_SET(*this, FIX::NoQuoteEntries);
class NoQuoteEntries: public FIX::Group
{
public:
NoQuoteEntries() : FIX::Group(295,299,FIX::message_order(299,55,65,48,22,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,555,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
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::SettlDate);
FIELD_SET(*this, FIX::OrdType);
FIELD_SET(*this, FIX::SettlDate2);
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
+66
View File
@@ -0,0 +1,66 @@
#ifndef FIX44_MESSAGES_H
#define FIX44_MESSAGES_H
#include "../Message.h"
#include "../Group.h"
namespace FIX44
{
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);
};
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.4"), 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,994 @@
/* -*- 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 FIX44_MESSAGECRACKER_H
#define FIX44_MESSAGECRACKER_H
#include "../SessionID.h"
#include "../Exceptions.h"
#include "../fix44/Message.h"
namespace FIX44
{
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 AllocationInstruction;
class ListCancelRequest;
class ListExecute;
class ListStatusRequest;
class ListStatus;
class AllocationInstructionAck;
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 CrossOrderCancelReplaceRequest;
class CrossOrderCancelRequest;
class SecurityTypeRequest;
class SecurityTypes;
class SecurityListRequest;
class SecurityList;
class DerivativeSecurityListRequest;
class DerivativeSecurityList;
class NewOrderMultileg;
class MultilegOrderCancelReplace;
class TradeCaptureReportRequest;
class TradeCaptureReport;
class OrderMassStatusRequest;
class QuoteRequestReject;
class RFQRequest;
class QuoteStatusReport;
class QuoteResponse;
class Confirmation;
class PositionMaintenanceRequest;
class PositionMaintenanceReport;
class RequestForPositions;
class RequestForPositionsAck;
class PositionReport;
class TradeCaptureReportRequestAck;
class TradeCaptureReportAck;
class AllocationReport;
class AllocationReportAck;
class ConfirmationAck;
class SettlementInstructionRequest;
class AssignmentReport;
class CollateralRequest;
class CollateralAssignment;
class CollateralResponse;
class CollateralReport;
class CollateralInquiry;
class NetworkCounterpartySystemStatusRequest;
class NetworkCounterpartySystemStatusResponse;
class UserRequest;
class UserResponse;
class CollateralInquiryAck;
class ConfirmationRequest;
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 AllocationInstruction&, 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 AllocationInstructionAck&, 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 CrossOrderCancelReplaceRequest&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const CrossOrderCancelRequest&, 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 MultilegOrderCancelReplace&, 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( const QuoteResponse&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const Confirmation&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const PositionMaintenanceRequest&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const PositionMaintenanceReport&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const RequestForPositions&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const RequestForPositionsAck&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const PositionReport&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const TradeCaptureReportRequestAck&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const TradeCaptureReportAck&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const AllocationReport&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const AllocationReportAck&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const ConfirmationAck&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const SettlementInstructionRequest&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const AssignmentReport&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const CollateralRequest&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const CollateralAssignment&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const CollateralResponse&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const CollateralReport&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const CollateralInquiry&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const NetworkCounterpartySystemStatusRequest&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const NetworkCounterpartySystemStatusResponse&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const UserRequest&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const UserResponse&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const CollateralInquiryAck&, const FIX::SessionID& )
{ throw FIX::UnsupportedMessageType(); }
virtual void onMessage( const ConfirmationRequest&, 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( AllocationInstruction&, 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( AllocationInstructionAck&, 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( CrossOrderCancelReplaceRequest&, const FIX::SessionID& ) {}
virtual void onMessage( CrossOrderCancelRequest&, 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( MultilegOrderCancelReplace&, 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& ) {}
virtual void onMessage( QuoteResponse&, const FIX::SessionID& ) {}
virtual void onMessage( Confirmation&, const FIX::SessionID& ) {}
virtual void onMessage( PositionMaintenanceRequest&, const FIX::SessionID& ) {}
virtual void onMessage( PositionMaintenanceReport&, const FIX::SessionID& ) {}
virtual void onMessage( RequestForPositions&, const FIX::SessionID& ) {}
virtual void onMessage( RequestForPositionsAck&, const FIX::SessionID& ) {}
virtual void onMessage( PositionReport&, const FIX::SessionID& ) {}
virtual void onMessage( TradeCaptureReportRequestAck&, const FIX::SessionID& ) {}
virtual void onMessage( TradeCaptureReportAck&, const FIX::SessionID& ) {}
virtual void onMessage( AllocationReport&, const FIX::SessionID& ) {}
virtual void onMessage( AllocationReportAck&, const FIX::SessionID& ) {}
virtual void onMessage( ConfirmationAck&, const FIX::SessionID& ) {}
virtual void onMessage( SettlementInstructionRequest&, const FIX::SessionID& ) {}
virtual void onMessage( AssignmentReport&, const FIX::SessionID& ) {}
virtual void onMessage( CollateralRequest&, const FIX::SessionID& ) {}
virtual void onMessage( CollateralAssignment&, const FIX::SessionID& ) {}
virtual void onMessage( CollateralResponse&, const FIX::SessionID& ) {}
virtual void onMessage( CollateralReport&, const FIX::SessionID& ) {}
virtual void onMessage( CollateralInquiry&, const FIX::SessionID& ) {}
virtual void onMessage( NetworkCounterpartySystemStatusRequest&, const FIX::SessionID& ) {}
virtual void onMessage( NetworkCounterpartySystemStatusResponse&, const FIX::SessionID& ) {}
virtual void onMessage( UserRequest&, const FIX::SessionID& ) {}
virtual void onMessage( UserResponse&, const FIX::SessionID& ) {}
virtual void onMessage( CollateralInquiryAck&, const FIX::SessionID& ) {}
virtual void onMessage( ConfirmationRequest&, 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 AllocationInstruction&)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 AllocationInstructionAck&)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 == "t" )
onMessage( (const CrossOrderCancelReplaceRequest&)message, sessionID );
else
if( msgTypeValue == "u" )
onMessage( (const CrossOrderCancelRequest&)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 MultilegOrderCancelReplace&)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
if( msgTypeValue == "AJ" )
onMessage( (const QuoteResponse&)message, sessionID );
else
if( msgTypeValue == "AK" )
onMessage( (const Confirmation&)message, sessionID );
else
if( msgTypeValue == "AL" )
onMessage( (const PositionMaintenanceRequest&)message, sessionID );
else
if( msgTypeValue == "AM" )
onMessage( (const PositionMaintenanceReport&)message, sessionID );
else
if( msgTypeValue == "AN" )
onMessage( (const RequestForPositions&)message, sessionID );
else
if( msgTypeValue == "AO" )
onMessage( (const RequestForPositionsAck&)message, sessionID );
else
if( msgTypeValue == "AP" )
onMessage( (const PositionReport&)message, sessionID );
else
if( msgTypeValue == "AQ" )
onMessage( (const TradeCaptureReportRequestAck&)message, sessionID );
else
if( msgTypeValue == "AR" )
onMessage( (const TradeCaptureReportAck&)message, sessionID );
else
if( msgTypeValue == "AS" )
onMessage( (const AllocationReport&)message, sessionID );
else
if( msgTypeValue == "AT" )
onMessage( (const AllocationReportAck&)message, sessionID );
else
if( msgTypeValue == "AU" )
onMessage( (const ConfirmationAck&)message, sessionID );
else
if( msgTypeValue == "AV" )
onMessage( (const SettlementInstructionRequest&)message, sessionID );
else
if( msgTypeValue == "AW" )
onMessage( (const AssignmentReport&)message, sessionID );
else
if( msgTypeValue == "AX" )
onMessage( (const CollateralRequest&)message, sessionID );
else
if( msgTypeValue == "AY" )
onMessage( (const CollateralAssignment&)message, sessionID );
else
if( msgTypeValue == "AZ" )
onMessage( (const CollateralResponse&)message, sessionID );
else
if( msgTypeValue == "BA" )
onMessage( (const CollateralReport&)message, sessionID );
else
if( msgTypeValue == "BB" )
onMessage( (const CollateralInquiry&)message, sessionID );
else
if( msgTypeValue == "BC" )
onMessage( (const NetworkCounterpartySystemStatusRequest&)message, sessionID );
else
if( msgTypeValue == "BD" )
onMessage( (const NetworkCounterpartySystemStatusResponse&)message, sessionID );
else
if( msgTypeValue == "BE" )
onMessage( (const UserRequest&)message, sessionID );
else
if( msgTypeValue == "BF" )
onMessage( (const UserResponse&)message, sessionID );
else
if( msgTypeValue == "BG" )
onMessage( (const CollateralInquiryAck&)message, sessionID );
else
if( msgTypeValue == "BH" )
onMessage( (const ConfirmationRequest&)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( (AllocationInstruction&)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( (AllocationInstructionAck&)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 == "t" )
onMessage( (CrossOrderCancelReplaceRequest&)message, sessionID );
else
if( msgTypeValue == "u" )
onMessage( (CrossOrderCancelRequest&)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( (MultilegOrderCancelReplace&)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
if( msgTypeValue == "AJ" )
onMessage( (QuoteResponse&)message, sessionID );
else
if( msgTypeValue == "AK" )
onMessage( (Confirmation&)message, sessionID );
else
if( msgTypeValue == "AL" )
onMessage( (PositionMaintenanceRequest&)message, sessionID );
else
if( msgTypeValue == "AM" )
onMessage( (PositionMaintenanceReport&)message, sessionID );
else
if( msgTypeValue == "AN" )
onMessage( (RequestForPositions&)message, sessionID );
else
if( msgTypeValue == "AO" )
onMessage( (RequestForPositionsAck&)message, sessionID );
else
if( msgTypeValue == "AP" )
onMessage( (PositionReport&)message, sessionID );
else
if( msgTypeValue == "AQ" )
onMessage( (TradeCaptureReportRequestAck&)message, sessionID );
else
if( msgTypeValue == "AR" )
onMessage( (TradeCaptureReportAck&)message, sessionID );
else
if( msgTypeValue == "AS" )
onMessage( (AllocationReport&)message, sessionID );
else
if( msgTypeValue == "AT" )
onMessage( (AllocationReportAck&)message, sessionID );
else
if( msgTypeValue == "AU" )
onMessage( (ConfirmationAck&)message, sessionID );
else
if( msgTypeValue == "AV" )
onMessage( (SettlementInstructionRequest&)message, sessionID );
else
if( msgTypeValue == "AW" )
onMessage( (AssignmentReport&)message, sessionID );
else
if( msgTypeValue == "AX" )
onMessage( (CollateralRequest&)message, sessionID );
else
if( msgTypeValue == "AY" )
onMessage( (CollateralAssignment&)message, sessionID );
else
if( msgTypeValue == "AZ" )
onMessage( (CollateralResponse&)message, sessionID );
else
if( msgTypeValue == "BA" )
onMessage( (CollateralReport&)message, sessionID );
else
if( msgTypeValue == "BB" )
onMessage( (CollateralInquiry&)message, sessionID );
else
if( msgTypeValue == "BC" )
onMessage( (NetworkCounterpartySystemStatusRequest&)message, sessionID );
else
if( msgTypeValue == "BD" )
onMessage( (NetworkCounterpartySystemStatusResponse&)message, sessionID );
else
if( msgTypeValue == "BE" )
onMessage( (UserRequest&)message, sessionID );
else
if( msgTypeValue == "BF" )
onMessage( (UserResponse&)message, sessionID );
else
if( msgTypeValue == "BG" )
onMessage( (CollateralInquiryAck&)message, sessionID );
else
if( msgTypeValue == "BH" )
onMessage( (ConfirmationRequest&)message, sessionID );
else onMessage( message, sessionID );
}
};
}
#endif
@@ -0,0 +1,376 @@
#ifndef FIX44_MULTILEGORDERCANCELREPLACE_H
#define FIX44_MULTILEGORDERCANCELREPLACE_H
#include "Message.h"
namespace FIX44
{
class MultilegOrderCancelReplace : public Message
{
public:
MultilegOrderCancelReplace() : Message(MsgType()) {}
MultilegOrderCancelReplace(const FIX::Message& m) : Message(m) {}
MultilegOrderCancelReplace(const Message& m) : Message(m) {}
MultilegOrderCancelReplace(const MultilegOrderCancelReplace& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AC"); }
MultilegOrderCancelReplace(
const FIX::OrigClOrdID& aOrigClOrdID,
const FIX::ClOrdID& aClOrdID,
const FIX::Side& aSide,
const FIX::TransactTime& aTransactTime,
const FIX::OrdType& aOrdType )
: Message(MsgType())
{
set(aOrigClOrdID);
set(aClOrdID);
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::TradeOriginationDate);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::DayBookingInst);
FIELD_SET(*this, FIX::BookingUnit);
FIELD_SET(*this, FIX::PreallocMethod);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,948,80,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocSettlCurrency);
FIELD_SET(*this, FIX::IndividualAllocID);
FIELD_SET(*this, FIX::NoNested3PartyIDs);
class NoNested3PartyIDs: public FIX::Group
{
public:
NoNested3PartyIDs() : FIX::Group(948,949,FIX::message_order(949,950,951,952,0)) {}
FIELD_SET(*this, FIX::Nested3PartyID);
FIELD_SET(*this, FIX::Nested3PartyIDSource);
FIELD_SET(*this, FIX::Nested3PartyRole);
FIELD_SET(*this, FIX::NoNested3PartySubIDs);
class NoNested3PartySubIDs: public FIX::Group
{
public:
NoNested3PartySubIDs() : FIX::Group(952,953,FIX::message_order(953,954,0)) {}
FIELD_SET(*this, FIX::Nested3PartySubID);
FIELD_SET(*this, FIX::Nested3PartySubIDType);
};
};
FIELD_SET(*this, FIX::AllocQty);
};
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
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::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::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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::PrevClosePx);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,687,690,683,670,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegQty);
FIELD_SET(*this, FIX::LegSwapType);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
FIELD_SET(*this, FIX::NoLegAllocs);
class NoLegAllocs: public FIX::Group
{
public:
NoLegAllocs() : FIX::Group(670,671,FIX::message_order(671,672,756,673,674,675,0)) {}
FIELD_SET(*this, FIX::LegAllocAccount);
FIELD_SET(*this, FIX::LegIndividualAllocID);
FIELD_SET(*this, FIX::NoNested2PartyIDs);
class NoNested2PartyIDs: public FIX::Group
{
public:
NoNested2PartyIDs() : FIX::Group(756,757,FIX::message_order(757,758,759,806,0)) {}
FIELD_SET(*this, FIX::Nested2PartyID);
FIELD_SET(*this, FIX::Nested2PartyIDSource);
FIELD_SET(*this, FIX::Nested2PartyRole);
FIELD_SET(*this, FIX::NoNested2PartySubIDs);
class NoNested2PartySubIDs: public FIX::Group
{
public:
NoNested2PartySubIDs() : FIX::Group(806,760,FIX::message_order(760,807,0)) {}
FIELD_SET(*this, FIX::Nested2PartySubID);
FIELD_SET(*this, FIX::Nested2PartySubIDType);
};
};
FIELD_SET(*this, FIX::LegAllocQty);
FIELD_SET(*this, FIX::LegAllocAcctIDSource);
FIELD_SET(*this, FIX::LegSettlCurrency);
};
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::LegRefID);
FIELD_SET(*this, FIX::LegPrice);
FIELD_SET(*this, FIX::LegSettlType);
FIELD_SET(*this, FIX::LegSettlDate);
};
FIELD_SET(*this, FIX::LocateReqd);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::QtyType);
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::BookingType);
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::PegOffsetValue);
FIELD_SET(*this, FIX::PegMoveType);
FIELD_SET(*this, FIX::PegOffsetType);
FIELD_SET(*this, FIX::PegLimitType);
FIELD_SET(*this, FIX::PegRoundDirection);
FIELD_SET(*this, FIX::PegScope);
FIELD_SET(*this, FIX::DiscretionInst);
FIELD_SET(*this, FIX::DiscretionOffsetValue);
FIELD_SET(*this, FIX::DiscretionMoveType);
FIELD_SET(*this, FIX::DiscretionOffsetType);
FIELD_SET(*this, FIX::DiscretionLimitType);
FIELD_SET(*this, FIX::DiscretionRoundDirection);
FIELD_SET(*this, FIX::DiscretionScope);
FIELD_SET(*this, FIX::TargetStrategy);
FIELD_SET(*this, FIX::TargetStrategyParameters);
FIELD_SET(*this, FIX::ParticipationRate);
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);
};
}
#endif
@@ -0,0 +1,43 @@
#ifndef FIX44_NETWORKCOUNTERPARTYSYSTEMSTATUSREQUEST_H
#define FIX44_NETWORKCOUNTERPARTYSYSTEMSTATUSREQUEST_H
#include "Message.h"
namespace FIX44
{
class NetworkCounterpartySystemStatusRequest : public Message
{
public:
NetworkCounterpartySystemStatusRequest() : Message(MsgType()) {}
NetworkCounterpartySystemStatusRequest(const FIX::Message& m) : Message(m) {}
NetworkCounterpartySystemStatusRequest(const Message& m) : Message(m) {}
NetworkCounterpartySystemStatusRequest(const NetworkCounterpartySystemStatusRequest& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("BC"); }
NetworkCounterpartySystemStatusRequest(
const FIX::NetworkRequestType& aNetworkRequestType,
const FIX::NetworkRequestID& aNetworkRequestID )
: Message(MsgType())
{
set(aNetworkRequestType);
set(aNetworkRequestID);
}
FIELD_SET(*this, FIX::NetworkRequestType);
FIELD_SET(*this, FIX::NetworkRequestID);
FIELD_SET(*this, FIX::NoCompIDs);
class NoCompIDs: public FIX::Group
{
public:
NoCompIDs() : FIX::Group(936,930,FIX::message_order(930,931,283,284,0)) {}
FIELD_SET(*this, FIX::RefCompID);
FIELD_SET(*this, FIX::RefSubID);
FIELD_SET(*this, FIX::LocationID);
FIELD_SET(*this, FIX::DeskID);
};
};
}
#endif
@@ -0,0 +1,47 @@
#ifndef FIX44_NETWORKCOUNTERPARTYSYSTEMSTATUSRESPONSE_H
#define FIX44_NETWORKCOUNTERPARTYSYSTEMSTATUSRESPONSE_H
#include "Message.h"
namespace FIX44
{
class NetworkCounterpartySystemStatusResponse : public Message
{
public:
NetworkCounterpartySystemStatusResponse() : Message(MsgType()) {}
NetworkCounterpartySystemStatusResponse(const FIX::Message& m) : Message(m) {}
NetworkCounterpartySystemStatusResponse(const Message& m) : Message(m) {}
NetworkCounterpartySystemStatusResponse(const NetworkCounterpartySystemStatusResponse& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("BD"); }
NetworkCounterpartySystemStatusResponse(
const FIX::NetworkStatusResponseType& aNetworkStatusResponseType,
const FIX::NetworkResponseID& aNetworkResponseID )
: Message(MsgType())
{
set(aNetworkStatusResponseType);
set(aNetworkResponseID);
}
FIELD_SET(*this, FIX::NetworkStatusResponseType);
FIELD_SET(*this, FIX::NetworkRequestID);
FIELD_SET(*this, FIX::NetworkResponseID);
FIELD_SET(*this, FIX::LastNetworkResponseID);
FIELD_SET(*this, FIX::NoCompIDs);
class NoCompIDs: public FIX::Group
{
public:
NoCompIDs() : FIX::Group(936,930,FIX::message_order(930,931,283,284,928,929,0)) {}
FIELD_SET(*this, FIX::RefCompID);
FIELD_SET(*this, FIX::RefSubID);
FIELD_SET(*this, FIX::LocationID);
FIELD_SET(*this, FIX::DeskID);
FIELD_SET(*this, FIX::StatusValue);
FIELD_SET(*this, FIX::StatusText);
};
};
}
#endif
@@ -0,0 +1,343 @@
#ifndef FIX44_NEWORDERCROSS_H
#define FIX44_NEWORDERCROSS_H
#include "Message.h"
namespace FIX44
{
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::TransactTime& aTransactTime,
const FIX::OrdType& aOrdType )
: Message(MsgType())
{
set(aCrossID);
set(aCrossType);
set(aCrossPrioritization);
set(aTransactTime);
set(aOrdType);
}
FIELD_SET(*this, FIX::CrossID);
FIELD_SET(*this, FIX::CrossType);
FIELD_SET(*this, FIX::CrossPrioritization);
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,75,1,660,581,589,590,591,70,78,854,38,152,516,468,469,12,13,479,497,528,529,582,121,120,775,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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::TradeOriginationDate);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::DayBookingInst);
FIELD_SET(*this, FIX::BookingUnit);
FIELD_SET(*this, FIX::PreallocMethod);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,539,80,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocSettlCurrency);
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::AllocQty);
};
FIELD_SET(*this, FIX::QtyType);
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::BookingType);
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::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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
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::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::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::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
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::PegOffsetValue);
FIELD_SET(*this, FIX::PegMoveType);
FIELD_SET(*this, FIX::PegOffsetType);
FIELD_SET(*this, FIX::PegLimitType);
FIELD_SET(*this, FIX::PegRoundDirection);
FIELD_SET(*this, FIX::PegScope);
FIELD_SET(*this, FIX::DiscretionInst);
FIELD_SET(*this, FIX::DiscretionOffsetValue);
FIELD_SET(*this, FIX::DiscretionMoveType);
FIELD_SET(*this, FIX::DiscretionOffsetType);
FIELD_SET(*this, FIX::DiscretionLimitType);
FIELD_SET(*this, FIX::DiscretionRoundDirection);
FIELD_SET(*this, FIX::DiscretionScope);
FIELD_SET(*this, FIX::TargetStrategy);
FIELD_SET(*this, FIX::TargetStrategyParameters);
FIELD_SET(*this, FIX::ParticipationRate);
FIELD_SET(*this, FIX::CancellationRights);
FIELD_SET(*this, FIX::MoneyLaunderingStatus);
FIELD_SET(*this, FIX::RegistID);
FIELD_SET(*this, FIX::Designation);
};
}
#endif
+309
View File
@@ -0,0 +1,309 @@
#ifndef FIX44_NEWORDERLIST_H
#define FIX44_NEWORDERLIST_H
#include "Message.h"
namespace FIX44
{
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::AllowableOneSidednessPct);
FIELD_SET(*this, FIX::AllowableOneSidednessValue);
FIELD_SET(*this, FIX::AllowableOneSidednessCurr);
FIELD_SET(*this, FIX::TotNoOrders);
FIELD_SET(*this, FIX::LastFragment);
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,75,1,660,581,589,590,70,591,78,63,64,544,635,21,18,110,111,100,386,81,55,65,48,22,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,711,140,54,401,114,60,232,854,38,152,516,468,469,40,423,44,99,218,220,221,222,662,663,699,761,235,236,701,696,697,698,15,376,377,23,117,59,168,432,126,427,12,13,479,497,528,529,582,121,120,775,58,354,355,193,192,640,77,203,210,211,835,836,837,838,840,388,389,841,842,843,844,846,847,848,849,494,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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::TradeOriginationDate);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::DayBookingInst);
FIELD_SET(*this, FIX::BookingUnit);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::PreallocMethod);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,539,80,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocSettlCurrency);
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::AllocQty);
};
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
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::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::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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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::QtyType);
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::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
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::BookingType);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
FIELD_SET(*this, FIX::SettlDate2);
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::PegOffsetValue);
FIELD_SET(*this, FIX::PegMoveType);
FIELD_SET(*this, FIX::PegOffsetType);
FIELD_SET(*this, FIX::PegLimitType);
FIELD_SET(*this, FIX::PegRoundDirection);
FIELD_SET(*this, FIX::PegScope);
FIELD_SET(*this, FIX::DiscretionInst);
FIELD_SET(*this, FIX::DiscretionOffsetValue);
FIELD_SET(*this, FIX::DiscretionMoveType);
FIELD_SET(*this, FIX::DiscretionOffsetType);
FIELD_SET(*this, FIX::DiscretionLimitType);
FIELD_SET(*this, FIX::DiscretionRoundDirection);
FIELD_SET(*this, FIX::DiscretionScope);
FIELD_SET(*this, FIX::TargetStrategy);
FIELD_SET(*this, FIX::TargetStrategyParameters);
FIELD_SET(*this, FIX::ParticipationRate);
FIELD_SET(*this, FIX::Designation);
};
};
}
#endif
@@ -0,0 +1,371 @@
#ifndef FIX44_NEWORDERMULTILEG_H
#define FIX44_NEWORDERMULTILEG_H
#include "Message.h"
namespace FIX44
{
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::Side& aSide,
const FIX::TransactTime& aTransactTime,
const FIX::OrdType& aOrdType )
: Message(MsgType())
{
set(aClOrdID);
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::TradeOriginationDate);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::DayBookingInst);
FIELD_SET(*this, FIX::BookingUnit);
FIELD_SET(*this, FIX::PreallocMethod);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,948,80,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocSettlCurrency);
FIELD_SET(*this, FIX::IndividualAllocID);
FIELD_SET(*this, FIX::NoNested3PartyIDs);
class NoNested3PartyIDs: public FIX::Group
{
public:
NoNested3PartyIDs() : FIX::Group(948,949,FIX::message_order(949,950,951,952,0)) {}
FIELD_SET(*this, FIX::Nested3PartyID);
FIELD_SET(*this, FIX::Nested3PartyIDSource);
FIELD_SET(*this, FIX::Nested3PartyRole);
FIELD_SET(*this, FIX::NoNested3PartySubIDs);
class NoNested3PartySubIDs: public FIX::Group
{
public:
NoNested3PartySubIDs() : FIX::Group(952,953,FIX::message_order(953,954,0)) {}
FIELD_SET(*this, FIX::Nested3PartySubID);
FIELD_SET(*this, FIX::Nested3PartySubIDType);
};
};
FIELD_SET(*this, FIX::AllocQty);
};
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
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::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::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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::PrevClosePx);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,687,690,683,670,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegQty);
FIELD_SET(*this, FIX::LegSwapType);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
FIELD_SET(*this, FIX::NoLegAllocs);
class NoLegAllocs: public FIX::Group
{
public:
NoLegAllocs() : FIX::Group(670,671,FIX::message_order(671,672,756,673,674,675,0)) {}
FIELD_SET(*this, FIX::LegAllocAccount);
FIELD_SET(*this, FIX::LegIndividualAllocID);
FIELD_SET(*this, FIX::NoNested2PartyIDs);
class NoNested2PartyIDs: public FIX::Group
{
public:
NoNested2PartyIDs() : FIX::Group(756,757,FIX::message_order(757,758,759,806,0)) {}
FIELD_SET(*this, FIX::Nested2PartyID);
FIELD_SET(*this, FIX::Nested2PartyIDSource);
FIELD_SET(*this, FIX::Nested2PartyRole);
FIELD_SET(*this, FIX::NoNested2PartySubIDs);
class NoNested2PartySubIDs: public FIX::Group
{
public:
NoNested2PartySubIDs() : FIX::Group(806,760,FIX::message_order(760,807,0)) {}
FIELD_SET(*this, FIX::Nested2PartySubID);
FIELD_SET(*this, FIX::Nested2PartySubIDType);
};
};
FIELD_SET(*this, FIX::LegAllocQty);
FIELD_SET(*this, FIX::LegAllocAcctIDSource);
FIELD_SET(*this, FIX::LegSettlCurrency);
};
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::LegRefID);
FIELD_SET(*this, FIX::LegPrice);
FIELD_SET(*this, FIX::LegSettlType);
FIELD_SET(*this, FIX::LegSettlDate);
};
FIELD_SET(*this, FIX::LocateReqd);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::QtyType);
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::BookingType);
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::PegOffsetValue);
FIELD_SET(*this, FIX::PegMoveType);
FIELD_SET(*this, FIX::PegOffsetType);
FIELD_SET(*this, FIX::PegLimitType);
FIELD_SET(*this, FIX::PegRoundDirection);
FIELD_SET(*this, FIX::PegScope);
FIELD_SET(*this, FIX::DiscretionInst);
FIELD_SET(*this, FIX::DiscretionOffsetValue);
FIELD_SET(*this, FIX::DiscretionMoveType);
FIELD_SET(*this, FIX::DiscretionOffsetType);
FIELD_SET(*this, FIX::DiscretionLimitType);
FIELD_SET(*this, FIX::DiscretionRoundDirection);
FIELD_SET(*this, FIX::DiscretionScope);
FIELD_SET(*this, FIX::TargetStrategy);
FIELD_SET(*this, FIX::TargetStrategyParameters);
FIELD_SET(*this, FIX::ParticipationRate);
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);
};
}
#endif
@@ -0,0 +1,296 @@
#ifndef FIX44_NEWORDERSINGLE_H
#define FIX44_NEWORDERSINGLE_H
#include "Message.h"
namespace FIX44
{
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::Side& aSide,
const FIX::TransactTime& aTransactTime,
const FIX::OrdType& aOrdType )
: Message(MsgType())
{
set(aClOrdID);
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::TradeOriginationDate);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::DayBookingInst);
FIELD_SET(*this, FIX::BookingUnit);
FIELD_SET(*this, FIX::PreallocMethod);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,539,80,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocSettlCurrency);
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::AllocQty);
};
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
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::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::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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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::QtyType);
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::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
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::BookingType);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
FIELD_SET(*this, FIX::SettlDate2);
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::PegOffsetValue);
FIELD_SET(*this, FIX::PegMoveType);
FIELD_SET(*this, FIX::PegOffsetType);
FIELD_SET(*this, FIX::PegLimitType);
FIELD_SET(*this, FIX::PegRoundDirection);
FIELD_SET(*this, FIX::PegScope);
FIELD_SET(*this, FIX::DiscretionInst);
FIELD_SET(*this, FIX::DiscretionOffsetValue);
FIELD_SET(*this, FIX::DiscretionMoveType);
FIELD_SET(*this, FIX::DiscretionOffsetType);
FIELD_SET(*this, FIX::DiscretionLimitType);
FIELD_SET(*this, FIX::DiscretionRoundDirection);
FIELD_SET(*this, FIX::DiscretionScope);
FIELD_SET(*this, FIX::TargetStrategy);
FIELD_SET(*this, FIX::TargetStrategyParameters);
FIELD_SET(*this, FIX::ParticipationRate);
FIELD_SET(*this, FIX::CancellationRights);
FIELD_SET(*this, FIX::MoneyLaunderingStatus);
FIELD_SET(*this, FIX::RegistID);
FIELD_SET(*this, FIX::Designation);
};
}
#endif
+199
View File
@@ -0,0 +1,199 @@
#ifndef FIX44_NEWS_H
#define FIX44_NEWS_H
#include "Message.h"
namespace FIX44
{
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::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,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLinesOfText);
class NoLinesOfText: public FIX::Group
{
public:
NoLinesOfText() : 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);
};
FIELD_SET(*this, FIX::URLLink);
FIELD_SET(*this, FIX::RawDataLength);
FIELD_SET(*this, FIX::RawData);
};
}
#endif
@@ -0,0 +1,58 @@
#ifndef FIX44_ORDERCANCELREJECT_H
#define FIX44_ORDERCANCELREJECT_H
#include "Message.h"
namespace FIX44
{
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::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::TradeOriginationDate);
FIELD_SET(*this, FIX::TradeDate);
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,290 @@
#ifndef FIX44_ORDERCANCELREPLACEREQUEST_H
#define FIX44_ORDERCANCELREPLACEREQUEST_H
#include "Message.h"
namespace FIX44
{
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::Side& aSide,
const FIX::TransactTime& aTransactTime,
const FIX::OrdType& aOrdType )
: Message(MsgType())
{
set(aOrigClOrdID);
set(aClOrdID);
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::TradeOriginationDate);
FIELD_SET(*this, FIX::TradeDate);
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::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::DayBookingInst);
FIELD_SET(*this, FIX::BookingUnit);
FIELD_SET(*this, FIX::PreallocMethod);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,539,80,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocSettlCurrency);
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::AllocQty);
};
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
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::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::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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::Side);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::QtyType);
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::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
FIELD_SET(*this, FIX::PegOffsetValue);
FIELD_SET(*this, FIX::PegMoveType);
FIELD_SET(*this, FIX::PegOffsetType);
FIELD_SET(*this, FIX::PegLimitType);
FIELD_SET(*this, FIX::PegRoundDirection);
FIELD_SET(*this, FIX::PegScope);
FIELD_SET(*this, FIX::DiscretionInst);
FIELD_SET(*this, FIX::DiscretionOffsetValue);
FIELD_SET(*this, FIX::DiscretionMoveType);
FIELD_SET(*this, FIX::DiscretionOffsetType);
FIELD_SET(*this, FIX::DiscretionLimitType);
FIELD_SET(*this, FIX::DiscretionRoundDirection);
FIELD_SET(*this, FIX::DiscretionScope);
FIELD_SET(*this, FIX::TargetStrategy);
FIELD_SET(*this, FIX::TargetStrategyParameters);
FIELD_SET(*this, FIX::ParticipationRate);
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::ForexReq);
FIELD_SET(*this, FIX::SettlCurrency);
FIELD_SET(*this, FIX::BookingType);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
FIELD_SET(*this, FIX::SettlDate2);
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);
};
}
#endif
@@ -0,0 +1,174 @@
#ifndef FIX44_ORDERCANCELREQUEST_H
#define FIX44_ORDERCANCELREQUEST_H
#include "Message.h"
namespace FIX44
{
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::AcctIDSource);
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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,143 @@
#ifndef FIX44_ORDERMASSCANCELREPORT_H
#define FIX44_ORDERMASSCANCELREPORT_H
#include "Message.h"
namespace FIX44
{
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::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);
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
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,129 @@
#ifndef FIX44_ORDERMASSCANCELREQUEST_H
#define FIX44_ORDERMASSCANCELREQUEST_H
#include "Message.h"
namespace FIX44
{
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
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,141 @@
#ifndef FIX44_ORDERMASSSTATUSREQUEST_H
#define FIX44_ORDERMASSSTATUSREQUEST_H
#include "Message.h"
namespace FIX44
{
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
FIELD_SET(*this, FIX::Side);
};
}
#endif
@@ -0,0 +1,157 @@
#ifndef FIX44_ORDERSTATUSREQUEST_H
#define FIX44_ORDERSTATUSREQUEST_H
#include "Message.h"
namespace FIX44
{
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::OrdStatusReqID);
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::Side);
};
}
#endif
@@ -0,0 +1,264 @@
#ifndef FIX44_POSITIONMAINTENANCEREPORT_H
#define FIX44_POSITIONMAINTENANCEREPORT_H
#include "Message.h"
namespace FIX44
{
class PositionMaintenanceReport : public Message
{
public:
PositionMaintenanceReport() : Message(MsgType()) {}
PositionMaintenanceReport(const FIX::Message& m) : Message(m) {}
PositionMaintenanceReport(const Message& m) : Message(m) {}
PositionMaintenanceReport(const PositionMaintenanceReport& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AM"); }
PositionMaintenanceReport(
const FIX::PosMaintRptID& aPosMaintRptID,
const FIX::PosTransType& aPosTransType,
const FIX::PosMaintAction& aPosMaintAction,
const FIX::OrigPosReqRefID& aOrigPosReqRefID,
const FIX::PosMaintStatus& aPosMaintStatus,
const FIX::ClearingBusinessDate& aClearingBusinessDate,
const FIX::Account& aAccount,
const FIX::AccountType& aAccountType,
const FIX::TransactTime& aTransactTime )
: Message(MsgType())
{
set(aPosMaintRptID);
set(aPosTransType);
set(aPosMaintAction);
set(aOrigPosReqRefID);
set(aPosMaintStatus);
set(aClearingBusinessDate);
set(aAccount);
set(aAccountType);
set(aTransactTime);
}
FIELD_SET(*this, FIX::PosMaintRptID);
FIELD_SET(*this, FIX::PosTransType);
FIELD_SET(*this, FIX::PosReqID);
FIELD_SET(*this, FIX::PosMaintAction);
FIELD_SET(*this, FIX::OrigPosReqRefID);
FIELD_SET(*this, FIX::PosMaintStatus);
FIELD_SET(*this, FIX::PosMaintResult);
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::SettlSessID);
FIELD_SET(*this, FIX::SettlSessSubID);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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::TransactTime);
FIELD_SET(*this, FIX::NoPositions);
class NoPositions: public FIX::Group
{
public:
NoPositions() : FIX::Group(702,703,FIX::message_order(703,704,705,706,539,0)) {}
FIELD_SET(*this, FIX::PosType);
FIELD_SET(*this, FIX::LongQty);
FIELD_SET(*this, FIX::ShortQty);
FIELD_SET(*this, FIX::PosQtyStatus);
FIELD_SET(*this, FIX::NoNestedPartyIDs);
class NoNestedPartyIDs: public FIX::Group
{
public:
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
};
FIELD_SET(*this, FIX::NoPosAmt);
class NoPosAmt: public FIX::Group
{
public:
NoPosAmt() : FIX::Group(753,707,FIX::message_order(707,708,0)) {}
FIELD_SET(*this, FIX::PosAmtType);
FIELD_SET(*this, FIX::PosAmt);
};
FIELD_SET(*this, FIX::AdjustmentType);
FIELD_SET(*this, FIX::ThresholdAmount);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,252 @@
#ifndef FIX44_POSITIONMAINTENANCEREQUEST_H
#define FIX44_POSITIONMAINTENANCEREQUEST_H
#include "Message.h"
namespace FIX44
{
class PositionMaintenanceRequest : public Message
{
public:
PositionMaintenanceRequest() : Message(MsgType()) {}
PositionMaintenanceRequest(const FIX::Message& m) : Message(m) {}
PositionMaintenanceRequest(const Message& m) : Message(m) {}
PositionMaintenanceRequest(const PositionMaintenanceRequest& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AL"); }
PositionMaintenanceRequest(
const FIX::PosReqID& aPosReqID,
const FIX::PosTransType& aPosTransType,
const FIX::PosMaintAction& aPosMaintAction,
const FIX::ClearingBusinessDate& aClearingBusinessDate,
const FIX::Account& aAccount,
const FIX::AccountType& aAccountType,
const FIX::TransactTime& aTransactTime )
: Message(MsgType())
{
set(aPosReqID);
set(aPosTransType);
set(aPosMaintAction);
set(aClearingBusinessDate);
set(aAccount);
set(aAccountType);
set(aTransactTime);
}
FIELD_SET(*this, FIX::PosReqID);
FIELD_SET(*this, FIX::PosTransType);
FIELD_SET(*this, FIX::PosMaintAction);
FIELD_SET(*this, FIX::OrigPosReqRefID);
FIELD_SET(*this, FIX::PosMaintRptRefID);
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::SettlSessID);
FIELD_SET(*this, FIX::SettlSessSubID);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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::TransactTime);
FIELD_SET(*this, FIX::NoPositions);
class NoPositions: public FIX::Group
{
public:
NoPositions() : FIX::Group(702,703,FIX::message_order(703,704,705,706,539,0)) {}
FIELD_SET(*this, FIX::PosType);
FIELD_SET(*this, FIX::LongQty);
FIELD_SET(*this, FIX::ShortQty);
FIELD_SET(*this, FIX::PosQtyStatus);
FIELD_SET(*this, FIX::NoNestedPartyIDs);
class NoNestedPartyIDs: public FIX::Group
{
public:
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
};
FIELD_SET(*this, FIX::AdjustmentType);
FIELD_SET(*this, FIX::ContraryInstructionIndicator);
FIELD_SET(*this, FIX::PriorSpreadIndicator);
FIELD_SET(*this, FIX::ThresholdAmount);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,258 @@
#ifndef FIX44_POSITIONREPORT_H
#define FIX44_POSITIONREPORT_H
#include "Message.h"
namespace FIX44
{
class PositionReport : public Message
{
public:
PositionReport() : Message(MsgType()) {}
PositionReport(const FIX::Message& m) : Message(m) {}
PositionReport(const Message& m) : Message(m) {}
PositionReport(const PositionReport& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AP"); }
PositionReport(
const FIX::PosMaintRptID& aPosMaintRptID,
const FIX::PosReqResult& aPosReqResult,
const FIX::ClearingBusinessDate& aClearingBusinessDate,
const FIX::Account& aAccount,
const FIX::AccountType& aAccountType,
const FIX::SettlPrice& aSettlPrice,
const FIX::SettlPriceType& aSettlPriceType,
const FIX::PriorSettlPrice& aPriorSettlPrice )
: Message(MsgType())
{
set(aPosMaintRptID);
set(aPosReqResult);
set(aClearingBusinessDate);
set(aAccount);
set(aAccountType);
set(aSettlPrice);
set(aSettlPriceType);
set(aPriorSettlPrice);
}
FIELD_SET(*this, FIX::PosMaintRptID);
FIELD_SET(*this, FIX::PosReqID);
FIELD_SET(*this, FIX::PosReqType);
FIELD_SET(*this, FIX::SubscriptionRequestType);
FIELD_SET(*this, FIX::TotalNumPosReports);
FIELD_SET(*this, FIX::UnsolicitedIndicator);
FIELD_SET(*this, FIX::PosReqResult);
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::SettlSessID);
FIELD_SET(*this, FIX::SettlSessSubID);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::SettlPrice);
FIELD_SET(*this, FIX::SettlPriceType);
FIELD_SET(*this, FIX::PriorSettlPrice);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,732,733,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
FIELD_SET(*this, FIX::UnderlyingSettlPrice);
FIELD_SET(*this, FIX::UnderlyingSettlPriceType);
};
FIELD_SET(*this, FIX::NoPositions);
class NoPositions: public FIX::Group
{
public:
NoPositions() : FIX::Group(702,703,FIX::message_order(703,704,705,706,539,0)) {}
FIELD_SET(*this, FIX::PosType);
FIELD_SET(*this, FIX::LongQty);
FIELD_SET(*this, FIX::ShortQty);
FIELD_SET(*this, FIX::PosQtyStatus);
FIELD_SET(*this, FIX::NoNestedPartyIDs);
class NoNestedPartyIDs: public FIX::Group
{
public:
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
};
FIELD_SET(*this, FIX::NoPosAmt);
class NoPosAmt: public FIX::Group
{
public:
NoPosAmt() : FIX::Group(753,707,FIX::message_order(707,708,0)) {}
FIELD_SET(*this, FIX::PosAmtType);
FIELD_SET(*this, FIX::PosAmt);
};
FIELD_SET(*this, FIX::RegistStatus);
FIELD_SET(*this, FIX::DeliveryDate);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
+314
View File
@@ -0,0 +1,314 @@
#ifndef FIX44_QUOTE_H
#define FIX44_QUOTE_H
#include "Message.h"
namespace FIX44
{
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::QuoteRespID);
FIELD_SET(*this, FIX::QuoteType);
FIELD_SET(*this, FIX::NoQuoteQualifiers);
class NoQuoteQualifiers: public FIX::Group
{
public:
NoQuoteQualifiers() : FIX::Group(735,695,FIX::message_order(695,0)) {}
FIELD_SET(*this, FIX::QuoteQualifier);
};
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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::SettlType);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::SettlDate2);
FIELD_SET(*this, FIX::OrderQty2);
FIELD_SET(*this, FIX::Currency);
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::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,687,690,587,588,683,539,686,681,684,676,677,678,679,680,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegQty);
FIELD_SET(*this, FIX::LegSwapType);
FIELD_SET(*this, FIX::LegSettlType);
FIELD_SET(*this, FIX::LegSettlDate);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
FIELD_SET(*this, FIX::NoNestedPartyIDs);
class NoNestedPartyIDs: public FIX::Group
{
public:
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::LegPriceType);
FIELD_SET(*this, FIX::LegBidPx);
FIELD_SET(*this, FIX::LegOfferPx);
FIELD_SET(*this, FIX::LegBenchmarkCurveCurrency);
FIELD_SET(*this, FIX::LegBenchmarkCurveName);
FIELD_SET(*this, FIX::LegBenchmarkCurvePoint);
FIELD_SET(*this, FIX::LegBenchmarkPrice);
FIELD_SET(*this, FIX::LegBenchmarkPriceType);
};
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::OrdType);
FIELD_SET(*this, FIX::BidForwardPoints2);
FIELD_SET(*this, FIX::OfferForwardPoints2);
FIELD_SET(*this, FIX::SettlCurrBidFxRate);
FIELD_SET(*this, FIX::SettlCurrOfferFxRate);
FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
FIELD_SET(*this, FIX::CommType);
FIELD_SET(*this, FIX::Commission);
FIELD_SET(*this, FIX::CustOrderCapacity);
FIELD_SET(*this, FIX::ExDestination);
FIELD_SET(*this, FIX::OrderCapacity);
FIELD_SET(*this, FIX::PriceType);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
+211
View File
@@ -0,0 +1,211 @@
#ifndef FIX44_QUOTECANCEL_H
#define FIX44_QUOTECANCEL_H
#include "Message.h"
namespace FIX44
{
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
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,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,913,914,915,918,788,916,917,919,898,711,555,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
};
};
}
#endif
+299
View File
@@ -0,0 +1,299 @@
#ifndef FIX44_QUOTEREQUEST_H
#define FIX44_QUOTEREQUEST_H
#include "Message.h"
namespace FIX44
{
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::ClOrdID);
FIELD_SET(*this, FIX::OrderCapacity);
FIELD_SET(*this, FIX::NoRelatedSym);
class NoRelatedSym: public FIX::Group
{
public:
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,913,914,915,918,788,916,917,919,898,711,140,303,537,336,625,229,54,854,38,152,516,468,469,63,64,193,192,15,232,1,660,581,555,735,692,40,62,126,60,218,220,221,222,662,663,699,761,423,44,640,235,236,701,696,697,698,453,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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::Side);
FIELD_SET(*this, FIX::QtyType);
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::SettlType);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::SettlDate2);
FIELD_SET(*this, FIX::OrderQty2);
FIELD_SET(*this, FIX::Currency);
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::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,687,690,587,588,683,539,676,677,678,679,680,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegQty);
FIELD_SET(*this, FIX::LegSwapType);
FIELD_SET(*this, FIX::LegSettlType);
FIELD_SET(*this, FIX::LegSettlDate);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
FIELD_SET(*this, FIX::NoNestedPartyIDs);
class NoNestedPartyIDs: public FIX::Group
{
public:
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::LegBenchmarkCurveCurrency);
FIELD_SET(*this, FIX::LegBenchmarkCurveName);
FIELD_SET(*this, FIX::LegBenchmarkCurvePoint);
FIELD_SET(*this, FIX::LegBenchmarkPrice);
FIELD_SET(*this, FIX::LegBenchmarkPriceType);
};
FIELD_SET(*this, FIX::NoQuoteQualifiers);
class NoQuoteQualifiers: public FIX::Group
{
public:
NoQuoteQualifiers() : FIX::Group(735,695,FIX::message_order(695,0)) {}
FIELD_SET(*this, FIX::QuoteQualifier);
};
FIELD_SET(*this, FIX::QuotePriceType);
FIELD_SET(*this, FIX::OrdType);
FIELD_SET(*this, FIX::ValidUntilTime);
FIELD_SET(*this, FIX::ExpireTime);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
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);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
};
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,299 @@
#ifndef FIX44_QUOTEREQUESTREJECT_H
#define FIX44_QUOTEREQUESTREJECT_H
#include "Message.h"
namespace FIX44
{
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::NoRelatedSym);
class NoRelatedSym: public FIX::Group
{
public:
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,913,914,915,918,788,916,917,919,898,711,140,303,537,336,625,229,54,854,38,152,516,468,469,63,64,193,192,15,232,1,660,581,555,735,692,40,126,60,218,220,221,222,662,663,699,761,423,44,640,235,236,701,696,697,698,453,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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::Side);
FIELD_SET(*this, FIX::QtyType);
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::SettlType);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::SettlDate2);
FIELD_SET(*this, FIX::OrderQty2);
FIELD_SET(*this, FIX::Currency);
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::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,687,690,587,588,683,539,676,677,678,679,680,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegQty);
FIELD_SET(*this, FIX::LegSwapType);
FIELD_SET(*this, FIX::LegSettlType);
FIELD_SET(*this, FIX::LegSettlDate);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
FIELD_SET(*this, FIX::NoNestedPartyIDs);
class NoNestedPartyIDs: public FIX::Group
{
public:
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::LegBenchmarkCurveCurrency);
FIELD_SET(*this, FIX::LegBenchmarkCurveName);
FIELD_SET(*this, FIX::LegBenchmarkCurvePoint);
FIELD_SET(*this, FIX::LegBenchmarkPrice);
FIELD_SET(*this, FIX::LegBenchmarkPriceType);
};
FIELD_SET(*this, FIX::NoQuoteQualifiers);
class NoQuoteQualifiers: public FIX::Group
{
public:
NoQuoteQualifiers() : FIX::Group(735,695,FIX::message_order(695,0)) {}
FIELD_SET(*this, FIX::QuoteQualifier);
};
FIELD_SET(*this, FIX::QuotePriceType);
FIELD_SET(*this, FIX::OrdType);
FIELD_SET(*this, FIX::ExpireTime);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
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);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
};
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,318 @@
#ifndef FIX44_QUOTERESPONSE_H
#define FIX44_QUOTERESPONSE_H
#include "Message.h"
namespace FIX44
{
class QuoteResponse : public Message
{
public:
QuoteResponse() : Message(MsgType()) {}
QuoteResponse(const FIX::Message& m) : Message(m) {}
QuoteResponse(const Message& m) : Message(m) {}
QuoteResponse(const QuoteResponse& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AJ"); }
QuoteResponse(
const FIX::QuoteRespID& aQuoteRespID,
const FIX::QuoteRespType& aQuoteRespType )
: Message(MsgType())
{
set(aQuoteRespID);
set(aQuoteRespType);
}
FIELD_SET(*this, FIX::QuoteRespID);
FIELD_SET(*this, FIX::QuoteID);
FIELD_SET(*this, FIX::QuoteRespType);
FIELD_SET(*this, FIX::ClOrdID);
FIELD_SET(*this, FIX::OrderCapacity);
FIELD_SET(*this, FIX::IOIID);
FIELD_SET(*this, FIX::QuoteType);
FIELD_SET(*this, FIX::NoQuoteQualifiers);
class NoQuoteQualifiers: public FIX::Group
{
public:
NoQuoteQualifiers() : FIX::Group(735,695,FIX::message_order(695,0)) {}
FIELD_SET(*this, FIX::QuoteQualifier);
};
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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::SettlType);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::SettlDate2);
FIELD_SET(*this, FIX::OrderQty2);
FIELD_SET(*this, FIX::Currency);
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::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,687,690,587,588,683,539,686,681,684,676,677,678,679,680,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegQty);
FIELD_SET(*this, FIX::LegSwapType);
FIELD_SET(*this, FIX::LegSettlType);
FIELD_SET(*this, FIX::LegSettlDate);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
FIELD_SET(*this, FIX::NoNestedPartyIDs);
class NoNestedPartyIDs: public FIX::Group
{
public:
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::LegPriceType);
FIELD_SET(*this, FIX::LegBidPx);
FIELD_SET(*this, FIX::LegOfferPx);
FIELD_SET(*this, FIX::LegBenchmarkCurveCurrency);
FIELD_SET(*this, FIX::LegBenchmarkCurveName);
FIELD_SET(*this, FIX::LegBenchmarkCurvePoint);
FIELD_SET(*this, FIX::LegBenchmarkPrice);
FIELD_SET(*this, FIX::LegBenchmarkPriceType);
};
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::OrdType);
FIELD_SET(*this, FIX::BidForwardPoints2);
FIELD_SET(*this, FIX::OfferForwardPoints2);
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);
FIELD_SET(*this, FIX::Price);
FIELD_SET(*this, FIX::PriceType);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
};
}
#endif
@@ -0,0 +1,308 @@
#ifndef FIX44_QUOTESTATUSREPORT_H
#define FIX44_QUOTESTATUSREPORT_H
#include "Message.h"
namespace FIX44
{
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::QuoteRespID);
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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::SettlType);
FIELD_SET(*this, FIX::SettlDate);
FIELD_SET(*this, FIX::SettlDate2);
FIELD_SET(*this, FIX::OrderQty2);
FIELD_SET(*this, FIX::Currency);
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::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,687,690,587,588,683,539,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegQty);
FIELD_SET(*this, FIX::LegSwapType);
FIELD_SET(*this, FIX::LegSettlType);
FIELD_SET(*this, FIX::LegSettlDate);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
FIELD_SET(*this, FIX::NoNestedPartyIDs);
class NoNestedPartyIDs: public FIX::Group
{
public:
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
};
FIELD_SET(*this, FIX::NoQuoteQualifiers);
class NoQuoteQualifiers: public FIX::Group
{
public:
NoQuoteQualifiers() : FIX::Group(735,695,FIX::message_order(695,0)) {}
FIELD_SET(*this, FIX::QuoteQualifier);
};
FIELD_SET(*this, FIX::ExpireTime);
FIELD_SET(*this, FIX::Price);
FIELD_SET(*this, FIX::PriceType);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
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::OrdType);
FIELD_SET(*this, FIX::BidForwardPoints2);
FIELD_SET(*this, FIX::OfferForwardPoints2);
FIELD_SET(*this, FIX::SettlCurrBidFxRate);
FIELD_SET(*this, FIX::SettlCurrOfferFxRate);
FIELD_SET(*this, FIX::SettlCurrFxRateCalc);
FIELD_SET(*this, FIX::CommType);
FIELD_SET(*this, FIX::Commission);
FIELD_SET(*this, FIX::CustOrderCapacity);
FIELD_SET(*this, FIX::ExDestination);
FIELD_SET(*this, FIX::QuoteStatus);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,195 @@
#ifndef FIX44_QUOTESTATUSREQUEST_H
#define FIX44_QUOTESTATUSREQUEST_H
#include "Message.h"
namespace FIX44
{
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::TradingSessionID);
FIELD_SET(*this, FIX::TradingSessionSubID);
FIELD_SET(*this, FIX::SubscriptionRequestType);
};
}
#endif
+181
View File
@@ -0,0 +1,181 @@
#ifndef FIX44_RFQREQUEST_H
#define FIX44_RFQREQUEST_H
#include "Message.h"
namespace FIX44
{
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::NoRelatedSym);
class NoRelatedSym: public FIX::Group
{
public:
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,711,555,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
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::SubscriptionRequestType);
};
}
#endif
@@ -0,0 +1,103 @@
#ifndef FIX44_REGISTRATIONINSTRUCTIONS_H
#define FIX44_REGISTRATIONINSTRUCTIONS_H
#include "Message.h"
namespace FIX44
{
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
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::RegistDtls);
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
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,502,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);
FIELD_SET(*this, FIX::CashDistribAgentAcctName);
};
};
}
#endif
@@ -0,0 +1,61 @@
#ifndef FIX44_REGISTRATIONINSTRUCTIONSRESPONSE_H
#define FIX44_REGISTRATIONINSTRUCTIONSRESPONSE_H
#include "Message.h"
namespace FIX44
{
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::RegistStatus);
FIELD_SET(*this, FIX::RegistRejReasonCode);
FIELD_SET(*this, FIX::RegistRejReasonText);
};
}
#endif
+36
View File
@@ -0,0 +1,36 @@
#ifndef FIX44_REJECT_H
#define FIX44_REJECT_H
#include "Message.h"
namespace FIX44
{
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,220 @@
#ifndef FIX44_REQUESTFORPOSITIONS_H
#define FIX44_REQUESTFORPOSITIONS_H
#include "Message.h"
namespace FIX44
{
class RequestForPositions : public Message
{
public:
RequestForPositions() : Message(MsgType()) {}
RequestForPositions(const FIX::Message& m) : Message(m) {}
RequestForPositions(const Message& m) : Message(m) {}
RequestForPositions(const RequestForPositions& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AN"); }
RequestForPositions(
const FIX::PosReqID& aPosReqID,
const FIX::PosReqType& aPosReqType,
const FIX::Account& aAccount,
const FIX::AccountType& aAccountType,
const FIX::ClearingBusinessDate& aClearingBusinessDate,
const FIX::TransactTime& aTransactTime )
: Message(MsgType())
{
set(aPosReqID);
set(aPosReqType);
set(aAccount);
set(aAccountType);
set(aClearingBusinessDate);
set(aTransactTime);
}
FIELD_SET(*this, FIX::PosReqID);
FIELD_SET(*this, FIX::PosReqType);
FIELD_SET(*this, FIX::MatchStatus);
FIELD_SET(*this, FIX::SubscriptionRequestType);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::SettlSessID);
FIELD_SET(*this, FIX::SettlSessSubID);
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::TransactTime);
FIELD_SET(*this, FIX::ResponseTransportType);
FIELD_SET(*this, FIX::ResponseDestination);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,208 @@
#ifndef FIX44_REQUESTFORPOSITIONSACK_H
#define FIX44_REQUESTFORPOSITIONSACK_H
#include "Message.h"
namespace FIX44
{
class RequestForPositionsAck : public Message
{
public:
RequestForPositionsAck() : Message(MsgType()) {}
RequestForPositionsAck(const FIX::Message& m) : Message(m) {}
RequestForPositionsAck(const Message& m) : Message(m) {}
RequestForPositionsAck(const RequestForPositionsAck& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AO"); }
RequestForPositionsAck(
const FIX::PosMaintRptID& aPosMaintRptID,
const FIX::PosReqResult& aPosReqResult,
const FIX::PosReqStatus& aPosReqStatus,
const FIX::Account& aAccount,
const FIX::AccountType& aAccountType )
: Message(MsgType())
{
set(aPosMaintRptID);
set(aPosReqResult);
set(aPosReqStatus);
set(aAccount);
set(aAccountType);
}
FIELD_SET(*this, FIX::PosMaintRptID);
FIELD_SET(*this, FIX::PosReqID);
FIELD_SET(*this, FIX::TotalNumPosReports);
FIELD_SET(*this, FIX::UnsolicitedIndicator);
FIELD_SET(*this, FIX::PosReqResult);
FIELD_SET(*this, FIX::PosReqStatus);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::ResponseTransportType);
FIELD_SET(*this, FIX::ResponseDestination);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,33 @@
#ifndef FIX44_RESENDREQUEST_H
#define FIX44_RESENDREQUEST_H
#include "Message.h"
namespace FIX44
{
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,186 @@
#ifndef FIX44_SECURITYDEFINITION_H
#define FIX44_SECURITYDEFINITION_H
#include "Message.h"
namespace FIX44
{
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::DeliveryForm);
FIELD_SET(*this, FIX::PctAtRisk);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::ExpirationCycle);
FIELD_SET(*this, FIX::RoundLot);
FIELD_SET(*this, FIX::MinTradeVol);
};
}
#endif
@@ -0,0 +1,182 @@
#ifndef FIX44_SECURITYDEFINITIONREQUEST_H
#define FIX44_SECURITYDEFINITIONREQUEST_H
#include "Message.h"
namespace FIX44
{
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::DeliveryForm);
FIELD_SET(*this, FIX::PctAtRisk);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
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::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::ExpirationCycle);
FIELD_SET(*this, FIX::SubscriptionRequestType);
};
}
#endif
+240
View File
@@ -0,0 +1,240 @@
#ifndef FIX44_SECURITYLIST_H
#define FIX44_SECURITYLIST_H
#include "Message.h"
namespace FIX44
{
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::TotNoRelatedSym);
FIELD_SET(*this, FIX::LastFragment);
FIELD_SET(*this, FIX::NoRelatedSym);
class NoRelatedSym: public FIX::Group
{
public:
NoRelatedSym() : FIX::Group(146,55,FIX::message_order(55,65,48,22,460,461,167,762,200,541,201,224,225,239,226,227,228,255,543,470,471,472,240,202,947,206,231,223,207,106,348,349,107,350,351,691,667,875,876,873,874,668,869,913,914,915,918,788,916,917,919,898,711,15,232,555,218,220,221,222,662,663,699,761,235,236,701,696,697,698,561,562,336,625,827,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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::DeliveryForm);
FIELD_SET(*this, FIX::PctAtRisk);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::Currency);
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::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,690,587,683,676,677,678,679,680,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegSwapType);
FIELD_SET(*this, FIX::LegSettlType);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
FIELD_SET(*this, FIX::LegBenchmarkCurveCurrency);
FIELD_SET(*this, FIX::LegBenchmarkCurveName);
FIELD_SET(*this, FIX::LegBenchmarkCurvePoint);
FIELD_SET(*this, FIX::LegBenchmarkPrice);
FIELD_SET(*this, FIX::LegBenchmarkPriceType);
};
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
FIELD_SET(*this, FIX::RoundLot);
FIELD_SET(*this, FIX::MinTradeVol);
FIELD_SET(*this, FIX::TradingSessionID);
FIELD_SET(*this, FIX::TradingSessionSubID);
FIELD_SET(*this, FIX::ExpirationCycle);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
};
}
#endif
@@ -0,0 +1,190 @@
#ifndef FIX44_SECURITYLISTREQUEST_H
#define FIX44_SECURITYLISTREQUEST_H
#include "Message.h"
namespace FIX44
{
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::DeliveryForm);
FIELD_SET(*this, FIX::PctAtRisk);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
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,184 @@
#ifndef FIX44_SECURITYSTATUS_H
#define FIX44_SECURITYSTATUS_H
#include "Message.h"
namespace FIX44
{
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::DeliveryForm);
FIELD_SET(*this, FIX::PctAtRisk);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
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,177 @@
#ifndef FIX44_SECURITYSTATUSREQUEST_H
#define FIX44_SECURITYSTATUSREQUEST_H
#include "Message.h"
namespace FIX44
{
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::DeliveryForm);
FIELD_SET(*this, FIX::PctAtRisk);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::SubscriptionRequestType);
FIELD_SET(*this, FIX::TradingSessionID);
FIELD_SET(*this, FIX::TradingSessionSubID);
};
}
#endif
@@ -0,0 +1,38 @@
#ifndef FIX44_SECURITYTYPEREQUEST_H
#define FIX44_SECURITYTYPEREQUEST_H
#include "Message.h"
namespace FIX44
{
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);
FIELD_SET(*this, FIX::Product);
FIELD_SET(*this, FIX::SecurityType);
FIELD_SET(*this, FIX::SecuritySubType);
};
}
#endif
@@ -0,0 +1,54 @@
#ifndef FIX44_SECURITYTYPES_H
#define FIX44_SECURITYTYPES_H
#include "Message.h"
namespace FIX44
{
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::TotNoSecurityTypes);
FIELD_SET(*this, FIX::LastFragment);
FIELD_SET(*this, FIX::NoSecurityTypes);
class NoSecurityTypes: public FIX::Group
{
public:
NoSecurityTypes() : FIX::Group(558,167,FIX::message_order(167,762,460,461,0)) {}
FIELD_SET(*this, FIX::SecurityType);
FIELD_SET(*this, FIX::SecuritySubType);
FIELD_SET(*this, FIX::Product);
FIELD_SET(*this, FIX::CFICode);
};
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,31 @@
#ifndef FIX44_SEQUENCERESET_H
#define FIX44_SEQUENCERESET_H
#include "Message.h"
namespace FIX44
{
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,62 @@
#ifndef FIX44_SETTLEMENTINSTRUCTIONREQUEST_H
#define FIX44_SETTLEMENTINSTRUCTIONREQUEST_H
#include "Message.h"
namespace FIX44
{
class SettlementInstructionRequest : public Message
{
public:
SettlementInstructionRequest() : Message(MsgType()) {}
SettlementInstructionRequest(const FIX::Message& m) : Message(m) {}
SettlementInstructionRequest(const Message& m) : Message(m) {}
SettlementInstructionRequest(const SettlementInstructionRequest& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AV"); }
SettlementInstructionRequest(
const FIX::SettlInstReqID& aSettlInstReqID,
const FIX::TransactTime& aTransactTime )
: Message(MsgType())
{
set(aSettlInstReqID);
set(aTransactTime);
}
FIELD_SET(*this, FIX::SettlInstReqID);
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,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::Side);
FIELD_SET(*this, FIX::Product);
FIELD_SET(*this, FIX::SecurityType);
FIELD_SET(*this, FIX::CFICode);
FIELD_SET(*this, FIX::EffectiveTime);
FIELD_SET(*this, FIX::ExpireTime);
FIELD_SET(*this, FIX::LastUpdateTime);
FIELD_SET(*this, FIX::StandInstDbType);
FIELD_SET(*this, FIX::StandInstDbName);
FIELD_SET(*this, FIX::StandInstDbID);
};
}
#endif
@@ -0,0 +1,88 @@
#ifndef FIX44_SETTLEMENTINSTRUCTIONS_H
#define FIX44_SETTLEMENTINSTRUCTIONS_H
#include "Message.h"
namespace FIX44
{
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::SettlInstMsgID& aSettlInstMsgID,
const FIX::SettlInstMode& aSettlInstMode,
const FIX::TransactTime& aTransactTime )
: Message(MsgType())
{
set(aSettlInstMsgID);
set(aSettlInstMode);
set(aTransactTime);
}
FIELD_SET(*this, FIX::SettlInstMsgID);
FIELD_SET(*this, FIX::SettlInstReqID);
FIELD_SET(*this, FIX::SettlInstMode);
FIELD_SET(*this, FIX::SettlInstReqRejCode);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
FIELD_SET(*this, FIX::ClOrdID);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::NoSettlInst);
class NoSettlInst: public FIX::Group
{
public:
NoSettlInst() : FIX::Group(778,162,FIX::message_order(162,163,214,453,54,460,167,461,168,126,779,172,169,170,171,492,476,488,489,503,490,491,504,505,0)) {}
FIELD_SET(*this, FIX::SettlInstID);
FIELD_SET(*this, FIX::SettlInstTransType);
FIELD_SET(*this, FIX::SettlInstRefID);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Side);
FIELD_SET(*this, FIX::Product);
FIELD_SET(*this, FIX::SecurityType);
FIELD_SET(*this, FIX::CFICode);
FIELD_SET(*this, FIX::EffectiveTime);
FIELD_SET(*this, FIX::ExpireTime);
FIELD_SET(*this, FIX::LastUpdateTime);
FIELD_SET(*this, FIX::SettlDeliveryType);
FIELD_SET(*this, FIX::StandInstDbType);
FIELD_SET(*this, FIX::StandInstDbName);
FIELD_SET(*this, FIX::StandInstDbID);
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::CardIssNum);
FIELD_SET(*this, FIX::PaymentDate);
FIELD_SET(*this, FIX::PaymentRemitterID);
};
};
}
#endif
@@ -0,0 +1,30 @@
#ifndef FIX44_TESTREQUEST_H
#define FIX44_TESTREQUEST_H
#include "Message.h"
namespace FIX44
{
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,444 @@
#ifndef FIX44_TRADECAPTUREREPORT_H
#define FIX44_TRADECAPTUREREPORT_H
#include "Message.h"
namespace FIX44
{
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::PreviouslyReported& aPreviouslyReported,
const FIX::LastQty& aLastQty,
const FIX::LastPx& aLastPx,
const FIX::TradeDate& aTradeDate,
const FIX::TransactTime& aTransactTime )
: Message(MsgType())
{
set(aTradeReportID);
set(aPreviouslyReported);
set(aLastQty);
set(aLastPx);
set(aTradeDate);
set(aTransactTime);
}
FIELD_SET(*this, FIX::TradeReportID);
FIELD_SET(*this, FIX::TradeReportTransType);
FIELD_SET(*this, FIX::TradeReportType);
FIELD_SET(*this, FIX::TradeRequestID);
FIELD_SET(*this, FIX::TrdType);
FIELD_SET(*this, FIX::TrdSubType);
FIELD_SET(*this, FIX::SecondaryTrdType);
FIELD_SET(*this, FIX::TransferReason);
FIELD_SET(*this, FIX::ExecType);
FIELD_SET(*this, FIX::TotNumTradeReports);
FIELD_SET(*this, FIX::LastRptRequested);
FIELD_SET(*this, FIX::UnsolicitedIndicator);
FIELD_SET(*this, FIX::SubscriptionRequestType);
FIELD_SET(*this, FIX::TradeReportRefID);
FIELD_SET(*this, FIX::SecondaryTradeReportRefID);
FIELD_SET(*this, FIX::SecondaryTradeReportID);
FIELD_SET(*this, FIX::TradeLinkID);
FIELD_SET(*this, FIX::TrdMatchID);
FIELD_SET(*this, FIX::ExecID);
FIELD_SET(*this, FIX::OrdStatus);
FIELD_SET(*this, FIX::SecondaryExecID);
FIELD_SET(*this, FIX::ExecRestatementReason);
FIELD_SET(*this, FIX::PreviouslyReported);
FIELD_SET(*this, FIX::PriceType);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
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::QtyType);
FIELD_SET(*this, FIX::YieldType);
FIELD_SET(*this, FIX::Yield);
FIELD_SET(*this, FIX::YieldCalcDate);
FIELD_SET(*this, FIX::YieldRedemptionDate);
FIELD_SET(*this, FIX::YieldRedemptionPrice);
FIELD_SET(*this, FIX::YieldRedemptionPriceType);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::UnderlyingTradingSessionID);
FIELD_SET(*this, FIX::UnderlyingTradingSessionSubID);
FIELD_SET(*this, FIX::LastQty);
FIELD_SET(*this, FIX::LastPx);
FIELD_SET(*this, FIX::LastParPx);
FIELD_SET(*this, FIX::LastSpotRate);
FIELD_SET(*this, FIX::LastForwardPoints);
FIELD_SET(*this, FIX::LastMkt);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::AvgPx);
FIELD_SET(*this, FIX::Spread);
FIELD_SET(*this, FIX::BenchmarkCurveCurrency);
FIELD_SET(*this, FIX::BenchmarkCurveName);
FIELD_SET(*this, FIX::BenchmarkCurvePoint);
FIELD_SET(*this, FIX::BenchmarkPrice);
FIELD_SET(*this, FIX::BenchmarkPriceType);
FIELD_SET(*this, FIX::BenchmarkSecurityID);
FIELD_SET(*this, FIX::BenchmarkSecurityIDSource);
FIELD_SET(*this, FIX::AvgPxIndicator);
FIELD_SET(*this, FIX::NoPosAmt);
class NoPosAmt: public FIX::Group
{
public:
NoPosAmt() : FIX::Group(753,707,FIX::message_order(707,708,0)) {}
FIELD_SET(*this, FIX::PosAmtType);
FIELD_SET(*this, FIX::PosAmt);
};
FIELD_SET(*this, FIX::MultiLegReportingType);
FIELD_SET(*this, FIX::TradeLegRefID);
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,687,690,683,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegQty);
FIELD_SET(*this, FIX::LegSwapType);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::LegRefID);
FIELD_SET(*this, FIX::LegPrice);
FIELD_SET(*this, FIX::LegSettlType);
FIELD_SET(*this, FIX::LegSettlDate);
FIELD_SET(*this, FIX::LegLastPx);
};
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::NoTrdRegTimestamps);
class NoTrdRegTimestamps: public FIX::Group
{
public:
NoTrdRegTimestamps() : FIX::Group(768,769,FIX::message_order(769,770,771,0)) {}
FIELD_SET(*this, FIX::TrdRegTimestamp);
FIELD_SET(*this, FIX::TrdRegTimestampType);
FIELD_SET(*this, FIX::TrdRegTimestampOrigin);
};
FIELD_SET(*this, FIX::SettlType);
FIELD_SET(*this, FIX::SettlDate);
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,526,66,453,1,660,581,81,575,576,578,579,821,15,376,377,528,529,582,40,18,483,336,625,943,12,13,479,497,381,157,230,158,159,738,920,921,922,238,237,118,119,120,155,156,77,58,354,355,752,518,232,136,825,826,591,70,78,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::SecondaryClOrdID);
FIELD_SET(*this, FIX::ListID);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::ProcessCode);
FIELD_SET(*this, FIX::OddLot);
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::TradeInputSource);
FIELD_SET(*this, FIX::TradeInputDevice);
FIELD_SET(*this, FIX::OrderInputDevice);
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::OrdType);
FIELD_SET(*this, FIX::ExecInst);
FIELD_SET(*this, FIX::TransBkdTime);
FIELD_SET(*this, FIX::TradingSessionID);
FIELD_SET(*this, FIX::TradingSessionSubID);
FIELD_SET(*this, FIX::TimeBracket);
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::InterestAtMaturity);
FIELD_SET(*this, FIX::EndAccruedInterestAmt);
FIELD_SET(*this, FIX::StartCash);
FIELD_SET(*this, FIX::EndCash);
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::SideMultiLegReportingType);
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::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::NoMiscFees);
class NoMiscFees: public FIX::Group
{
public:
NoMiscFees() : FIX::Group(136,137,FIX::message_order(137,138,139,891,0)) {}
FIELD_SET(*this, FIX::MiscFeeAmt);
FIELD_SET(*this, FIX::MiscFeeCurr);
FIELD_SET(*this, FIX::MiscFeeType);
FIELD_SET(*this, FIX::MiscFeeBasis);
};
FIELD_SET(*this, FIX::ExchangeRule);
FIELD_SET(*this, FIX::TradeAllocIndicator);
FIELD_SET(*this, FIX::PreallocMethod);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,756,80,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocSettlCurrency);
FIELD_SET(*this, FIX::IndividualAllocID);
FIELD_SET(*this, FIX::NoNested2PartyIDs);
class NoNested2PartyIDs: public FIX::Group
{
public:
NoNested2PartyIDs() : FIX::Group(756,757,FIX::message_order(757,758,759,806,0)) {}
FIELD_SET(*this, FIX::Nested2PartyID);
FIELD_SET(*this, FIX::Nested2PartyIDSource);
FIELD_SET(*this, FIX::Nested2PartyRole);
FIELD_SET(*this, FIX::NoNested2PartySubIDs);
class NoNested2PartySubIDs: public FIX::Group
{
public:
NoNested2PartySubIDs() : FIX::Group(806,760,FIX::message_order(760,807,0)) {}
FIELD_SET(*this, FIX::Nested2PartySubID);
FIELD_SET(*this, FIX::Nested2PartySubIDType);
};
};
FIELD_SET(*this, FIX::AllocQty);
};
};
FIELD_SET(*this, FIX::CopyMsgIndicator);
FIELD_SET(*this, FIX::PublishTrdIndicator);
FIELD_SET(*this, FIX::ShortSaleReason);
};
}
#endif
@@ -0,0 +1,223 @@
#ifndef FIX44_TRADECAPTUREREPORTACK_H
#define FIX44_TRADECAPTUREREPORTACK_H
#include "Message.h"
namespace FIX44
{
class TradeCaptureReportAck : public Message
{
public:
TradeCaptureReportAck() : Message(MsgType()) {}
TradeCaptureReportAck(const FIX::Message& m) : Message(m) {}
TradeCaptureReportAck(const Message& m) : Message(m) {}
TradeCaptureReportAck(const TradeCaptureReportAck& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AR"); }
TradeCaptureReportAck(
const FIX::TradeReportID& aTradeReportID,
const FIX::ExecType& aExecType )
: Message(MsgType())
{
set(aTradeReportID);
set(aExecType);
}
FIELD_SET(*this, FIX::TradeReportID);
FIELD_SET(*this, FIX::TradeReportTransType);
FIELD_SET(*this, FIX::TradeReportType);
FIELD_SET(*this, FIX::TrdType);
FIELD_SET(*this, FIX::TrdSubType);
FIELD_SET(*this, FIX::SecondaryTrdType);
FIELD_SET(*this, FIX::TransferReason);
FIELD_SET(*this, FIX::ExecType);
FIELD_SET(*this, FIX::TradeReportRefID);
FIELD_SET(*this, FIX::SecondaryTradeReportRefID);
FIELD_SET(*this, FIX::TrdRptStatus);
FIELD_SET(*this, FIX::TradeReportRejectReason);
FIELD_SET(*this, FIX::SecondaryTradeReportID);
FIELD_SET(*this, FIX::SubscriptionRequestType);
FIELD_SET(*this, FIX::TradeLinkID);
FIELD_SET(*this, FIX::TrdMatchID);
FIELD_SET(*this, FIX::ExecID);
FIELD_SET(*this, FIX::SecondaryExecID);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::NoTrdRegTimestamps);
class NoTrdRegTimestamps: public FIX::Group
{
public:
NoTrdRegTimestamps() : FIX::Group(768,769,FIX::message_order(769,770,771,0)) {}
FIELD_SET(*this, FIX::TrdRegTimestamp);
FIELD_SET(*this, FIX::TrdRegTimestampType);
FIELD_SET(*this, FIX::TrdRegTimestampOrigin);
};
FIELD_SET(*this, FIX::ResponseTransportType);
FIELD_SET(*this, FIX::ResponseDestination);
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,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,687,690,683,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
FIELD_SET(*this, FIX::LegQty);
FIELD_SET(*this, FIX::LegSwapType);
FIELD_SET(*this, FIX::NoLegStipulations);
class NoLegStipulations: public FIX::Group
{
public:
NoLegStipulations() : FIX::Group(683,688,FIX::message_order(688,689,0)) {}
FIELD_SET(*this, FIX::LegStipulationType);
FIELD_SET(*this, FIX::LegStipulationValue);
};
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,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::LegRefID);
FIELD_SET(*this, FIX::LegPrice);
FIELD_SET(*this, FIX::LegSettlType);
FIELD_SET(*this, FIX::LegSettlDate);
FIELD_SET(*this, FIX::LegLastPx);
};
FIELD_SET(*this, FIX::ClearingFeeIndicator);
FIELD_SET(*this, FIX::OrderCapacity);
FIELD_SET(*this, FIX::OrderRestrictions);
FIELD_SET(*this, FIX::CustOrderCapacity);
FIELD_SET(*this, FIX::Account);
FIELD_SET(*this, FIX::AcctIDSource);
FIELD_SET(*this, FIX::AccountType);
FIELD_SET(*this, FIX::PositionEffect);
FIELD_SET(*this, FIX::PreallocMethod);
FIELD_SET(*this, FIX::NoAllocs);
class NoAllocs: public FIX::Group
{
public:
NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,736,467,756,80,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocSettlCurrency);
FIELD_SET(*this, FIX::IndividualAllocID);
FIELD_SET(*this, FIX::NoNested2PartyIDs);
class NoNested2PartyIDs: public FIX::Group
{
public:
NoNested2PartyIDs() : FIX::Group(756,757,FIX::message_order(757,758,759,806,0)) {}
FIELD_SET(*this, FIX::Nested2PartyID);
FIELD_SET(*this, FIX::Nested2PartyIDSource);
FIELD_SET(*this, FIX::Nested2PartyRole);
FIELD_SET(*this, FIX::NoNested2PartySubIDs);
class NoNested2PartySubIDs: public FIX::Group
{
public:
NoNested2PartySubIDs() : FIX::Group(806,760,FIX::message_order(760,807,0)) {}
FIELD_SET(*this, FIX::Nested2PartySubID);
FIELD_SET(*this, FIX::Nested2PartySubIDType);
};
};
FIELD_SET(*this, FIX::AllocQty);
};
};
}
#endif
@@ -0,0 +1,235 @@
#ifndef FIX44_TRADECAPTUREREPORTREQUEST_H
#define FIX44_TRADECAPTUREREPORTREQUEST_H
#include "Message.h"
namespace FIX44
{
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::TradeReportID);
FIELD_SET(*this, FIX::SecondaryTradeReportID);
FIELD_SET(*this, FIX::ExecID);
FIELD_SET(*this, FIX::ExecType);
FIELD_SET(*this, FIX::OrderID);
FIELD_SET(*this, FIX::ClOrdID);
FIELD_SET(*this, FIX::MatchStatus);
FIELD_SET(*this, FIX::TrdType);
FIELD_SET(*this, FIX::TrdSubType);
FIELD_SET(*this, FIX::TransferReason);
FIELD_SET(*this, FIX::SecondaryTrdType);
FIELD_SET(*this, FIX::TradeLinkID);
FIELD_SET(*this, FIX::TrdMatchID);
FIELD_SET(*this, FIX::NoPartyIDs);
class NoPartyIDs: public FIX::Group
{
public:
NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
FIELD_SET(*this, FIX::PartyID);
FIELD_SET(*this, FIX::PartyIDSource);
FIELD_SET(*this, FIX::PartyRole);
FIELD_SET(*this, FIX::NoPartySubIDs);
class NoPartySubIDs: public FIX::Group
{
public:
NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
FIELD_SET(*this, FIX::PartySubID);
FIELD_SET(*this, FIX::PartySubIDType);
};
};
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::DeliveryForm);
FIELD_SET(*this, FIX::PctAtRisk);
FIELD_SET(*this, FIX::AgreementDesc);
FIELD_SET(*this, FIX::AgreementID);
FIELD_SET(*this, FIX::AgreementDate);
FIELD_SET(*this, FIX::AgreementCurrency);
FIELD_SET(*this, FIX::TerminationType);
FIELD_SET(*this, FIX::StartDate);
FIELD_SET(*this, FIX::EndDate);
FIELD_SET(*this, FIX::DeliveryType);
FIELD_SET(*this, FIX::MarginRatio);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
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);
};
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::TradingSessionID);
FIELD_SET(*this, FIX::TradingSessionSubID);
FIELD_SET(*this, FIX::TimeBracket);
FIELD_SET(*this, FIX::Side);
FIELD_SET(*this, FIX::MultiLegReportingType);
FIELD_SET(*this, FIX::TradeInputSource);
FIELD_SET(*this, FIX::TradeInputDevice);
FIELD_SET(*this, FIX::ResponseTransportType);
FIELD_SET(*this, FIX::ResponseDestination);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,186 @@
#ifndef FIX44_TRADECAPTUREREPORTREQUESTACK_H
#define FIX44_TRADECAPTUREREPORTREQUESTACK_H
#include "Message.h"
namespace FIX44
{
class TradeCaptureReportRequestAck : public Message
{
public:
TradeCaptureReportRequestAck() : Message(MsgType()) {}
TradeCaptureReportRequestAck(const FIX::Message& m) : Message(m) {}
TradeCaptureReportRequestAck(const Message& m) : Message(m) {}
TradeCaptureReportRequestAck(const TradeCaptureReportRequestAck& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AQ"); }
TradeCaptureReportRequestAck(
const FIX::TradeRequestID& aTradeRequestID,
const FIX::TradeRequestType& aTradeRequestType,
const FIX::TradeRequestResult& aTradeRequestResult,
const FIX::TradeRequestStatus& aTradeRequestStatus )
: Message(MsgType())
{
set(aTradeRequestID);
set(aTradeRequestType);
set(aTradeRequestResult);
set(aTradeRequestStatus);
}
FIELD_SET(*this, FIX::TradeRequestID);
FIELD_SET(*this, FIX::TradeRequestType);
FIELD_SET(*this, FIX::SubscriptionRequestType);
FIELD_SET(*this, FIX::TotNumTradeReports);
FIELD_SET(*this, FIX::TradeRequestResult);
FIELD_SET(*this, FIX::TradeRequestStatus);
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::SecuritySubType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDate);
FIELD_SET(*this, FIX::PutOrCall);
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::StrikeCurrency);
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::Pool);
FIELD_SET(*this, FIX::ContractSettlMonth);
FIELD_SET(*this, FIX::CPProgram);
FIELD_SET(*this, FIX::CPRegType);
FIELD_SET(*this, FIX::DatedDate);
FIELD_SET(*this, FIX::InterestAccrualDate);
FIELD_SET(*this, FIX::NoUnderlyings);
class NoUnderlyings: public FIX::Group
{
public:
NoUnderlyings() : FIX::Group(711,311,FIX::message_order(311,312,309,305,462,463,310,763,313,542,315,241,242,243,244,245,246,256,595,592,593,594,247,316,941,317,436,435,308,306,362,363,307,364,365,877,878,318,879,810,882,883,884,885,886,0)) {}
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::UnderlyingSecuritySubType);
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::UnderlyingStrikeCurrency);
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::UnderlyingCPProgram);
FIELD_SET(*this, FIX::UnderlyingCPRegType);
FIELD_SET(*this, FIX::UnderlyingCurrency);
FIELD_SET(*this, FIX::UnderlyingQty);
FIELD_SET(*this, FIX::UnderlyingPx);
FIELD_SET(*this, FIX::UnderlyingDirtyPrice);
FIELD_SET(*this, FIX::UnderlyingEndPrice);
FIELD_SET(*this, FIX::UnderlyingStartValue);
FIELD_SET(*this, FIX::UnderlyingCurrentValue);
FIELD_SET(*this, FIX::UnderlyingEndValue);
};
FIELD_SET(*this, FIX::NoLegs);
class NoLegs: public FIX::Group
{
public:
NoLegs() : FIX::Group(555,600,FIX::message_order(600,601,602,603,607,608,609,764,610,611,248,249,250,251,252,253,257,599,596,597,598,254,612,942,613,614,615,616,617,618,619,620,621,622,623,624,556,740,739,955,956,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::LegSecuritySubType);
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::LegStrikeCurrency);
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::LegCurrency);
FIELD_SET(*this, FIX::LegPool);
FIELD_SET(*this, FIX::LegDatedDate);
FIELD_SET(*this, FIX::LegContractSettlMonth);
FIELD_SET(*this, FIX::LegInterestAccrualDate);
};
FIELD_SET(*this, FIX::MultiLegReportingType);
FIELD_SET(*this, FIX::ResponseTransportType);
FIELD_SET(*this, FIX::ResponseDestination);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif
@@ -0,0 +1,48 @@
#ifndef FIX44_TRADINGSESSIONSTATUS_H
#define FIX44_TRADINGSESSIONSTATUS_H
#include "Message.h"
namespace FIX44
{
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 FIX44_TRADINGSESSIONSTATUSREQUEST_H
#define FIX44_TRADINGSESSIONSTATUSREQUEST_H
#include "Message.h"
namespace FIX44
{
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,40 @@
#ifndef FIX44_USERREQUEST_H
#define FIX44_USERREQUEST_H
#include "Message.h"
namespace FIX44
{
class UserRequest : public Message
{
public:
UserRequest() : Message(MsgType()) {}
UserRequest(const FIX::Message& m) : Message(m) {}
UserRequest(const Message& m) : Message(m) {}
UserRequest(const UserRequest& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("BE"); }
UserRequest(
const FIX::UserRequestID& aUserRequestID,
const FIX::UserRequestType& aUserRequestType,
const FIX::Username& aUsername )
: Message(MsgType())
{
set(aUserRequestID);
set(aUserRequestType);
set(aUsername);
}
FIELD_SET(*this, FIX::UserRequestID);
FIELD_SET(*this, FIX::UserRequestType);
FIELD_SET(*this, FIX::Username);
FIELD_SET(*this, FIX::Password);
FIELD_SET(*this, FIX::NewPassword);
FIELD_SET(*this, FIX::RawDataLength);
FIELD_SET(*this, FIX::RawData);
};
}
#endif
@@ -0,0 +1,35 @@
#ifndef FIX44_USERRESPONSE_H
#define FIX44_USERRESPONSE_H
#include "Message.h"
namespace FIX44
{
class UserResponse : public Message
{
public:
UserResponse() : Message(MsgType()) {}
UserResponse(const FIX::Message& m) : Message(m) {}
UserResponse(const Message& m) : Message(m) {}
UserResponse(const UserResponse& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("BF"); }
UserResponse(
const FIX::UserRequestID& aUserRequestID,
const FIX::Username& aUsername )
: Message(MsgType())
{
set(aUserRequestID);
set(aUsername);
}
FIELD_SET(*this, FIX::UserRequestID);
FIELD_SET(*this, FIX::Username);
FIELD_SET(*this, FIX::UserStatus);
FIELD_SET(*this, FIX::UserStatusText);
};
}
#endif
+22
View File
@@ -0,0 +1,22 @@
#ifndef FIX44_XMLNONFIX_H
#define FIX44_XMLNONFIX_H
#include "Message.h"
namespace FIX44
{
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