BetaTrader
A HFT Eco-System
Loading...
Searching...
No Matches
fix::ExecutionReport Class Reference

Represents a FIX Execution Report (35=8) message. More...

#include <ExecutionReport.h>

Collaboration diagram for fix::ExecutionReport:
Collaboration graph

Public Member Functions

 ExecutionReport (const CompID &senderCompId, const CompID &targetCompId, const SequenceNumber msgSeqNum, const ExchangeOrderID &exchangeOrderId, const ClientOrderID &clientOrderId, const std::string &executionId, const common::OrderStatus status, const std::string &text, const Symbol &symbol, const common::OrderSide side, const Quantity orderQty, const Quantity cumQty, const Quantity leavesQty, const Price lastPrice, const Quantity lastQty, const common::Timestamp &transactTime)
 Constructs a new ExecutionReport object.
 
const ClientOrderIDgetClientOrderId () const
 Gets the client-assigned order ID (Tag 11).
 
Quantity getCumulativeQuantity () const
 Gets the cumulative filled quantity (Tag 14).
 
const ExchangeOrderIDgetExchangeOrderId () const
 Gets the exchange-assigned order ID (Tag 37).
 
const std::string & getExecutionId () const
 Gets the execution ID (Tag 17).
 
Price getLastPrice () const
 Gets the price of the last fill (Tag 31).
 
Quantity getLastQuantity () const
 Gets the quantity of the last fill (Tag 32).
 
Quantity getLeavesQuantity () const
 Gets the remaining quantity (Tag 151).
 
SequenceNumber getMessageSequenceNumber () const
 Gets the message sequence number (Tag 34).
 
Quantity getOrderQuantity () const
 Gets the total order quantity (Tag 38).
 
const CompIDgetSenderCompId () const
 Gets the sender's component ID (Tag 49).
 
common::OrderSide getSide () const
 Gets the side of the order (Buy/Sell) (Tag 54).
 
common::OrderStatus getStatus () const
 Gets the order status (Tag 39).
 
const SymbolgetSymbol () const
 Gets the financial instrument symbol (Tag 55).
 
const CompIDgetTargetCompId () const
 Gets the target's component ID (Tag 56).
 
const std::string & getText () const
 Gets the text message (Tag 58).
 
const common::TimestampgetTransactionTime () const
 Gets the time of the transaction (Tag 60).
 

Private Attributes

ClientOrderID mClientOrderId
 Tag 11: Client-assigned order ID (echoed back).
 
Quantity mCumulativeQuantity
 Tag 14: Cumulative filled quantity.
 
ExchangeOrderID mExchangeOrderId
 Tag 37: Exchange-assigned order ID.
 
std::string mExecutionId
 Tag 17: Execution ID.
 
Price mLastPrice
 Tag 31: Price of the last fill.
 
Quantity mLastQuantity
 Tag 32: Quantity of the last fill.
 
Quantity mLeavesQuantity
 Tag 151: Remaining quantity.
 
SequenceNumber mMessageSequenceNumber
 Tag 34: Message sequence number.
 
Quantity mOrderQuantity
 Tag 38: Total order quantity.
 
CompID mSenderCompId
 Tag 49: Sender's component ID.
 
common::OrderSide mSide
 Tag 54: Side of the order (Buy/Sell).
 
common::OrderStatus mStatus
 Tag 39: Order status.
 
Symbol mSymbol
 Tag 55: Financial instrument symbol.
 
CompID mTargetCompId
 Tag 56: Target's component ID.
 
std::string mText
 Tag 58: Text message (e.g., reject reason, notes).
 
common::Timestamp mTransactionTime
 Tag 60: Time of the transaction.
 

Detailed Description

Represents a FIX Execution Report (35=8) message.

This class encapsulates the fields used to report the status of an order in the FIX protocol.

Constructor & Destructor Documentation

◆ ExecutionReport()

fix::ExecutionReport::ExecutionReport ( const CompID senderCompId,
const CompID targetCompId,
const SequenceNumber  msgSeqNum,
const ExchangeOrderID exchangeOrderId,
const ClientOrderID clientOrderId,
const std::string &  executionId,
const common::OrderStatus  status,
const std::string &  text,
const Symbol symbol,
const common::OrderSide  side,
const Quantity  orderQty,
const Quantity  cumQty,
const Quantity  leavesQty,
const Price  lastPrice,
const Quantity  lastQty,
const common::Timestamp transactTime 
)
inline

Constructs a new ExecutionReport object.

Parameters
senderCompIdThe sender's component ID (Tag 49).
targetCompIdThe target's component ID (Tag 56).
msgSeqNumThe message sequence number (Tag 34).
exchangeOrderIdThe exchange-assigned order ID (Tag 37).
clientOrderIdThe client-assigned order ID (Tag 11).
executionIdThe execution ID (Tag 17).
statusThe order status (Tag 39).
textThe text message (Tag 58).
symbolThe financial instrument symbol (Tag 55).
sideThe side of the order (Buy/Sell) (Tag 54).
orderQtyThe total order quantity (Tag 38).
cumQtyThe cumulative filled quantity (Tag 14).
leavesQtyThe remaining quantity (Tag 151).
lastPriceThe price of the last fill (Tag 31).
lastQtyThe quantity of the last fill (Tag 32).
transactTimeThe time of the transaction (Tag 60).

