yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.51k stars 827 forks source link

option to buy via btc value instead of quantity #91

Open menz0050 opened 6 years ago

menz0050 commented 6 years ago

Hi, Really cool bot thanks for sharing it. Instead of setting the quantity manually I think a good feature would be to purchase the coin without having to enter quantity and instead by entering a btc value. For example say we want to buy some TRX: python trader.py --btcamount 0.01 --symbol TRXBTC --profit 3

the bot would then calculate and buy: 0.01(btc) / 0.00000720 (price) = 1388 TRX

and then sell as usual when it hits 3% profit

Thanks again!

WeSpeakCrypto commented 6 years ago

https://github.com/WeSpeakCrypto/binance-trader