• The basics of what you'll need are:
    • Python 3.x
    • pip, but this should come preinstalled with Python 3.x
    • A Telegram account
    • A Binance account
    • A server/home computer that can be running a script for undefined amount of time

Getting Your Binance API Key

  • Login to Binance, and go to your account settings.
  • Under API, click on "API Setting"
  • Create a new API key
  • Edit the API key, and enable only "Read Info" — This ensures that even if your API key/secret leaks, there is no possible loss to your assets
  • Show the secret key, and note down both the API key and API secret

Getting Your Telegram Token

  • Open any Telegram client
  • In the search bar, search for "@Botfather" and start the bot
  • Type in /newbot
  • Type a name for the bot
  • Type a username for the bot (this must be unique, and end in "bot")
  • The bot should be successfully created now, and will give you an HTTP API token: note this token down

Getting Your Chat ID

  • Open any Telegram client
  • In the search bar, search for "@myidbot" and start the bot
  • Type in /getid
  • This will return your personal account chat ID, note this down


  • The bot/script can be found here. You can use either git clone or download and extract the ZIP archive directly from GitHub


  • Extract the script to any folder, and copy the config.ini.sample to config.ini
  • Open config.ini and fill in the configuration data with the data we have pulled earlier
  • Decide on a refresh rate for your orders (default is one minute), and if you want Telegram updates on new open orders and updates on recently closed orders


  • Open Telegram, and start an instance of the bot you created earlier by searching the bot username in your search bar
  • In the root directory of the downloaded script, run the command pip install -r requirements.txt
  • Once all of the requirements have been installed, run the bot by running the command python
  • You can confirm the script is working correctly if the terminal has printed that the API keys are valid and monitoring has begun


  • If on Windows, you will have to keep the command prompt/PowerShell window open
  • If on Linux you can use screen to easily keep the script running in the background

Restructuring My Network: Part II


If you haven't read part I, you can read it here!


Now that all of my equipment has

Read more