Populated operation-identification group for an execution report.
typedef struct OpenPitExecutionReportOperation {
OpenPitInstrument instrument;
OpenPitParamAccountIdOptional account_id;
OpenPitParamSide side;
} OpenPitExecutionReportOperation;Populated financial-impact group for an execution report.
typedef struct OpenPitFinancialImpact {
OpenPitParamPnlOptional pnl;
OpenPitParamFeeOptional fee;
} OpenPitFinancialImpact;Fill trade payload (price + quantity) for execution reports.
typedef struct OpenPitExecutionReportTrade {
OpenPitParamPrice price;
OpenPitParamQuantity quantity;
} OpenPitExecutionReportTrade;Populated fill-details group for an execution report.
typedef struct OpenPitExecutionReportFill {
OpenPitExecutionReportTradeOptional last_trade;
OpenPitParamQuantityOptional leaves_quantity;
OpenPitParamPriceOptional lock_price;
OpenPitExecutionReportIsFinalOptional is_final;
} OpenPitExecutionReportFill;Populated position-impact group for an execution report.
typedef struct OpenPitExecutionReportPositionImpact {
OpenPitParamPositionEffect position_effect;
OpenPitParamPositionSide position_side;
} OpenPitExecutionReportPositionImpact;typedef struct OpenPitExecutionReportOperationOptional {
OpenPitExecutionReportOperation value;
bool is_set;
} OpenPitExecutionReportOperationOptional;typedef struct OpenPitFinancialImpactOptional {
OpenPitFinancialImpact value;
bool is_set;
} OpenPitFinancialImpactOptional;typedef struct OpenPitExecutionReportTradeOptional {
OpenPitExecutionReportTrade value;
bool is_set;
} OpenPitExecutionReportTradeOptional;typedef struct OpenPitExecutionReportIsFinalOptional {
bool value;
bool is_set;
} OpenPitExecutionReportIsFinalOptional;typedef struct OpenPitExecutionReportFillOptional {
OpenPitExecutionReportFill value;
bool is_set;
} OpenPitExecutionReportFillOptional;typedef struct OpenPitExecutionReportPositionImpactOptional {
OpenPitExecutionReportPositionImpact value;
bool is_set;
} OpenPitExecutionReportPositionImpactOptional;Full caller-owned execution-report payload.
typedef struct OpenPitExecutionReport {
OpenPitExecutionReportOperationOptional operation;
OpenPitFinancialImpactOptional financial_impact;
OpenPitExecutionReportFillOptional fill;
OpenPitExecutionReportPositionImpactOptional position_impact;
void * user_data;
} OpenPitExecutionReport;