Member Function Documentation

◆ getClientOrderId()

const ClientOrderID & fix::ExecutionReport::getClientOrderId ( ) const
inline

Gets the client-assigned order ID (Tag 11).

Here is the caller graph for this function:

◆ getCumulativeQuantity()

Quantity fix::ExecutionReport::getCumulativeQuantity ( ) const
inline

Gets the cumulative filled quantity (Tag 14).

Here is the caller graph for this function:

◆ getExchangeOrderId()

const ExchangeOrderID & fix::ExecutionReport::getExchangeOrderId ( ) const
inline

Gets the exchange-assigned order ID (Tag 37).

Here is the caller graph for this function:

◆ getExecutionId()

const std::string & fix::ExecutionReport::getExecutionId ( ) const
inline

Gets the execution ID (Tag 17).

Here is the caller graph for this function:

◆ getLastPrice()

Price fix::ExecutionReport::getLastPrice ( ) const
inline

Gets the price of the last fill (Tag 31).

Here is the caller graph for this function:

◆ getLastQuantity()

Quantity fix::ExecutionReport::getLastQuantity ( ) const
inline

Gets the quantity of the last fill (Tag 32).

Here is the caller graph for this function:

◆ getLeavesQuantity()

Quantity fix::ExecutionReport::getLeavesQuantity ( ) const
inline

Gets the remaining quantity (Tag 151).

Here is the caller graph for this function:

◆ getMessageSequenceNumber()

SequenceNumber fix::ExecutionReport::getMessageSequenceNumber ( ) const
inline

Gets the message sequence number (Tag 34).

Here is the caller graph for this function:

◆ getOrderQuantity()

Quantity fix::ExecutionReport::getOrderQuantity ( ) const
inline

Gets the total order quantity (Tag 38).

Here is the caller graph for this function:

◆ getSenderCompId()

const CompID & fix::ExecutionReport::getSenderCompId ( ) const
inline

Gets the sender's component ID (Tag 49).

Here is the caller graph for this function:

◆ getSide()

common::OrderSide fix::ExecutionReport::getSide ( ) const
inline

Gets the side of the order (Buy/Sell) (Tag 54).

Here is the caller graph for this function:

◆ getStatus()

common::OrderStatus fix::ExecutionReport::getStatus ( ) const
inline

Gets the order status (Tag 39).

Here is the caller graph for this function:

◆ getSymbol()

const Symbol & fix::ExecutionReport::getSymbol ( ) const
inline

Gets the financial instrument symbol (Tag 55).

Here is the caller graph for this function:

◆ getTargetCompId()

const CompID & fix::ExecutionReport::getTargetCompId ( ) const
inline

Gets the target's component ID (Tag 56).

Here is the caller graph for this function:

◆ getText()

const std::string & fix::ExecutionReport::getText ( ) const
inline

Gets the text message (Tag 58).

Here is the caller graph for this function:

◆ getTransactionTime()

const common::Timestamp & fix::ExecutionReport::getTransactionTime ( ) const
inline

Gets the time of the transaction (Tag 60).

Here is the caller graph for this function:

Member Data Documentation

◆ mClientOrderId

ClientOrderID fix::ExecutionReport::mClientOrderId
private

Tag 11: Client-assigned order ID (echoed back).

◆ mCumulativeQuantity

Quantity fix::ExecutionReport::mCumulativeQuantity
private

Tag 14: Cumulative filled quantity.

◆ mExchangeOrderId

ExchangeOrderID fix::ExecutionReport::mExchangeOrderId
private

Tag 37: Exchange-assigned order ID.

◆ mExecutionId

std::string fix::ExecutionReport::mExecutionId
private

Tag 17: Execution ID.

◆ mLastPrice

Price fix::ExecutionReport::mLastPrice
private

Tag 31: Price of the last fill.

◆ mLastQuantity

Quantity fix::ExecutionReport::mLastQuantity
private

Tag 32: Quantity of the last fill.

◆ mLeavesQuantity

Quantity fix::ExecutionReport::mLeavesQuantity
private

Tag 151: Remaining quantity.

◆ mMessageSequenceNumber

SequenceNumber fix::ExecutionReport::mMessageSequenceNumber
private

Tag 34: Message sequence number.

◆ mOrderQuantity

Quantity fix::ExecutionReport::mOrderQuantity
private

Tag 38: Total order quantity.

◆ mSenderCompId

CompID fix::ExecutionReport::mSenderCompId
private

Tag 49: Sender's component ID.

◆ mSide

common::OrderSide fix::ExecutionReport::mSide
private

Tag 54: Side of the order (Buy/Sell).

◆ mStatus

common::OrderStatus fix::ExecutionReport::mStatus
private

Tag 39: Order status.

◆ mSymbol

Symbol fix::ExecutionReport::mSymbol
private

Tag 55: Financial instrument symbol.

◆ mTargetCompId

CompID fix::ExecutionReport::mTargetCompId
private

Tag 56: Target's component ID.

◆ mText

std::string fix::ExecutionReport::mText
private

Tag 58: Text message (e.g., reject reason, notes).

◆ mTransactionTime

common::Timestamp fix::ExecutionReport::mTransactionTime
private

Tag 60: Time of the transaction.


The documentation for this class was generated from the following file: