oxlupo / Economic-Calendar-telegram-bot

Economic Calender Bot is a bot that send USA data reported in investing.com economic calender in a assigned telegram channel
4 stars 3 forks source link
economic-data python telegram telegram-bot

Screenshot


Investing.com is a financial markets platform providing real-time data, quotes, charts, financial tools, breaking news and analysis across 250 exchanges around the world in 44 language editions.

Screenshot An economic calendar is a resource that allows traders to learn about important economic information scheduled to be released in major economies. Such events might include familiar indicators such as GDP, the consumer price index (CPI), and the Non-Farm Payroll (NFPs) report. Further, in today’s environment of fiscal cliffs and central bank intervention, it can be very helpful to know the date of the next central bank meeting or major news announcement.

Telegram post preview

image

Installation

pip3 install -r requirements.txt

Run bot


    base_url = "https://api.telegram.org/<'YOUR-TOKEN'>/sendMessage"
    parameters = {
        "chat_id": "@<'YOUR-CHANNEL'>",

heroku

If you want your bot to work all the time, deploy your code on heroku

Deploy