A Python program which performs technical analysis on stocks.
- Clone the repository from https://github.com/Alpha249/TechnicalAnalysis.
- Run
pip install -r requirements.txt
to install all the required dependencies.
- Open the
main.py
file in an IDE. - Add all your stock
tickers
in theportfolio
variable. - Set your email address in the
email
variable for signal alerts. - Set the
period
variable to your desired period.- Allowed arguments for periods are:
“1d”, “5d”, “1mo”, “3mo”, “6mo”, “1y”, “2y”, “5y”, “10y”, “ytd”, “max”
- Allowed arguments for periods are:
- Set the
interval
variable to your desired interval.- Allowed arguments for interval are:
“1m”, “2m”, “5m”, “15m”, “30m”, “60m”, “90m”, “1h”, “1d”, “5d”, “1wk”, “1mo”, “3mo”
1m
data is only for available for last 7 days- Data interval
<1d
for the last 60 days
- Allowed arguments for interval are:
- This program only works for stocks listed in India.
- Run
python main.py
in the terminal.