feat: add Telegram bot for manual trade commands
- Added telegram_command_bot.py with slash commands (/buySOL, /sellBTC, etc) - Docker compose setup with DNS configuration - Sends trades as plain text to n8n webhook (same format as TradingView) - Improved Telegram success message formatting - Only responds to authorized chat ID (579304651) - Commands: /buySOL, /sellSOL, /buyBTC, /sellBTC, /buyETH, /sellETH
This commit is contained in:
11
.env.telegram-bot
Normal file
11
.env.telegram-bot
Normal file
@@ -0,0 +1,11 @@
|
||||
# Telegram Trade Bot Configuration
|
||||
|
||||
# Get your bot token from @BotFather on Telegram
|
||||
TELEGRAM_BOT_TOKEN=8240234365:AAEm6hg_XOm54x8ctnwpNYreFKRAEvWU3uY
|
||||
|
||||
# Your n8n webhook URL (after importing telegram-manual-trade-FINAL.json, activate it and replace this URL)
|
||||
# Your n8n webhook URL (public HTTPS)
|
||||
N8N_WEBHOOK_URL=https://flow.egonetix.de/webhook/3371ad7c-0866-4161-90a4-f251de4aceb8
|
||||
|
||||
# Your Telegram chat ID (already set to 579304651)
|
||||
TELEGRAM_CHAT_ID=579304651
|
||||
Reference in New Issue
Block a user