Last active
March 26, 2021 17:49
-
-
Save randie/5cac0dbf845b8b323a311ed32abea2c7 to your computer and use it in GitHub Desktop.
bta-lib adx() does not work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import btalib as bta | |
df = pd.read_csv("data/tickers/AMD.csv", parse_dates=True, index_col='Date') | |
df['rsi'] = bta.rsi(df).df # works | |
df['adx'] = bta.adx(df).df # does not work | |
print(df.tail()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment