minor fix

This commit is contained in:
David Brazda
2024-10-10 10:42:40 +02:00
parent 583c00ff5d
commit 6833710e66
3 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@ Example usage:
```python
from ttools import AnchoredIndicator
mom_standard = vbt.indicator("talib:MOM").run(t1data.data["BAC"].close)
mom_anchored_d = AnchoredIndicator("talib:MOM", anchor='D').run(t1data.data["BAC"].close)
mom = vbt.indicator("talib:MOM").run(t1data.data["BAC"].close, timeperiod=10, skipna=True) #standard indicator
mom_anch_d = AnchoredIndicator("talib:MOM", anchor='D').run(t1data.data["BAC"].close, timeperiod=10, skipna=True) #anchored to D
```