Skip to main content

apply_weather

Function apply_weather 

Source
pub fn apply_weather(
    r: &mut Sd2Reading,
    model: &Sd2Model,
    weather: Option<&[f64]>,
)
Expand description

Re-decide a reading’s side with today’s market weather (SPY row from crate::direction::MarketWeather; the first five columns).