Skip to content

Telegram Notification when Binance isolated margin order created, cancelled or filled. Ready to Deploy on Heroku

License

Notifications You must be signed in to change notification settings

PiyushDixit96/binance-isolated-margin-order-notification-heoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Binance Isolated Margin Order Notifier via Telegram👋

Binance order notification when isolated margin order created, cancelled or filled etc.. With this repo you will receive telegram notification for your binance isolated margin order status.

Version License: MIT Twitter: PiyushDixit_

This repo sends TELEGRAM ALERTS for BINANCE ORDER STATUS like CREATED, PARTIALLY FILLED, FILLED, CANCELLED, PENDING CANCEL, REJECTED, EXPIRED etc.

Deploy to Heroku

Deploy

Setup before Deploy to Heroku

SETUP TELEGRAM BOT

  1. Create account on Telegram (skip if you have)
  2. Create Telegram Bot Goto Bot help follow steps at the END Copy TOKEN
  3. Open created Bot and click START
  4. Goto @getuseridbot and click START and copy NUMERIC VALUE this is your CHAT ID

SETUP BINANCE ACCOUNT

  1. Signup for Binance (skip if you have)
  2. Enable Two-factor Authentication (skip if you're done already)
  3. Go API Center, Create New Api Key and follow steps and at the END, SET API restrictions to **ENABLE READING ** only
  4. Copy API Key and Secret Key save and Notepad for later use

DEPLOY TO HEROKU

  1. Create account on Heroku (skip if you have)
  2. Login to Heroku (if you are not)
  3. Click Deploy then next page looks like below

Untitled

  1. Give any name in "App name" field
  2. Fill required fields in "Config Vars"
  3. Click "Deploy app"
  4. Click "Mange App" When you see , "Your app was successfully deployed."

2Untitled 3Untitled 4Untitled


Run Locally

  • Download and install python for your OS
  • Download Repo and open Repo root folder.
  • Create .env in root folder and copy , paste below code
TELEGRAM_TOKEN="you telegram token"
TELEGRAM_CHAT_ID="your telegram chat id"
BINANCE_API_KEY="binance api key"
BINANCE_SECRET_KEY="binance api secret"
ISOLATED_MARGIN_SYMBOL="isolated margin symbol"
  • Edit required fields in .env file and save
  • Open terminal on current folder
  • Run this command to install python isolated_margin_socket.py

Author

👤 Piyush Dixit

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 @PiyushDixit96.
This project is MIT licensed.


About

Telegram Notification when Binance isolated margin order created, cancelled or filled. Ready to Deploy on Heroku

Resources

License

Stars

Watchers

Forks

Languages