Skip to content

A collection of technical indicators for backtesting and for implementing trading strategies in Python3.

License

Notifications You must be signed in to change notification settings

matteoincremona/algoind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔎 What is it

  • algoind is a python3 package that contains technical indicators for backtesting and for implementing trading strategies.

  • 😃 Who I am

    • 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.

💻 How to Install it

# conda
conda install -c conda-forge algoind
# PyPI
pip install algoind

📈 Features

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)

✅ Example: How to use it

# 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)

⚙️ Discussion and Development

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.

Releases

No releases published

Packages

No packages published

Languages