This is an experimental terminal bot for auto trading on binance.us exchange. If you're looking for a bot for binance.com please check out my other repo here.
Signup for Binance US
Enable Two-factor Authentication
Go to API Management, and create a new Api Key
[✓] Read Info [✓] Enable Trading [] Enable Withdrawals
Create a .env
file and insert your API and Secret Keys
cp .env.tmpl .env
API_KEY=...
API_SECRET=...
If holding BNB, turn on using BNB for trade fees in your account to save 25%. Option to hold BNB along with the min balance can be set in the constants.js
file. More about trade fees and tiers can be found here.
Optional: alter additional bot presets such as portfolio allocation or trade intervals in constants.js
Make sure to turn off your computers energy saving settings so that your terminal process won't pause if your computer goes to sleep. Alternatively, you can prepend caffeinate
to your start command.
yarn start:dev - (starts the development server for testing. No real orders will be sent.)
yarn start - (creates a build and runs the production server. Warning: orders are now live.)
# Build the image
$ docker build -t bot-img .
# Run the image
$ docker run -d -ti --name crypto-bot bot-img
# Print bots output logs
$ docker logs crypto-bot
# If you want to enter the container
$ docker attach crypto-bot
# If you want to stop the container
$ docker stop crypto-bot
# If you want to clean unused containers/images
$ docker system prune
Use this bot at your own risk. I am not responsible for any potential losses.
There are no warranties or guarantees expressed or implied.
You assume all responsibility and liability.
Fork this Repo
Commit and push your changes
Create a new Pull Request
BTC: 16n7SXp1rxtJ5u4kSAZ8aFa7n3mCaxEEfR
LTC: LakZsKAb4TzCM4sjLdGZkrpdWvCcATiQzk
ETH: 0x01010a9cbffe37d4e38817a4d446e5a2c1a102c1
Code released under the MIT License.