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

Martingale DCA strategy options #70

Open
Deadly-M opened this issue Jul 14, 2023 · 3 comments
Open

Martingale DCA strategy options #70

Deadly-M opened this issue Jul 14, 2023 · 3 comments

Comments

@Deadly-M
Copy link
Contributor

Consider implementing the option to only allow additional DCA trades at increasing multiples of depth from the initial entry.
This should prevent a bunch of lick buys all at similar price levels thus saving them for use on a deeper dip.
also the multiplication of the order size helps move the average entry closer to the current price.
0.2
0.4
0.8
1.6
3.2

@arrabyte
Copy link
Contributor

it's work in progress, done with limit orders that are placed on the first trade. Now I'm testing it.

@Deadly-M
Copy link
Contributor Author

Are those pre-set limit orders or are they set points below which licks are allowed ?, the later would be better as you would still get the benefit of the lick pushed dip?

@arrabyte
Copy link
Contributor

Pre set limit order (there is a pull request opened about this feature). The first liquidation triggers the trade, and will be placed a market order and n DCA orders, as limit orders at fixed level, so after the first trade DCA is just money management and unrelated to following liquidations.
Unlike previous DCA, I mean the one already implemented, this new one guarantees that the price will be averaged downwards (in the long case) and therefore you will gradually increase the chances of closing the trade if there is a reversal. The advantage of the limit order is that you can better handle spike, because limit order is not a trigger so you have a precise entry level, and also once you have set up the trade on the exchange you have a clear picture about margin levels required as limit order book your capital on the exchange, moreover you have lower fees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants