Skip to main content

run_allocator

Function run_allocator 

Source
pub fn run_allocator(
    a: &dyn Allocator,
    lanes: &[Lane],
    calendar: &[NaiveDate],
    start: usize,
    end: usize,
    capital: f64,
) -> Run
Expand description

Trade an allocator over calendar days start..=end (start = the close before the period, where the first decision is made).