Skip to content

Send Telegram message with overbought/oversold stock from a list

Notifications You must be signed in to change notification settings

Stell0/financealerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FinanceAlerts

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 (optional):

TELEGRAM_CHAT_ID=-123456789
TELEGRAM_BOT_TOKEN=1234567890:XXX-XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX

Launch:

export TICKER_LIST="TSLA INTC"
python3 src/main.py

or

python3 src/main.py INTC

How to setup your github action bot:

NOTE: go to the Actions tab and enable the scheduled workflows because they are disabled for the forked repositories.

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)

About

Send Telegram message with overbought/oversold stock from a list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published