TradeBot icon indicating copy to clipboard operation
TradeBot copied to clipboard

Simple DCA

Open naujoks-stefan opened this issue 4 years ago • 2 comments

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 avatar Dec 08 '21 15:12 naujoks-stefan

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?

naujoks-stefan avatar Dec 10 '21 09:12 naujoks-stefan

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

markusaksli avatar Jan 28 '22 18:01 markusaksli