yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.49k stars 824 forks source link

Fix help options #222

Closed carojasb94 closed 6 years ago

carojasb94 commented 6 years ago

When try to run "python trader.py --help" the special characters " % " of the args, breaks the script The Flag --debug if is set or not, is always in True

I use the flag to output all the recurrent message like " price:0.00076145 buyp:0.00076162 sellp:0.00077227-bid:0.00076161 ask:0.00076255 spread:0.12 " only when --debug is passed i also implement a FIlelogger to persist the outputs

For example python trader.py --symbol EOSBTC --profit 1.4 --amount 0.0019 --debug