Skip to content

A simple ETF and stock movement telegram alert bot.

Notifications You must be signed in to change notification settings

MarkMcKinney/asset-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Asset Alert Bot (Go)

I've been wanting to learn Go and I just needed a good project to get inspired by. Recently, I've been wanting custom asset movement alerts for free so I decided to build that in Go.

Currently a continual work-in-progress.

Features

  • Send ETF or stock price movements (current price from the previous day's closing price) updates for ETFs and stocks over Telegram.
  • If today is Monday, get the closing price from the previous Friday.
  • Use Go channels to get all assets at the same time. This will reduce execution time.

Get Started

  1. Create a file called app.env
  2. You'll need a value for the following environmental variables: a. TELEGRAM_BOT_API_KEY=XXXXXXXXX (Your Telegram bot API key) b. ASSETS=GOOG,AAPL,AMD (List of assets that you want to get notifications for (no max)
  3. Currently, I have this running via a cronjob that runs once a day on weekdays.

About

A simple ETF and stock movement telegram alert bot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages