pub struct ActiveSetup {
pub id: u64,
pub timestamp: i64,
pub trigger: TriggerAction,
pub score: f64,
pub agreement: f64,
pub entry_price: f64,
pub target_price: f64,
pub stop_price: f64,
pub max_favorable_excursion: f64,
pub max_adverse_excursion: f64,
pub duration_bars: usize,
pub max_duration_bars: usize,
}Expand description
Active setup tracking record for lookahead-free forward evaluation.
Fields§
§id: u64§timestamp: i64§trigger: TriggerAction§score: f64§agreement: f64§entry_price: f64§target_price: f64§stop_price: f64§max_favorable_excursion: f64§max_adverse_excursion: f64§duration_bars: usize§max_duration_bars: usizeTrait Implementations§
Source§impl Clone for ActiveSetup
impl Clone for ActiveSetup
Source§fn clone(&self) -> ActiveSetup
fn clone(&self) -> ActiveSetup
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 ActiveSetup
impl Debug for ActiveSetup
Source§impl<'de> Deserialize<'de> for ActiveSetup
impl<'de> Deserialize<'de> for ActiveSetup
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 ActiveSetup
impl PartialEq for ActiveSetup
Source§impl Serialize for ActiveSetup
impl Serialize for ActiveSetup
impl StructuralPartialEq for ActiveSetup
Auto Trait Implementations§
impl Freeze for ActiveSetup
impl RefUnwindSafe for ActiveSetup
impl Send for ActiveSetup
impl Sync for ActiveSetup
impl Unpin for ActiveSetup
impl UnsafeUnpin for ActiveSetup
impl UnwindSafe for ActiveSetup
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