Skip to content

[binance order trade fill notification] Telegram Notification when Binance order created, cancelled or filled. Ready to Deploy on Heroku

License

Notifications You must be signed in to change notification settings

PiyushDixit96/binance-spot-order-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Binance Spot Order Notifier(PYTHON) via Telegram👋

Binance order notification when order created, cancelled or filled etc.. With this repo you will receive telegram notification for your binance spot 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

- when new commit/update happens, you need to create new heroku app using Deploy to heroku button,
- So that you can use the new feature.

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
  4. Give any name in "App name" field
  5. Fill required fields in "Config Vars"
  6. Click "Deploy app"
  7. When you see , "Your app was successfully deployed." then you need the start the app if your app did not started automatically.
  8. Now Enjoy

Give a ⭐️ if this project helped you!


Run Locally

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

Author

👤 Piyush Dixit

Show your support

Give a ⭐️ if this project helped you!

📝 License

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


About

[binance order trade fill notification] Telegram Notification when Binance order created, cancelled or filled. Ready to Deploy on Heroku

Resources

License

Stars

Watchers

Forks