resolve_tick_delta

simulation.resolve_tick_delta(tau_steps_per_day, tick, delta)

Add a delta to a tick to get the index of the resulting tick.

Parameters

tau_steps_per_day: int

The number of simulation tau steps per day.

tick: Tick

The tick to start from.

delta: TickDelta

A delta to add to tick.

Returns

int

The result of adding delta to tick, as a tick index.