Skip to content

A basic Telegram bot to fetch currency rates and notify you for any potential gain/loss

Notifications You must be signed in to change notification settings

Ipanov7/forex-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forex Bot

A basic Telegram bot to fetch currency rates and notify you for any potential gain/loss

Getting Started

  • You will need to setup a Telegram bot. You can start from here
  • I use APILayer's Exchange Rates Data API because it's free and simple, but anything goes as long as you are willing to adapt the code a bit.

Executing program

This bot was made to run on AWS Lambda functions, so it's necessary to create a zip archive (sigh) to deploy the code

  1. To generate an archive that can be uploaded on AWS, just run the zip.sh script.

  2. Remember to setup the input data:

    {
        "from": "USD",
        "to":"EUR",
        "avg_rate":1.00000
    }
  3. Choose an appropriate schedule to run the bot, like rate(1 hour)

  4. ???

  5. Profit!

Author

Loris Occhipinti

About

A basic Telegram bot to fetch currency rates and notify you for any potential gain/loss

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published