pub struct VerticalEntryRules {Show 14 fields
pub type: String,
pub dte_min: u32,
pub dte_max: u32,
pub min_credit: f64,
pub max_width: f64,
pub short_delta_min: f64,
pub short_delta_max: f64,
pub min_pop_pct: Option<f64>,
pub min_distance_to_be_pct: Option<f64>,
pub min_credit_to_width_pct: Option<f64>,
pub reject_short_inside_1sigma: bool,
pub min_iv_rv_ratio: Option<f64>,
pub max_open_positions: u32,
pub max_contracts_per_trade: u32,
}Fields§
§type: String§dte_min: u32§dte_max: u32§min_credit: f64§max_width: f64§short_delta_min: f64§short_delta_max: f64§min_pop_pct: Option<f64>Minimum modeled POP vs break-even (percent). Omit to skip.
min_distance_to_be_pct: Option<f64>Minimum spot cushion above (puts) or below (calls) break-even as % of spot.
min_credit_to_width_pct: Option<f64>Minimum credit / width ratio (percent). Defaults to 12.5 when omitted.
reject_short_inside_1sigma: boolReject candidates whose short strike sits inside the 1σ expected move.
Entry-only (unlike exit_rules.thesis.exit_short_inside_1sigma). Prefer with
farther OTM deltas (~0.10–0.16) so some strikes still clear the gate.
When enabled and chain IV is missing, the gate fails closed (rejects).
min_iv_rv_ratio: Option<f64>Minimum chain IV / realized-vol ratio. Omit to skip. When set, missing IV or RV fails closed (rejects). Typical starting value: 1.15.
max_open_positions: u32§max_contracts_per_trade: u32Trait Implementations§
Source§impl Clone for VerticalEntryRules
impl Clone for VerticalEntryRules
Source§fn clone(&self) -> VerticalEntryRules
fn clone(&self) -> VerticalEntryRules
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 VerticalEntryRules
impl Debug for VerticalEntryRules
Source§impl Default for VerticalEntryRules
impl Default for VerticalEntryRules
Source§impl<'de> Deserialize<'de> for VerticalEntryRuleswhere
VerticalEntryRules: Default,
impl<'de> Deserialize<'de> for VerticalEntryRuleswhere
VerticalEntryRules: Default,
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 VerticalEntryRules
impl RefUnwindSafe for VerticalEntryRules
impl Send for VerticalEntryRules
impl Sync for VerticalEntryRules
impl Unpin for VerticalEntryRules
impl UnsafeUnpin for VerticalEntryRules
impl UnwindSafe for VerticalEntryRules
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more