-
algoind is a python3 package that contains technical indicators for backtesting and for implementing trading strategies.
-
- My name is Matteo, a young FinTech student.
- I love data and coding, so I decided to create this library.
- 👋 You can find my contacts here.
-
The source code is currently hosted on GitHub at: https://github.com/matteoincremona/algoind/
-
Thanks to Investopedia.com which provided me a vast amount of knowledge to be able to create this library.
# conda
conda install -c conda-forge algoind
# PyPI
pip install algoind
This is the list of all the indicators algoind contains:
- Single Moving Average (SMA)
- Exponential Moving Average (EMA)
- Average True Range (ATR)
- Relative Strenght Index (RSI)
- Upper Bollinger Bands (BBU)
- Lower Bollinger Bands (BBL)
- Mid Bollinger Bands (BBM)
- Moving Average Convergence Divergence (MACD)
- Moving Average Convergence Divergence Signal (MACDsignal)
# After the installation of the package:
import algoind
from algoind import indicators as ind
# Let's try SMA: what should we know about it?
help(ind.SMA)
# Let's try SMA that takes, for example:
# - The close prices of a df: "df.Close"
# - The period for the calculation of the SMA: "20"
SMA20 = ind.SMA(df.Close, 20)
# To see the values of the indicator:
print(SMA20)
I would be very enthusiastic if somebody would like to help me with this project.
Contact me if you have any problems or if you want me to add new indicators.
Thank you.