pub struct TradeCaptureReport(/* private fields */);Expand description
The TradeCaptureReport (35=AE) message.
Implementations§
Source§impl TradeCaptureReport
impl TradeCaptureReport
pub const MSG_TYPE: &[u8] = b"AE"
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn trade_report_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trade_report_id(&self) -> Result<Option<&str>, InvalidValue>
The TradeReportID (571) field.
Sourcepub fn trade_report_trans_type(&self) -> Result<Option<i64>, InvalidValue>
pub fn trade_report_trans_type(&self) -> Result<Option<i64>, InvalidValue>
The TradeReportTransType (487) field.
Sourcepub fn trade_report_type(&self) -> Result<Option<TradeReportType>, InvalidValue>
pub fn trade_report_type(&self) -> Result<Option<TradeReportType>, InvalidValue>
The TradeReportType (856) field.
Sourcepub fn trade_request_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trade_request_id(&self) -> Result<Option<&str>, InvalidValue>
The TradeRequestID (568) field.
Sourcepub fn trd_sub_type(&self) -> Result<Option<i64>, InvalidValue>
pub fn trd_sub_type(&self) -> Result<Option<i64>, InvalidValue>
The TrdSubType (829) field.
Sourcepub fn secondary_trd_type(&self) -> Result<Option<i64>, InvalidValue>
pub fn secondary_trd_type(&self) -> Result<Option<i64>, InvalidValue>
The SecondaryTrdType (855) field.
Sourcepub fn transfer_reason(&self) -> Result<Option<&str>, InvalidValue>
pub fn transfer_reason(&self) -> Result<Option<&str>, InvalidValue>
The TransferReason (830) field.
Sourcepub fn exec_type(&self) -> Result<Option<ExecType<'_>>, InvalidValue>
pub fn exec_type(&self) -> Result<Option<ExecType<'_>>, InvalidValue>
The ExecType (150) field.
Sourcepub fn tot_num_trade_reports(&self) -> Result<Option<i64>, InvalidValue>
pub fn tot_num_trade_reports(&self) -> Result<Option<i64>, InvalidValue>
The TotNumTradeReports (748) field.
Sourcepub fn last_rpt_requested(&self) -> Result<Option<bool>, InvalidValue>
pub fn last_rpt_requested(&self) -> Result<Option<bool>, InvalidValue>
The LastRptRequested (912) field.
Sourcepub fn unsolicited_indicator(&self) -> Result<Option<bool>, InvalidValue>
pub fn unsolicited_indicator(&self) -> Result<Option<bool>, InvalidValue>
The UnsolicitedIndicator (325) field.
Sourcepub fn subscription_request_type(
&self,
) -> Result<Option<SubscriptionRequestType<'_>>, InvalidValue>
pub fn subscription_request_type( &self, ) -> Result<Option<SubscriptionRequestType<'_>>, InvalidValue>
The SubscriptionRequestType (263) field.
Sourcepub fn trade_report_ref_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trade_report_ref_id(&self) -> Result<Option<&str>, InvalidValue>
The TradeReportRefID (572) field.
Sourcepub fn secondary_trade_report_ref_id(
&self,
) -> Result<Option<&str>, InvalidValue>
pub fn secondary_trade_report_ref_id( &self, ) -> Result<Option<&str>, InvalidValue>
The SecondaryTradeReportRefID (881) field.
Sourcepub fn secondary_trade_report_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn secondary_trade_report_id(&self) -> Result<Option<&str>, InvalidValue>
The SecondaryTradeReportID (818) field.
Sourcepub fn trade_link_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trade_link_id(&self) -> Result<Option<&str>, InvalidValue>
The TradeLinkID (820) field.
Sourcepub fn trd_match_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trd_match_id(&self) -> Result<Option<&str>, InvalidValue>
The TrdMatchID (880) field.
Sourcepub fn ord_status(&self) -> Result<Option<OrdStatus<'_>>, InvalidValue>
pub fn ord_status(&self) -> Result<Option<OrdStatus<'_>>, InvalidValue>
The OrdStatus (39) field.
Sourcepub fn secondary_exec_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn secondary_exec_id(&self) -> Result<Option<&str>, InvalidValue>
The SecondaryExecID (527) field.
Sourcepub fn exec_restatement_reason(
&self,
) -> Result<Option<ExecRestatementReason>, InvalidValue>
pub fn exec_restatement_reason( &self, ) -> Result<Option<ExecRestatementReason>, InvalidValue>
The ExecRestatementReason (378) field.
Sourcepub fn previously_reported(&self) -> Result<Option<bool>, InvalidValue>
pub fn previously_reported(&self) -> Result<Option<bool>, InvalidValue>
The PreviouslyReported (570) field.
Sourcepub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>
pub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>
The PriceType (423) field.
Sourcepub fn instrument(&self) -> Instrument<'_>
pub fn instrument(&self) -> Instrument<'_>
The Instrument component.
Sourcepub fn financing_details(&self) -> FinancingDetails<'_>
pub fn financing_details(&self) -> FinancingDetails<'_>
The FinancingDetails component.
Sourcepub fn order_qty_data(&self) -> OrderQtyData<'_>
pub fn order_qty_data(&self) -> OrderQtyData<'_>
The OrderQtyData component.
Sourcepub fn yield_data(&self) -> YieldData<'_>
pub fn yield_data(&self) -> YieldData<'_>
The YieldData component.
Sourcepub fn underlyings(
&self,
) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
pub fn underlyings( &self, ) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
The instances of the NoUnderlyings (711) group.
Sourcepub fn underlying_trading_session_id(
&self,
) -> Result<Option<&str>, InvalidValue>
pub fn underlying_trading_session_id( &self, ) -> Result<Option<&str>, InvalidValue>
The UnderlyingTradingSessionID (822) field.
Sourcepub fn underlying_trading_session_sub_id(
&self,
) -> Result<Option<&str>, InvalidValue>
pub fn underlying_trading_session_sub_id( &self, ) -> Result<Option<&str>, InvalidValue>
The UnderlyingTradingSessionSubID (823) field.
Sourcepub fn last_par_px(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn last_par_px(&self) -> Result<Option<Decimal>, InvalidValue>
The LastParPx (669) field.
Sourcepub fn last_spot_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn last_spot_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The LastSpotRate (194) field.
Sourcepub fn last_forward_points(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn last_forward_points(&self) -> Result<Option<Decimal>, InvalidValue>
The LastForwardPoints (195) field.
Sourcepub fn trade_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn trade_date(&self) -> Result<Option<Date>, InvalidValue>
The TradeDate (75) field.
Sourcepub fn clearing_business_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn clearing_business_date(&self) -> Result<Option<Date>, InvalidValue>
The ClearingBusinessDate (715) field.
Sourcepub fn spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>
pub fn spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>
The SpreadOrBenchmarkCurveData component.
Sourcepub fn avg_px_indicator(&self) -> Result<Option<AvgPxIndicator>, InvalidValue>
pub fn avg_px_indicator(&self) -> Result<Option<AvgPxIndicator>, InvalidValue>
The AvgPxIndicator (819) field.
Sourcepub fn pos_amt(
&self,
) -> Result<Instances<'_, PositionAmountData<'_>>, InvalidValue>
pub fn pos_amt( &self, ) -> Result<Instances<'_, PositionAmountData<'_>>, InvalidValue>
The instances of the NoPosAmt (753) group.
Sourcepub fn multi_leg_reporting_type(
&self,
) -> Result<Option<MultiLegReportingType<'_>>, InvalidValue>
pub fn multi_leg_reporting_type( &self, ) -> Result<Option<MultiLegReportingType<'_>>, InvalidValue>
The MultiLegReportingType (442) field.
Sourcepub fn trade_leg_ref_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trade_leg_ref_id(&self) -> Result<Option<&str>, InvalidValue>
The TradeLegRefID (824) field.
Sourcepub fn legs(&self) -> Result<Instances<'_, TrdInstrmtLegGrp<'_>>, InvalidValue>
pub fn legs(&self) -> Result<Instances<'_, TrdInstrmtLegGrp<'_>>, InvalidValue>
The instances of the NoLegs (555) group.
Sourcepub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The TransactTime (60) field.
Sourcepub fn trd_reg_timestamps(
&self,
) -> Result<Instances<'_, TrdRegTimestamps<'_>>, InvalidValue>
pub fn trd_reg_timestamps( &self, ) -> Result<Instances<'_, TrdRegTimestamps<'_>>, InvalidValue>
The instances of the NoTrdRegTimestamps (768) group.
Sourcepub fn settl_type(&self) -> Result<Option<SettlType<'_>>, InvalidValue>
pub fn settl_type(&self) -> Result<Option<SettlType<'_>>, InvalidValue>
The SettlType (63) field.
Sourcepub fn settl_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn settl_date(&self) -> Result<Option<Date>, InvalidValue>
The SettlDate (64) field.
Sourcepub fn match_status(&self) -> Result<Option<MatchStatus<'_>>, InvalidValue>
pub fn match_status(&self) -> Result<Option<MatchStatus<'_>>, InvalidValue>
The MatchStatus (573) field.
Sourcepub fn match_type(&self) -> Result<Option<MatchType<'_>>, InvalidValue>
pub fn match_type(&self) -> Result<Option<MatchType<'_>>, InvalidValue>
The MatchType (574) field.
Sourcepub fn sides(&self) -> Result<Instances<'_, TrdCapRptSideGrp<'_>>, InvalidValue>
pub fn sides(&self) -> Result<Instances<'_, TrdCapRptSideGrp<'_>>, InvalidValue>
The instances of the NoSides (552) group.
Sourcepub fn copy_msg_indicator(&self) -> Result<Option<bool>, InvalidValue>
pub fn copy_msg_indicator(&self) -> Result<Option<bool>, InvalidValue>
The CopyMsgIndicator (797) field.
Sourcepub fn publish_trd_indicator(&self) -> Result<Option<bool>, InvalidValue>
pub fn publish_trd_indicator(&self) -> Result<Option<bool>, InvalidValue>
The PublishTrdIndicator (852) field.
Sourcepub fn short_sale_reason(&self) -> Result<Option<ShortSaleReason>, InvalidValue>
pub fn short_sale_reason(&self) -> Result<Option<ShortSaleReason>, InvalidValue>
The ShortSaleReason (853) field.