https://github.com/jee-vim/telegram-crypto-bot
my other side project
https://github.com/jee-vim/telegram-crypto-bot
Last synced: 11 months ago
JSON representation
my other side project
- Host: GitHub
- URL: https://github.com/jee-vim/telegram-crypto-bot
- Owner: Jee-vim
- Created: 2025-07-17T01:01:00.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-24T23:45:39.000Z (11 months ago)
- Last Synced: 2025-07-25T05:20:06.619Z (11 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Run
create a file called `config.py` then copy paste this code and put ur own
```
BINANCE_API_KEY = 'your binance api key'
BINANCE_API_SECRET = 'your binance api secret'
TELEGRAM_BOT_TOKEN = 'your telegram bot token'
CHAT_ID = your_telegram_id
NEWS_API_KEY= 'your crypto panic news api key'
```
## Creeate a systemd service to run bot continuesly
```
[Unit]
Description=Crypto Telegram Bot
After=network.target
[Service]
User=your_username
WorkingDirectory=/path/to/your/project
ExecStart=/usr/bin/python3 /path/to/your/project/telegram_bot.py
Restart=always
Environment="PYTHONPATH=/path/to/your/project"
[Install]
WantedBy=multi-user.target
```
- enable
```
sudo systemctl daemon-reload
sudo systemctl enable btc_trading_bot
sudo systemctl start btc_trading_bot
```