Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple DCA #40

Open
naujoks-stefan opened this issue Dec 8, 2021 · 2 comments
Open

Simple DCA #40

naujoks-stefan opened this issue Dec 8, 2021 · 2 comments
Labels
p: new feature Request or issue to track new feature proposal Proposal for a change or new feature

Comments

@naujoks-stefan
Copy link

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 naujoks-stefan added the proposal Proposal for a change or new feature label Dec 8, 2021
@naujoks-stefan
Copy link
Author

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
Copy link
Owner

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

@markusaksli markusaksli added the p: new feature Request or issue to track new feature label Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p: new feature Request or issue to track new feature proposal Proposal for a change or new feature
Projects
None yet
Development

No branches or pull requests

2 participants