Basics of Algorithmic Trading: Concepts, Examples, and AlgoWay Opportunities

How to Set Up Telegram Notifications on AlgoWay

AlgoWay allows you to integrate Telegram for real-time trading notifications. You can enable this feature, configure your bot, and test it directly through the dashboard and a web browser.

Step 1: Create a Telegram Bot
  1. Open BotFather: In Telegram, search for @BotFather and start a chat with it.
  2. Create a New Bot: Send the command /newbot.
  3. Follow the Instructions:
    • Choose a name for your bot (e.g., "AlgoWayBot").
    • Set a unique username ending with bot (e.g., AlgoWayTradeBot).
  4. Receive the Bot Token: After creating the bot, BotFather will provide a token, e.g., 1234567890:ABCDEF12345ghIkl-zyx57W2v1u123ew11. Save this token. You’ll need it for setup.
Step 2: Retrieve Your chat_id
  1. Send a Message to Your Bot: Open your bot in Telegram and send any message (e.g., "Hello").
  2. Retrieve Your chat_id Using a Web Browser:
    • Open your browser and enter the following URL (replace <TOKEN> with your bot's token):
    • https://api.telegram.org/bot<TOKEN>/getUpdates
  3. Example: https://api.telegram.org/bot1234567890:ABCDEF12345ghIkl-zyx57W2v1u123ew11/getUpdates
  4. Find Your chat_id: You’ll see a JSON response like this:
    {
                        "ok": true,
                        "result": [
                            {
                                "update_id": 987654321,
                                "message": {
                                    "chat": {
                                        "id": 1122334455,
                                        "type": "private"
                                    },
                                    "text": "Hello"
                                }
                            }
                        ]
                    }
    Your chat_id is the number under chat.id. In this example, it’s 1122334455.
Step 3: Configure Notifications on AlgoWay
  1. Log in to AlgoWay: Go to AlgoWay and log in to your account.
  2. Go to Settings: Navigate to the "Settings" section in your dashboard. Find the Telegram Notifications section.
  3. Enable Notifications:
    • Toggle Enable Notifications to turn on the feature.
    • Enter your bot token in the Bot Token field(without bot word)
    • Example: 1234567890:ABCDEF12345ghIkl-zyx57W2v1u123ew11
    • Enter your chat_id in the Chat ID field.
    • Example: 1122334455
    Telegram
  4. Send a Test Message: Click the Send Test Notification button.
  5. Check your Telegram chat to confirm the test message was delivered.

Done! You’ve successfully set up Telegram notifications. With this integration, you’ll receive real-time trading alerts directly in Telegram, helping you respond quickly to market changes.