miro-ka / mosquito

Trading Bot with focus on Evolutionary Algorithms and Machine Learning
GNU General Public License v3.0
260 stars 53 forks source link

Update mosquito.py #38

Closed crack00r closed 6 years ago

crack00r commented 6 years ago

max_btc_per_trade / rate = amount

miro-ka commented 6 years ago

Thanks for contributing :)

Please, could you explain that why:

crack00r commented 6 years ago

Hi, yes max per trade is the best way. When you do buyall, and you dont have btc to invest in other coins. When you make maxpertrade you Can spread in all good Signals.

Buy and sell should be the same...

When you Buy 1000Doge you cant sell 1002

Round to 8 decimals is, 0,01btc / 0.0037234 = 2,685717355105549 so you have to round to 8 decimals. Cryptocoin is limited to 8 decimals, Else he they to Buy to much

miro-ka commented 6 years ago

Hope it is OK if I will close this - we already handled this feature/problem.