pub struct MarketStateOutput {
pub regime: MarketRegime,
pub volatility_regime: VolatilityRegime,
pub trend_stability: f64,
pub balance_probability: f64,
pub opening_range_percentile: f64,
pub opening_type: OpeningType,
}Expand description
Leithierarchie state (plan Anhang F): Market State → Expected Playbook → Location → Trigger → Trade Geometry → Historical Edge. regime reuses model::MarketRegime
(BullishExpansion/BearishExpansion/Consolidation/Transition) instead of a
second, competing Bull/Bear/Balance enum.
Fields§
§regime: MarketRegime§volatility_regime: VolatilityRegime§trend_stability: f640.0..1.0, analog trend_quality in indicator::swing_structure.
balance_probability: f640.0..1.0. Placeholder heuristic in super::pipeline::build_market_state_and_playbook:
a fixed 0.8/0.2 based only on regime, not a measured probability.
opening_range_percentile: f64Opening Range size vs. the last ~20 sessions, 0.0..1.0. Placeholder heuristic in
super::pipeline::build_market_state_and_playbook: always 0.5 (neutral), not derived
from actual session history.
opening_type: OpeningTypeTrait Implementations§
Source§impl Clone for MarketStateOutput
impl Clone for MarketStateOutput
Source§fn clone(&self) -> MarketStateOutput
fn clone(&self) -> MarketStateOutput
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 MarketStateOutput
Source§impl Debug for MarketStateOutput
impl Debug for MarketStateOutput
Source§impl<'de> Deserialize<'de> for MarketStateOutput
impl<'de> Deserialize<'de> for MarketStateOutput
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 MarketStateOutput
impl PartialEq for MarketStateOutput
Source§impl Serialize for MarketStateOutput
impl Serialize for MarketStateOutput
impl StructuralPartialEq for MarketStateOutput
Auto Trait Implementations§
impl Freeze for MarketStateOutput
impl RefUnwindSafe for MarketStateOutput
impl Send for MarketStateOutput
impl Sync for MarketStateOutput
impl Unpin for MarketStateOutput
impl UnsafeUnpin for MarketStateOutput
impl UnwindSafe for MarketStateOutput
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