peerchemist / finta

Common financial technical indicators implemented in Pandas.
GNU Lesser General Public License v3.0
2.13k stars 688 forks source link

error in example #117

Closed bsdis closed 3 years ago

bsdis commented 3 years ago

TA.BBANDS(ohlc, TA.KAMA(ohlc, 20)) gives error: ValueError: window must be an integer

A working example

A non working example

100% reliable

Run the example

pd: 1.2.4 (also tried 1.0.5) finta: 1.3 MacOS python 3.8.3

No

bsdis commented 3 years ago

change example to TA.BBANDS(ohlc, MA = TA.KAMA(ohlc, 20))

peerchemist commented 3 years ago

Thanks.