Skip to main content

TradeCaptureReport

Struct TradeCaptureReport 

Source
pub struct TradeCaptureReport(/* private fields */);
Expand description

The TradeCaptureReport (35=AE) message.

Implementations§

Source§

impl TradeCaptureReport

Source

pub const MSG_TYPE: &[u8] = b"AE"

Source

pub fn from_raw(raw: RawMessage) -> Self

Source

pub fn raw(&self) -> &RawMessage

Source

pub fn header(&self) -> Header<'_>

Source

pub fn trailer(&self) -> Trailer<'_>

Source

pub fn trade_report_id(&self) -> Result<Option<&str>, InvalidValue>

The TradeReportID (571) field.

Source

pub fn trade_report_trans_type(&self) -> Result<Option<i64>, InvalidValue>

The TradeReportTransType (487) field.

Source

pub fn trade_report_type(&self) -> Result<Option<TradeReportType>, InvalidValue>

The TradeReportType (856) field.

Source

pub fn trade_request_id(&self) -> Result<Option<&str>, InvalidValue>

The TradeRequestID (568) field.

Source

pub fn trd_type(&self) -> Result<Option<TrdType>, InvalidValue>

The TrdType (828) field.

Source

pub fn trd_sub_type(&self) -> Result<Option<i64>, InvalidValue>

The TrdSubType (829) field.

Source

pub fn secondary_trd_type(&self) -> Result<Option<i64>, InvalidValue>

The SecondaryTrdType (855) field.

Source

pub fn transfer_reason(&self) -> Result<Option<&str>, InvalidValue>

The TransferReason (830) field.

Source

pub fn exec_type(&self) -> Result<Option<ExecType<'_>>, InvalidValue>

The ExecType (150) field.

Source

pub fn tot_num_trade_reports(&self) -> Result<Option<i64>, InvalidValue>

The TotNumTradeReports (748) field.

Source

pub fn last_rpt_requested(&self) -> Result<Option<bool>, InvalidValue>

The LastRptRequested (912) field.

Source

pub fn unsolicited_indicator(&self) -> Result<Option<bool>, InvalidValue>

The UnsolicitedIndicator (325) field.

Source

pub fn subscription_request_type( &self, ) -> Result<Option<SubscriptionRequestType<'_>>, InvalidValue>

The SubscriptionRequestType (263) field.

Source

pub fn trade_report_ref_id(&self) -> Result<Option<&str>, InvalidValue>

The TradeReportRefID (572) field.

Source

pub fn secondary_trade_report_ref_id( &self, ) -> Result<Option<&str>, InvalidValue>

The SecondaryTradeReportRefID (881) field.

Source

pub fn secondary_trade_report_id(&self) -> Result<Option<&str>, InvalidValue>

The SecondaryTradeReportID (818) field.

The TradeLinkID (820) field.

Source

pub fn trd_match_id(&self) -> Result<Option<&str>, InvalidValue>

The TrdMatchID (880) field.

Source

pub fn exec_id(&self) -> Result<Option<&str>, InvalidValue>

The ExecID (17) field.

Source

pub fn ord_status(&self) -> Result<Option<OrdStatus<'_>>, InvalidValue>

The OrdStatus (39) field.

Source

pub fn secondary_exec_id(&self) -> Result<Option<&str>, InvalidValue>

The SecondaryExecID (527) field.

Source

pub fn exec_restatement_reason( &self, ) -> Result<Option<ExecRestatementReason>, InvalidValue>

The ExecRestatementReason (378) field.

Source

pub fn previously_reported(&self) -> Result<Option<bool>, InvalidValue>

The PreviouslyReported (570) field.

Source

pub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>

The PriceType (423) field.

Source

pub fn instrument(&self) -> Instrument<'_>

The Instrument component.

Source

pub fn financing_details(&self) -> FinancingDetails<'_>

The FinancingDetails component.

Source

pub fn order_qty_data(&self) -> OrderQtyData<'_>

The OrderQtyData component.

Source

pub fn qty_type(&self) -> Result<Option<QtyType>, InvalidValue>

The QtyType (854) field.

Source

pub fn yield_data(&self) -> YieldData<'_>

The YieldData component.

Source

pub fn underlyings( &self, ) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>

The instances of the NoUnderlyings (711) group.

Source

pub fn underlying_trading_session_id( &self, ) -> Result<Option<&str>, InvalidValue>

The UnderlyingTradingSessionID (822) field.

Source

pub fn underlying_trading_session_sub_id( &self, ) -> Result<Option<&str>, InvalidValue>

The UnderlyingTradingSessionSubID (823) field.

