Giter Club home page Giter Club logo

telegram-stock-market-bot's Introduction

telegram-stock-market-bot

A stock market bot that uses the API of Moscow Exchange and Central Bank of Russia

How to start the bot?

If you want to start the bot, you need to create a .db file (for example "users.db"), then you need to go to "config.py" file and change the value of USER_DATABASE_PATH to the current system path of the database.

Also you have to install MongoDB

Then go to @BotFather in Telegram and create a new bot. After doing this create file bot_token.py in bot directory and write next code: TOKEN = "TOKEN". Instead of writing TOKEN in double quotes you need to write your token without deleting the quotes.

IF YOU USE WINDOWS: Open Windows cmd or PowerShell, choose the directory of the package and enter "pip install -r requirements.txt", after installing all dependencies enter python -m bot.py

IF YOU USE LINUX: Open terminal (usually it is Bash), choose the directory of the package and firstly enter "pip install -r requirements.txt", after installing all dependencies enter python3 -m bot.py

In both cases Python 3 and pip needed.

telegram-stock-market-bot's People

Contributors

kamilfo-developer avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.