pub struct StructuralTrailingStop {
pub current_stop: f64,
pub is_long: bool,
}Expand description
Tracks a structural (non-ATR, non-break-even) trailing stop: the stop only advances when the market has printed new confirmed structure, and only ever tightens risk — never loosens it (plan Anhang G.2: “Stop wird nur nachgezogen, wenn der Markt neue Struktur erzeugt hat”).
Fields§
§current_stop: f64§is_long: boolImplementations§
Trait Implementations§
Source§impl Clone for StructuralTrailingStop
impl Clone for StructuralTrailingStop
Source§fn clone(&self) -> StructuralTrailingStop
fn clone(&self) -> StructuralTrailingStop
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 moreimpl Copy for StructuralTrailingStop
Source§impl Debug for StructuralTrailingStop
impl Debug for StructuralTrailingStop
Source§impl PartialEq for StructuralTrailingStop
impl PartialEq for StructuralTrailingStop
impl StructuralPartialEq for StructuralTrailingStop
Auto Trait Implementations§
impl Freeze for StructuralTrailingStop
impl RefUnwindSafe for StructuralTrailingStop
impl Send for StructuralTrailingStop
impl Sync for StructuralTrailingStop
impl Unpin for StructuralTrailingStop
impl UnsafeUnpin for StructuralTrailingStop
impl UnwindSafe for StructuralTrailingStop
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