CryptoGnome / Bybit-Lick-Hunter-v4

Lick Hunter is a free trading bot for Bybit built in Node.
118 stars 54 forks source link

Martingale DCA strategy options #70

Open Deadly-M opened 1 year ago

Deadly-M commented 1 year ago

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 commented 1 year ago

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

Deadly-M commented 1 year ago

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 commented 1 year ago

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.