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

#
enums module

Named tuples and enumerated types for label generation.

Defines enums and other schemas for vectorbtpro.labels.

## TrendLabelMode TrendLabelModeT

Trend label mode.

    TrendLabelModeT(
        Binary=0,
        BinaryCont=1,
        BinaryContSat=2,
        PctChange=3,
        PctChangeNorm=4
    )

Attributes

`Binary`
  See bin_trend_labels_nb().
`BinaryCont`
  See binc_trend_labels_nb().
`BinaryContSat`
  See bincs_trend_labels_nb().
`PctChange`
  See pct_trend_labels_nb() with `normalize` set to False.
`PctChangeNorm`
  See pct_trend_labels_nb() with `normalize` set to True.

#### 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