Skip to content
/ Ecb Public

Telegram bot to stay up to date on the events of the financial world

Notifications You must be signed in to change notification settings

pNre/Ecb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Economic calendar bot

to stay up to date on the events of the financial world

General info

The bot is build on a serverless architecture using AWS services.

The architecture is composed of 2 Lambdas:

  • Telegram: webook to receive Telegram updates
  • Calendar: responsible for fetching the events from the economic calendar (provided by investing.com), persisting them and sending reminders to subscribed users

a pair of DynamoDB tables to hold subscribers and events and a series of CloudWatch Event scheduled to perform events such updating the calendar and pushing upcoming events to subscribers.

All the details of the stack are outlined in stack/lib/ec-stack.ts

Building

Requirements

  • Docker (some recent version)

How to

In src just run build.sh, it should take care of preparing a Docker container, compiling the source code and packing the binaries for the deployment.

Deploying

Requirements

  • Yarn 1.15+

How to

The deployment phase is performed via a CDK script. Move into the stack and run:

yarn install
yarn build

then

export TELEGRAM=TOKEN_OF_YOUR_TELEGRAM_BOT
cdk deploy

About

Telegram bot to stay up to date on the events of the financial world

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published