pub struct MarketEntrySizingAudit {Show 13 fields
pub action_id: String,
pub trade_id: Option<String>,
pub configured_basis: MarketEntrySizingBasis,
pub applied_basis: MarketEntrySizingBasis,
pub fallback_to_fill: bool,
pub original_signal_price: Option<f64>,
pub sizing_reference_price: f64,
pub execution_price: f64,
pub protective_stop: Option<f64>,
pub requested_account_risk: Option<f64>,
pub native_loss_per_lot: Option<f64>,
pub account_loss_per_lot: Option<f64>,
pub final_lot: f64,
}Expand description
Sizing inputs and outputs recorded for one successfully executed market entry.
Fields§
§action_id: String§trade_id: Option<String>§configured_basis: MarketEntrySizingBasis§applied_basis: MarketEntrySizingBasis§fallback_to_fill: bool§original_signal_price: Option<f64>§sizing_reference_price: f64§execution_price: f64§protective_stop: Option<f64>§requested_account_risk: Option<f64>§native_loss_per_lot: Option<f64>§account_loss_per_lot: Option<f64>§final_lot: f64Trait Implementations§
Source§impl Clone for MarketEntrySizingAudit
impl Clone for MarketEntrySizingAudit
Source§fn clone(&self) -> MarketEntrySizingAudit
fn clone(&self) -> MarketEntrySizingAudit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MarketEntrySizingAudit
impl Debug for MarketEntrySizingAudit
Source§impl<'de> Deserialize<'de> for MarketEntrySizingAudit
impl<'de> Deserialize<'de> for MarketEntrySizingAudit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MarketEntrySizingAudit
impl PartialEq for MarketEntrySizingAudit
Source§impl Serialize for MarketEntrySizingAudit
impl Serialize for MarketEntrySizingAudit
impl StructuralPartialEq for MarketEntrySizingAudit
Auto Trait Implementations§
impl Freeze for MarketEntrySizingAudit
impl RefUnwindSafe for MarketEntrySizingAudit
impl Send for MarketEntrySizingAudit
impl Sync for MarketEntrySizingAudit
impl Unpin for MarketEntrySizingAudit
impl UnsafeUnpin for MarketEntrySizingAudit
impl UnwindSafe for MarketEntrySizingAudit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more