Skip to main content

builtin

Function builtin 

Source
pub fn builtin(
    model: Model,
    view: &View<'_>,
    day: &BusinessDay,
    minutes: u16,
) -> Result<Forecast, NoForecast>
Expand description

The built-in model’s forecast for day with market time unit minutes, from prices known in view (its instant is the issue time).

§Errors

NoForecast::NoHistory when the prices a point or the calibration needs are not known.