enums module¶
Named tuples and enumerated types.
Defines enums and other schemas for vectorbt.labels.
TrendMode TrendModeT¶
Trend mode.
{
"Binary": 0,
"BinaryCont": 1,
"BinaryContSat": 2,
"PctChange": 3,
"PctChangeNorm": 4
}
Attributes
Binary
- See bn_trend_labels_nb().
BinaryCont
- See bn_cont_trend_labels_nb().
BinaryContSat
- See bn_cont_sat_trend_labels_nb().
PctChange
- See pct_trend_labels_nb().
PctChangeNorm
- See pct_trend_labels_nb() with
normalize
set to True.
TrendModeT class¶
TrendModeT(
Binary=0,
BinaryCont=1,
BinaryContSat=2,
PctChange=3,
PctChangeNorm=4
)
TrendModeT(Binary, BinaryCont, BinaryContSat, PctChange, PctChangeNorm)
Superclasses
builtins.tuple
Binary method-wrapper¶
Alias for field number 0
BinaryCont method-wrapper¶
Alias for field number 1
BinaryContSat method-wrapper¶
Alias for field number 2
PctChange method-wrapper¶
Alias for field number 3
PctChangeNorm method-wrapper¶
Alias for field number 4