GitHub - Bukosabino - Ta - Technical Analysis Library Using Pandas and Numpy
GitHub - Bukosabino - Ta - Technical Analysis Library Using Pandas and Numpy
2022 16:51 GitHub - bukosabino/ta: Technical Analysis Library using Pandas and Numpy
bukosabino / ta Public
technical-analysis-library-in-python.readthedocs.io/en/latest/
MIT License
3k
stars
706
forks
Star Notifications
master
Go to file
View code
build passing
docs passing
coverage 98%
code style black
Linter Prospector
pypi v0.10.1
downloads 73k/month
Donate $ PayPal
https://github.com/bukosabino/ta 1/7
4.05.2022 16:51 GitHub - bukosabino/ta: Technical Analysis Library using Pandas and Numpy
Volume
Volatility
https://github.com/bukosabino/ta 2/7
4.05.2022 16:51 GitHub - bukosabino/ta: Technical Analysis Library using Pandas and Numpy
Trend
Momentum
Others
Documentation
https://technical-analysis-library-in-python.readthedocs.io/en/latest/
https://github.com/bukosabino/ta 3/7
4.05.2022 16:51 GitHub - bukosabino/ta: Technical Analysis Library using Pandas and Numpy
Motivation to use
English
Spanish
To use this library you should have a financial time series dataset including Timestamp ,
Open , High , Low , Close and Volume columns.
You should clean or fill NaN values in your dataset before add technical analysis features.
import pandas as pd
# Load datas
df = pd.read_csv('ta/tests/data/datas.csv', sep=',')
df = dropna(df)
df = add_all_ta_features(
import pandas as pd
# Load datas
df = pd.read_csv('ta/tests/data/datas.csv', sep=',')
https://github.com/bukosabino/ta 4/7
4.05.2022 16:51 GitHub - bukosabino/ta: Technical Analysis Library using Pandas and Numpy
df = dropna(df)
df['bb_bbm'] = indicator_bb.bollinger_mavg()
df['bb_bbh'] = indicator_bb.bollinger_hband()
df['bb_bbl'] = indicator_bb.bollinger_lband()
df['bb_bbhi'] = indicator_bb.bollinger_hband_indicator()
df['bb_bbli'] = indicator_bb.bollinger_lband_indicator()
df['bb_bbw'] = indicator_bb.bollinger_wband()
df['bb_bbp'] = indicator_bb.bollinger_pband()
$ cd ta
$ make test
Sponsor
Based on
https://github.com/bukosabino/ta 5/7
4.05.2022 16:51 GitHub - bukosabino/ta: Technical Analysis Library using Pandas and Numpy
https://en.wikipedia.org/wiki/Technical_analysis
https://pandas.pydata.org
https://github.com/FreddieWitherden/ta
https://github.com/femtotrader/pandas_talib
In Progress
Automated tests for all the indicators.
TODO
Use NumExpr to speed up the NumPy/Pandas operations? Article Motivation
Add more technical analysis features.
Wrapper to get financial data.
Use of the Pandas multi-indexing techniques to calculate several indicators at the same
time.
Use Plotly/Streamlit to visualize features
Changelog
Check the changelog of project.
Donation
README.md
Credits
Developed by Darío López Padial (aka Bukosabino) and other contributors.
Also, I am a software engineer freelance focused on Data Science using Python tools such as
Pandas, Scikit-Learn, Backtrader, Zipline or Catalyst. Don't hesitate to contact me if you need
to develop something related with this library, Python, Technical Analysis, AlgoTrading,
Machine Learning, etc.
R l
https://github.com/bukosabino/ta 6/7
4.05.2022 16:51 GitHub - bukosabino/ta: Technical Analysis Library using Pandas and Numpy
Releases
62
tags
bukosabino
Darío López Padial
tidelift.com/funding/github/pypi/ta
Packages
No packages published
Used by 1.1k
+ 1,120
Contributors 25
+ 14 contributors
Languages
https://github.com/bukosabino/ta 7/7