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

17 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.
- OCO not supported

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!

Donate

If this library helped you out feel free to donate.

  • BTC: bc1qqewkmv335jdrt0jz6rn9sdm4jltd60qfw24fr9
  • ETH: 0xE7212AAD5A8cE7eb02eF9Bee05332A679811dAf1
  • NEO: AUp6giUAxQ3Y3RY8bUCuHrTa7HU25Ltuh4
  • BNB: bnb1h6gylq3xgrxmw7t8k2r8e0xn7rquefeqjfcanx

📝 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