Source

pub fn last_qty(&self) -> Result<Option<Decimal>, InvalidValue>

The LastQty (32) field.

Source

pub fn last_px(&self) -> Result<Option<Decimal>, InvalidValue>

The LastPx (31) field.

Source

pub fn last_par_px(&self) -> Result<Option<Decimal>, InvalidValue>

The LastParPx (669) field.

Source

pub fn last_spot_rate(&self) -> Result<Option<Decimal>, InvalidValue>

The LastSpotRate (194) field.

Source

pub fn last_forward_points(&self) -> Result<Option<Decimal>, InvalidValue>

The LastForwardPoints (195) field.

Source

pub fn last_mkt(&self) -> Result<Option<&str>, InvalidValue>

The LastMkt (30) field.

Source

pub fn trade_date(&self) -> Result<Option<Date>, InvalidValue>

The TradeDate (75) field.

Source

pub fn clearing_business_date(&self) -> Result<Option<Date>, InvalidValue>

The ClearingBusinessDate (715) field.

Source

pub fn avg_px(&self) -> Result<Option<Decimal>, InvalidValue>

The AvgPx (6) field.

Source

pub fn spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>

The SpreadOrBenchmarkCurveData component.

Source

pub fn avg_px_indicator(&self) -> Result<Option<AvgPxIndicator>, InvalidValue>

The AvgPxIndicator (819) field.

Source

pub fn pos_amt( &self, ) -> Result<Instances<'_, PositionAmountData<'_>>, InvalidValue>

The instances of the NoPosAmt (753) group.

Source

pub fn multi_leg_reporting_type( &self, ) -> Result<Option<MultiLegReportingType<'_>>, InvalidValue>

The MultiLegReportingType (442) field.

Source

pub fn trade_leg_ref_id(&self) -> Result<Option<&str>, InvalidValue>

The TradeLegRefID (824) field.

Source

pub fn legs(&self) -> Result<Instances<'_, TrdInstrmtLegGrp<'_>>, InvalidValue>

The instances of the NoLegs (555) group.

Source

pub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>

The TransactTime (60) field.

Source

pub fn trd_reg_timestamps( &self, ) -> Result<Instances<'_, TrdRegTimestamps<'_>>, InvalidValue>

The instances of the NoTrdRegTimestamps (768) group.

Source

pub fn settl_type(&self) -> Result<Option<SettlType<'_>>, InvalidValue>

The SettlType (63) field.

Source

pub fn settl_date(&self) -> Result<Option<Date>, InvalidValue>

The SettlDate (64) field.

Source

pub fn match_status(&self) -> Result<Option<MatchStatus<'_>>, InvalidValue>

The MatchStatus (573) field.

Source

pub fn match_type(&self) -> Result<Option<MatchType<'_>>, InvalidValue>

The MatchType (574) field.

Source

pub fn sides(&self) -> Result<Instances<'_, TrdCapRptSideGrp<'_>>, InvalidValue>

The instances of the NoSides (552) group.

Source

pub fn copy_msg_indicator(&self) -> Result<Option<bool>, InvalidValue>

The CopyMsgIndicator (797) field.

Source

pub fn publish_trd_indicator(&self) -> Result<Option<bool>, InvalidValue>

The PublishTrdIndicator (852) field.

Source

pub fn short_sale_reason(&self) -> Result<Option<ShortSaleReason>, InvalidValue>

The ShortSaleReason (853) field.

Trait Implementations§

Source§

impl Debug for TradeCaptureReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for TradeCaptureReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl !Freeze for TradeCaptureReport

§

impl Forget for TradeCaptureReport

§

impl Move for TradeCaptureReport

§

impl RefUnwindSafe for TradeCaptureReport

§

impl Send for TradeCaptureReport
where Bytes: Send, RawVecInner: Send,

§

impl Sync for TradeCaptureReport
where Bytes: Sync, RawVecInner: Sync,

§

impl Unpin for TradeCaptureReport
where *const u8: Unpin, Align8<*mut ()>: Unpin, &'static Vtable: Unpin, *const u8 is !null: Unpin,

§

impl UnsafeUnpin for TradeCaptureReport
where *const u8: UnsafeUnpin, Align8<*mut ()>: UnsafeUnpin, &'static Vtable: UnsafeUnpin, *const u8 is !null: UnsafeUnpin, PhantomData<RawField>: UnsafeUnpin,

§

impl UnwindSafe for TradeCaptureReport
where *const u8: UnwindSafe, Align8<*mut ()>: UnwindSafe, &'static Vtable: UnwindSafe, RawVecInner: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.