pub struct FeatureRecord {
pub timestamp: i64,
pub symbol: String,
pub regime: MarketRegime,
pub indicator_values: HashMap<String, f64>,
pub subscores: HashMap<String, f64>,
pub trigger: TriggerAction,
pub score: f64,
pub agreement: f64,
}Expand description
Exportable snapshot record of features, regime, and signal outputs for research or logging sinks.
Fields§
§timestamp: i64§symbol: String§regime: MarketRegime§indicator_values: HashMap<String, f64>§subscores: HashMap<String, f64>§trigger: TriggerAction§score: f64§agreement: f64Trait Implementations§
Source§impl Clone for FeatureRecord
impl Clone for FeatureRecord
Source§fn clone(&self) -> FeatureRecord
fn clone(&self) -> FeatureRecord
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 FeatureRecord
impl Debug for FeatureRecord
Source§impl<'de> Deserialize<'de> for FeatureRecord
impl<'de> Deserialize<'de> for FeatureRecord
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 FeatureRecord
impl PartialEq for FeatureRecord
Source§impl Serialize for FeatureRecord
impl Serialize for FeatureRecord
impl StructuralPartialEq for FeatureRecord
Auto Trait Implementations§
impl Freeze for FeatureRecord
impl RefUnwindSafe for FeatureRecord
impl Send for FeatureRecord
impl Sync for FeatureRecord
impl Unpin for FeatureRecord
impl UnsafeUnpin for FeatureRecord
impl UnwindSafe for FeatureRecord
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