- when new commit happens, you need to create new heroku app using Deploy to heroku button, So that you can use the new feature.
- Supported Order Type: LIMIT, MARKET, STOP LOSS, STOP LOSS LIMIT, TAKE PROFIT, TAKE PROFIT LIMIT, LIMIT MAKER
- OCO not supported
important step for preventing idling heroku app
.Manage App
Heroku Scheduler
Create job
App URL
On Run Command
Text BoxStep 10
Page Click Open App
a new window open with your APP URL.https://floating-fjord-30360.herokuapp.com/
curl
On Run Command
Text Box, Example curl https://floating-fjord-30360.herokuapp.com/
Save Job
Give a ⭐️ if this project helped you!
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="your telegram token" TELEGRAM_CHAT_ID="your telegram chat id" BINANCE_API_KEY="binance api key" BINANCE_SECRET_KEY="binance api secret" TIME_ZONE_STRING="your time zone string" NOTIFICATION_SETTINGS="[{'NEW': 1, 'CANCELED': 1, 'TRADE': 1},{'LIMIT': 1, 'MARKET': 1, 'STOP_LOSS': 1},{'BUY': 1, 'SELL': 1}]"
- 0 is Disable and 1 is Enable
- when 'NEW': 0 it means you will not notify when new order created.
- when 'LIMIT': 0 it means you will not notify any LIMIT order.
- Example 1 : if you want only Filled orders alert,
so settings are [{'NEW': 0, 'CANCELED': 0, 'TRADE': 1},{'LIMIT': 1, 'MARKET': 1, 'STOP_LOSS': 1},{'BUY': 1, 'SELL': 1}]
- Example 2 : if you want only Sell Filled orders alert,
so settings are [{'NEW': 0, 'CANCELED': 0, 'TRADE': 1},{'LIMIT': 1, 'MARKET': 1, 'STOP_LOSS': 1},{'BUY': 0, 'SELL': 1}]
- All settings depends on another settings.
Time zone string example "Asia/Kolkata" and this is not required. See Time zone string here
npm install
npm start
182311933
👤 Piyush Dixit
Give a ⭐️ if this project helped you!
If this library helped you out feel free to donate.
Copyright © 2021 @PiyushDixit96.
This project is MIT licensed.