For each ticker in environment var TICKER_LIST, the software checks RSI and bollinger bands and output a BUY/SELL signal.
If a Telegram TELEGRAM_CHAT_ID and TELEGRAM_BOT_TOKEN environment variables are provided, alerts are also sent to the Telegram chat.
INDICATORS env is the list of indicators that can be used. Possible values: RSI, BB, SMA, MACD
TELEGRAM_CHAT_ID=-123456789
TELEGRAM_BOT_TOKEN=1234567890:XXX-XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX
export TICKER_LIST="TSLA INTC"
python3 src/main.py
or
python3 src/main.py INTC
-
fork this repository
-
add into your https://github.com/YOUR_USERNAME/financealerts/settings/secrets/actions the following variables:
DOCKERHUB_USERNAME
: your dockerhub usernameDOCKERHUB_TOKEN
: dockerhub read/write access token https://hub.docker.com/settings/securityTELEGRAM_CHAT_ID
: the ID of the telegram chat you whant your message to be sentTELEGRAM_BOT_TOKEN
: a telegram bot tokenTICKER_LIST
-
change all "stell0" occurrence in .github/workflows/*.yml with your username
NOTE: go to the Actions tab and enable the scheduled workflows because they are disabled for the forked repositories.
- add into your action secrets the following variables:
TELEGRAM_CHAT_ID
: the ID of the telegram chat you whant your message to be sent
TELEGRAM_BOT_TOKEN
: a telegram bot token
- Then add in your action variablesthe variable with the list of tickers to analyze
TICKER_LIST
: list of tickers
TSLA
INTC
AAPL
NOTE: you can add ticker from London stock exchange adding a .L to the ticker, and .AX for Australian stock exchange e.g. ANIC.L, PLS.AX.
then wait ⏱️ (cron is launched once a day)