pub struct NewOrderSingle(/* private fields */);Expand description
The NewOrderSingle (35=D) message.
Implementations§
Source§impl NewOrderSingle
impl NewOrderSingle
pub const MSG_TYPE: &[u8] = b"D"
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn secondary_cl_ord_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn secondary_cl_ord_id(&self) -> Result<Option<&str>, InvalidValue>
The SecondaryClOrdID (526) field.
Sourcepub fn cl_ord_link_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn cl_ord_link_id(&self) -> Result<Option<&str>, InvalidValue>
The ClOrdLinkID (583) field.
Sourcepub fn party_ids(&self) -> Result<Instances<'_, Parties<'_>>, InvalidValue>
pub fn party_ids(&self) -> Result<Instances<'_, Parties<'_>>, InvalidValue>
The instances of the NoPartyIDs (453) group.
Sourcepub fn trade_origination_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn trade_origination_date(&self) -> Result<Option<Date>, InvalidValue>
The TradeOriginationDate (229) 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 acct_id_source(&self) -> Result<Option<AcctIDSource>, InvalidValue>
pub fn acct_id_source(&self) -> Result<Option<AcctIDSource>, InvalidValue>
The AcctIDSource (660) field.
Sourcepub fn account_type(&self) -> Result<Option<AccountType>, InvalidValue>
pub fn account_type(&self) -> Result<Option<AccountType>, InvalidValue>
The AccountType (581) field.
Sourcepub fn day_booking_inst(
&self,
) -> Result<Option<DayBookingInst<'_>>, InvalidValue>
pub fn day_booking_inst( &self, ) -> Result<Option<DayBookingInst<'_>>, InvalidValue>
The DayBookingInst (589) field.
Sourcepub fn booking_unit(&self) -> Result<Option<BookingUnit<'_>>, InvalidValue>
pub fn booking_unit(&self) -> Result<Option<BookingUnit<'_>>, InvalidValue>
The BookingUnit (590) field.
Sourcepub fn prealloc_method(
&self,
) -> Result<Option<PreallocMethod<'_>>, InvalidValue>
pub fn prealloc_method( &self, ) -> Result<Option<PreallocMethod<'_>>, InvalidValue>
The PreallocMethod (591) field.
Sourcepub fn allocs(&self) -> Result<Instances<'_, PreAllocGrp<'_>>, InvalidValue>
pub fn allocs(&self) -> Result<Instances<'_, PreAllocGrp<'_>>, InvalidValue>
The instances of the NoAllocs (78) 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 cash_margin(&self) -> Result<Option<CashMargin<'_>>, InvalidValue>
pub fn cash_margin(&self) -> Result<Option<CashMargin<'_>>, InvalidValue>
The CashMargin (544) field.
Sourcepub fn clearing_fee_indicator(
&self,
) -> Result<Option<ClearingFeeIndicator<'_>>, InvalidValue>
pub fn clearing_fee_indicator( &self, ) -> Result<Option<ClearingFeeIndicator<'_>>, InvalidValue>
The ClearingFeeIndicator (635) field.
Sourcepub fn handl_inst(&self) -> Result<Option<HandlInst<'_>>, InvalidValue>
pub fn handl_inst(&self) -> Result<Option<HandlInst<'_>>, InvalidValue>
The HandlInst (21) field.
Sourcepub fn exec_inst(
&self,
) -> Result<Option<MultipleValues<'_, ExecInst<'_>>>, InvalidValue>
pub fn exec_inst( &self, ) -> Result<Option<MultipleValues<'_, ExecInst<'_>>>, InvalidValue>
The ExecInst (18) field.
Sourcepub fn ex_destination(&self) -> Result<Option<&str>, InvalidValue>
pub fn ex_destination(&self) -> Result<Option<&str>, InvalidValue>
The ExDestination (100) field.
Sourcepub fn trading_sessions(
&self,
) -> Result<Instances<'_, TrdgSesGrp<'_>>, InvalidValue>
pub fn trading_sessions( &self, ) -> Result<Instances<'_, TrdgSesGrp<'_>>, InvalidValue>
The instances of the NoTradingSessions (386) group.
Sourcepub fn process_code(&self) -> Result<Option<ProcessCode<'_>>, InvalidValue>
pub fn process_code(&self) -> Result<Option<ProcessCode<'_>>, InvalidValue>
The ProcessCode (81) 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 underlyings(
&self,
) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
pub fn underlyings( &self, ) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
The instances of the NoUnderlyings (711) group.
Sourcepub fn prev_close_px(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn prev_close_px(&self) -> Result<Option<Decimal>, InvalidValue>
The PrevClosePx (140) field.
Sourcepub fn locate_reqd(&self) -> Result<Option<bool>, InvalidValue>
pub fn locate_reqd(&self) -> Result<Option<bool>, InvalidValue>
The LocateReqd (114) field.
Sourcepub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The TransactTime (60) field.
Sourcepub fn stipulations(
&self,
) -> Result<Instances<'_, Stipulations<'_>>, InvalidValue>
pub fn stipulations( &self, ) -> Result<Instances<'_, Stipulations<'_>>, InvalidValue>
The instances of the NoStipulations (232) group.
Sourcepub fn order_qty_data(&self) -> OrderQtyData<'_>
pub fn order_qty_data(&self) -> OrderQtyData<'_>
The OrderQtyData component.
Sourcepub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>
pub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>
The PriceType (423) field.
Sourcepub fn spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>
pub fn spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>
The SpreadOrBenchmarkCurveData component.
Sourcepub fn yield_data(&self) -> YieldData<'_>
pub fn yield_data(&self) -> YieldData<'_>
The YieldData component.
Sourcepub fn compliance_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn compliance_id(&self) -> Result<Option<&str>, InvalidValue>
The ComplianceID (376) field.
Sourcepub fn solicited_flag(&self) -> Result<Option<bool>, InvalidValue>
pub fn solicited_flag(&self) -> Result<Option<bool>, InvalidValue>
The SolicitedFlag (377) field.
Sourcepub fn time_in_force(&self) -> Result<Option<TimeInForce<'_>>, InvalidValue>
pub fn time_in_force(&self) -> Result<Option<TimeInForce<'_>>, InvalidValue>
The TimeInForce (59) field.
Sourcepub fn effective_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn effective_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The EffectiveTime (168) field.
Sourcepub fn expire_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn expire_date(&self) -> Result<Option<Date>, InvalidValue>
The ExpireDate (432) field.
Sourcepub fn expire_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn expire_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The ExpireTime (126) field.
Sourcepub fn gt_booking_inst(&self) -> Result<Option<GTBookingInst>, InvalidValue>
pub fn gt_booking_inst(&self) -> Result<Option<GTBookingInst>, InvalidValue>
The GTBookingInst (427) field.
Sourcepub fn commission_data(&self) -> CommissionData<'_>
pub fn commission_data(&self) -> CommissionData<'_>
The CommissionData component.
Sourcepub fn order_capacity(&self) -> Result<Option<OrderCapacity<'_>>, InvalidValue>
pub fn order_capacity(&self) -> Result<Option<OrderCapacity<'_>>, InvalidValue>
The OrderCapacity (528) field.
Sourcepub fn order_restrictions(
&self,
) -> Result<Option<MultipleValues<'_, OrderRestrictions<'_>>>, InvalidValue>
pub fn order_restrictions( &self, ) -> Result<Option<MultipleValues<'_, OrderRestrictions<'_>>>, InvalidValue>
The OrderRestrictions (529) field.
Sourcepub fn cust_order_capacity(
&self,
) -> Result<Option<CustOrderCapacity>, InvalidValue>
pub fn cust_order_capacity( &self, ) -> Result<Option<CustOrderCapacity>, InvalidValue>
The CustOrderCapacity (582) field.
Sourcepub fn settl_currency(&self) -> Result<Option<&str>, InvalidValue>
pub fn settl_currency(&self) -> Result<Option<&str>, InvalidValue>
The SettlCurrency (120) field.
Sourcepub fn booking_type(&self) -> Result<Option<BookingType>, InvalidValue>
pub fn booking_type(&self) -> Result<Option<BookingType>, InvalidValue>
The BookingType (775) field.
Sourcepub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
The EncodedTextLen (354) field.
Sourcepub fn encoded_text(&self) -> Option<&[u8]>
pub fn encoded_text(&self) -> Option<&[u8]>
The EncodedText (355) field.
Sourcepub fn settl_date2(&self) -> Result<Option<Date>, InvalidValue>
pub fn settl_date2(&self) -> Result<Option<Date>, InvalidValue>
The SettlDate2 (193) field.
Sourcepub fn order_qty2(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn order_qty2(&self) -> Result<Option<Decimal>, InvalidValue>
The OrderQty2 (192) field.
Sourcepub fn position_effect(
&self,
) -> Result<Option<PositionEffect<'_>>, InvalidValue>
pub fn position_effect( &self, ) -> Result<Option<PositionEffect<'_>>, InvalidValue>
The PositionEffect (77) field.
Sourcepub fn covered_or_uncovered(
&self,
) -> Result<Option<CoveredOrUncovered>, InvalidValue>
pub fn covered_or_uncovered( &self, ) -> Result<Option<CoveredOrUncovered>, InvalidValue>
The CoveredOrUncovered (203) field.
Sourcepub fn peg_instructions(&self) -> PegInstructions<'_>
pub fn peg_instructions(&self) -> PegInstructions<'_>
The PegInstructions component.
Sourcepub fn discretion_instructions(&self) -> DiscretionInstructions<'_>
pub fn discretion_instructions(&self) -> DiscretionInstructions<'_>
The DiscretionInstructions component.
Sourcepub fn target_strategy(&self) -> Result<Option<TargetStrategy>, InvalidValue>
pub fn target_strategy(&self) -> Result<Option<TargetStrategy>, InvalidValue>
The TargetStrategy (847) field.
Sourcepub fn target_strategy_parameters(&self) -> Result<Option<&str>, InvalidValue>
pub fn target_strategy_parameters(&self) -> Result<Option<&str>, InvalidValue>
The TargetStrategyParameters (848) field.
Sourcepub fn participation_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn participation_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The ParticipationRate (849) field.
Sourcepub fn cancellation_rights(
&self,
) -> Result<Option<CancellationRights<'_>>, InvalidValue>
pub fn cancellation_rights( &self, ) -> Result<Option<CancellationRights<'_>>, InvalidValue>
The CancellationRights (480) field.
Sourcepub fn money_laundering_status(
&self,
) -> Result<Option<MoneyLaunderingStatus<'_>>, InvalidValue>
pub fn money_laundering_status( &self, ) -> Result<Option<MoneyLaunderingStatus<'_>>, InvalidValue>
The MoneyLaunderingStatus (481) field.
Sourcepub fn designation(&self) -> Result<Option<&str>, InvalidValue>
pub fn designation(&self) -> Result<Option<&str>, InvalidValue>
The Designation (494) field.