https://github.com/lexus2k/teleinvest-bot
Telegram trade statistics reporting bot
https://github.com/lexus2k/teleinvest-bot
bot investment investment-analysis telegram telegram-bot
Last synced: 20 days ago
JSON representation
Telegram trade statistics reporting bot
- Host: GitHub
- URL: https://github.com/lexus2k/teleinvest-bot
- Owner: lexus2k
- License: mit
- Created: 2021-11-07T22:25:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-01T07:44:09.000Z (about 3 years ago)
- Last Synced: 2025-02-14T05:43:08.424Z (2 months ago)
- Topics: bot, investment, investment-analysis, telegram, telegram-bot
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# teleinvest-bot
Telegram trade statistics reporting bot. The bot reports statistics once a day at specified time to
telegram channel. It can accept commands and answer to them.
Investment portfolio is taken from Google Sheets document.## Usage
1. Create telegram bot as described in Telegram docs
2. Put the bot token to config.ini `telegram_bot_token` field
3. Create telegram channel as described in Telegram docs.
4. Add your newly created bot to the created telegram channel
5. Put telegram channel id to the config.ini `main_chat_id` field
6. Create new project in Google Cloud Platform console
7. Add yourself as the project owner
8. Enable Google Drive and Google Sheets API for the project
9. Add new OAuth client for the project and download client_secret.json to the bot folder
10. Create Google Sheets document, containing your Investment portfolio
11. Put Google Sheets document name to config.ini `sheets` field
12. Run the bot `python telegram_bot.py`
13. Follow the instructions in the python console## Dependencies
* requests
* pygsheets
* yfinance