Skip to content

iter_ module

Numba-compiled functions for iterative portfolio simulation.


iter_above_nb function

iter_above_nb(
    c,
    arr1,
    arr2,
    i=None,
    col=None
)

Call iter_above_nb() on the context.

If any of the arguments are None, will use the respective value from the context.


iter_below_nb function

iter_below_nb(
    c,
    arr1,
    arr2,
    i=None,
    col=None
)

Call iter_below_nb() on the context.

If any of the arguments are None, will use the respective value from the context.


iter_crossed_above_nb function

iter_crossed_above_nb(
    c,
    arr1,
    arr2,
    i=None,
    col=None
)

Call iter_crossed_above_nb() on the context.

If any of the arguments are None, will use the respective value from the context.


iter_crossed_below_nb function

iter_crossed_below_nb(
    c,
    arr1,
    arr2,
    i=None,
    col=None
)

Call iter_crossed_below_nb() on the context.

If any of the arguments are None, will use the respective value from the context.


select_from_col_nb function

select_from_col_nb(
    c,
    col,
    arr,
    i=None
)

Get the current element from a specific column using flexible indexing.

If any of the arguments are None, will use the respective value from the context.


select_nb function

select_nb(
    c,
    arr,
    i=None,
    col=None
)

Get the current element using flexible indexing.

If any of the arguments are None, will use the respective value from the context.