Inspired by [https://github.com/unterstein/binance-trader] Adjusted to trade based upon signals from a Binance Volume monitor: https://agile-cliffs-23967.herokuapp.com/binance
This is an experimental bot for auto trading on the binance.com platform.
This is a simple experimental bot, and I am not responsible for any money you lose!
The bot buys and sells using the parameters in application.properties (starting with TRADE_ and VM_) related to the Binance Volume Monitor.
Don`t use this bot if you are holding coins in the trading currency, because the bot will sell all coins after unexpected events!
- You need to create an API key for binance.com
- You need to have BTC (at least 0.01 is advised), and a small BNB balance on your account to trade an keep the transactions costs as low as possible.
- You need to clone this repo (you need maven and java installed) and run the code
- Encrypt your api key and secret with the command:
org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI input="jkljklj90u390u90u90u90u90u" password=yourpwd algorithm=PBEWithMD5AndDES
API_KEY - the api key for you binance account - no default
API_SECRET - the api secret for you binance account - no default
TRADE_PROFIT - the profit in % 1.03 = 3%
TRADE_AMOUNT - the trading amount per action in BTC
...
git clone https://github.com/binance-exchange/binance-java-api.git
cd binance-java-api
mvn clean install
cd ..
git clone https://github.com/....
cd binance-trader
mvn spring-boot:run -Djasypt.encryptor.password=yourpassword
mvn clean package
nohup java -jar -Djasypt.encryptor.password=yourpwd -Dserver.port=8888 atrader-0.0.2.jar &