pub struct DealingRules {
pub controlled_risk_spacing: DealingRule,
pub market_order_preference: MarketOrderPreference,
pub max_stop_or_limit_distance: DealingRule,
pub min_controlled_risk_stop_distance: DealingRule,
pub min_deal_size: DealingRule,
pub min_normal_stop_or_limit_distance: DealingRule,
pub min_step_distance: DealingRule,
pub trailing_stops_preference: TrailingStopsPreference,
}Expand description
Dealing rules.
Fields§
§controlled_risk_spacing: DealingRuleControlled risk spacing.
market_order_preference: MarketOrderPreferenceClient’s market order trading preference
max_stop_or_limit_distance: DealingRuleMax stop or limit distance.
min_controlled_risk_stop_distance: DealingRuleMin controlled risk stop distance.
min_deal_size: DealingRuleMin deal size.
min_normal_stop_or_limit_distance: DealingRuleMin normal stop or limit distance.
min_step_distance: DealingRuleMin step distance.
trailing_stops_preference: TrailingStopsPreferenceTrailing stops trading preference for the specified market.
Trait Implementations§
Source§impl Debug for DealingRules
impl Debug for DealingRules
Source§impl<'de> Deserialize<'de> for DealingRules
impl<'de> Deserialize<'de> for DealingRules
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
Auto Trait Implementations§
impl Freeze for DealingRules
impl RefUnwindSafe for DealingRules
impl Send for DealingRules
impl Sync for DealingRules
impl Unpin for DealingRules
impl UnsafeUnpin for DealingRules
impl UnwindSafe for DealingRules
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