markusaksli / TradeBot

Crypto trading bot using Binance API (Java)
GNU General Public License v3.0
373 stars 138 forks source link

Simple DCA #40

Open naujoks-stefan opened 2 years ago

naujoks-stefan commented 2 years ago

I'm not a big fan of stop loss.

I like more to buy in a new uptrend. Think it's a good feature for your bot...

naujoks-stefan commented 2 years ago

I just approached the source code myself. Here I have added another static method openDCA in BuySell, in which I do not perform the check currency.hasActiveTrade(). I make all purchases with a maximum of 0.002 and start with 10000. During the simulation, the check plausi !enoughFunds() reports that I no longer have enough for a trade. As if he were to take 100% in the simulation for the first purchase ?!? Do I have a mistake in thinking?

markusaksli commented 2 years ago

If you open a PR for this I can give it a look when I have time