mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 11:49:18 +08:00
5730de25a4
All terms just implement `_compute` now. (We reserve `compute` for the public API of `CustomFactor`.) Also removed `TestingTermMixin` and its subclasses in favor of just using `CustomFactor.`
24 lines
355 B
Python
24 lines
355 B
Python
from .factor import (
|
|
Factor,
|
|
CustomFactor,
|
|
)
|
|
from .latest import Latest
|
|
from .technical import (
|
|
MaxDrawdown,
|
|
RSI,
|
|
SimpleMovingAverage,
|
|
VWAP,
|
|
WeightedAverageValue,
|
|
)
|
|
|
|
__all__ = [
|
|
'CustomFactor',
|
|
'Factor',
|
|
'Latest',
|
|
'MaxDrawdown',
|
|
'RSI',
|
|
'SimpleMovingAverage',
|
|
'VWAP',
|
|
'WeightedAverageValue',
|
|
]
|