pub struct SignalEvaluationRecord {
pub timestamp: i64,
pub trigger: TriggerAction,
pub score: f64,
pub confidence: f64,
pub entry_price: f64,
pub exit_price: f64,
pub realized_r_multiple: f64,
pub duration_bars: u32,
pub outcome: TradeOutcome,
}Expand description
Recorded evaluation entry of a signal execution.
Fields§
§timestamp: i64§trigger: TriggerAction§score: f64§confidence: f64§entry_price: f64§exit_price: f64§realized_r_multiple: f64§duration_bars: u32§outcome: TradeOutcomeTrait Implementations§
Source§impl Clone for SignalEvaluationRecord
impl Clone for SignalEvaluationRecord
Source§fn clone(&self) -> SignalEvaluationRecord
fn clone(&self) -> SignalEvaluationRecord
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 SignalEvaluationRecord
impl Debug for SignalEvaluationRecord
Source§impl<'de> Deserialize<'de> for SignalEvaluationRecord
impl<'de> Deserialize<'de> for SignalEvaluationRecord
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 SignalEvaluationRecord
impl PartialEq for SignalEvaluationRecord
Source§impl Serialize for SignalEvaluationRecord
impl Serialize for SignalEvaluationRecord
impl StructuralPartialEq for SignalEvaluationRecord
Auto Trait Implementations§
impl Freeze for SignalEvaluationRecord
impl RefUnwindSafe for SignalEvaluationRecord
impl Send for SignalEvaluationRecord
impl Sync for SignalEvaluationRecord
impl Unpin for SignalEvaluationRecord
impl UnsafeUnpin for SignalEvaluationRecord
impl UnwindSafe for SignalEvaluationRecord
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