2021-05-15 23:37:06 +05:30
2021-05-10 21:30:40 +05:30
2021-05-15 23:37:06 +05:30
2021-05-10 16:31:22 +05:30
2021-05-10 16:35:57 +05:30
2021-05-12 20:39:54 +05:30
2021-05-10 16:35:57 +05:30
2021-05-11 15:02:15 +05:30

Welcome to Binance Spot Order Notifier 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 send TELEGRAM ALERTS for BINANCE ORDER STATUS like CREATED, PARTIALLY FILLED, FILLED, CANCELLED, PENDING CANCEL, REJECTED, EXPIRED etc.

Deploy to Heroku

Deploy

Setup before Depoly 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 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 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 Nodepad for later use

DEPOLY TO HEROKU

  1. Create account on Heroku (skip if you have)
  2. Login to Heroku (if your are not)
  3. Click Deploy

fullUntitled

  1. Give any name in "App name" field
  2. Fill required fields in "Config Vars"
  3. Click "Depoly app"
  4. When you see " Your app was successfully deployed. " your bot started automatically.
  5. important step for preventing idling heroku app. Click "View" and copy URL when new tab open in your browser

DSCapture

  1. Goto UptimeRobot and Create free account
  2. Click "Add New Monitor"
  3. Monitor Type : HTTPS
  4. Friendly Name : any name
  5. URL (or IP): paste URL of your app. (you copy URL in Step 8)
  6. Monitoring Interval : 20 minutes
  7. Click " Create Monitor "
  8. Now Enjoy

Run Locally

  • Download and install NodeJs
  • 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 sercet"
TIME_ZONE_STRING="your time zone string"

Time zone string example "Asia/Kolkata"
  • Edit required fields in .env file and save
  • Open terminal on current folder
  • Run this command to install npm install
  • Run this to start npm start

Author

👤 Piyush Dixit

Show your support

Give a if this project helped you!

📝 License

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


Description
No description provided
Readme 90 KiB