Interact with your Live Trading Bot using Telegram
A simple way to manage your trades and stay updated is using Telegram app to interact with your live trading bot.
In this article we’ll cover the following steps:
- Create a telegram bot
- Setup a proxy with telegram
- Create an initial code to test interaction with our bot, using library python-telegram-bot
- Create a command to get the positions from telegram
Create telegram bot
Follow the section Creating a new bot
In Telegram, the Bot name refers to the display name of the bot, which is the name we’ll see when interacting with the bot. We can change it after being created. e.g: MyLiveTrading.
On the other hand, the username is a unique identifier that starts with the @ symbol. This username is used to create a unique link to the bot (e.g., @username_live_trading_bot), and it is also used by users to mention or search for the bot within Telegram. The username must be unique across all of Telegram, so it cannot be changed once it is set.