Skip to content
New: Star-import, signal unraveling, Python 3.12 support, and more

#
enums module

Named tuples and enumerated types for returns.

## RollSharpeAIS class

    RollSharpeAIS(
        i,
        ret,
        pre_window_ret,
        cumsum,
        cumsum_sq,
        nancnt,
        window,
        minp,
        ddof,
        ann_factor
    )

A named tuple representing the input state of rolling_sharpe_acc_nb().

Superclasses

- `builtins.tuple`

### ann_factor method-wrapper

Alias for field number 9

### cumsum method-wrapper

Alias for field number 3

### cumsum_sq method-wrapper

Alias for field number 4

### ddof method-wrapper

Alias for field number 8

### i method-wrapper

Alias for field number 0

### minp method-wrapper

Alias for field number 7

### nancnt method-wrapper

Alias for field number 5

### pre_window_ret method-wrapper

Alias for field number 2

### ret method-wrapper

Alias for field number 1

### window method-wrapper

Alias for field number 6

## RollSharpeAOS class

    RollSharpeAOS(
        cumsum,
        cumsum_sq,
        nancnt,
        value
    )

A named tuple representing the output state of rolling_sharpe_acc_nb().

Superclasses

- `builtins.tuple`

### cumsum method-wrapper

Alias for field number 0

### cumsum_sq method-wrapper

Alias for field number 1

### nancnt method-wrapper

Alias for field number 2

### value method-wrapper

Alias for field number 3

#### Cookie consent

We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better.

- Google Analytics
- GitHub

Manage settings