binance-trading-bot icon indicating copy to clipboard operation
binance-trading-bot copied to clipboard

Sell Trigger based on last executed Buy Grid

Open azorpax opened this issue 3 years ago • 3 comments

Is your proposal related to a problem?

Getting tired of manually updating the sell configuration (Trigger percentage) every time multiple Buy Grid trades have been executed.

Describe the solution you'd like

Provide an alternative usage/function of Sell Grid Trade. The new function will be: each Buy Grid configuration will have a counterpart Sell Grid configuration. So for example,

  • 1st Grid Buy: Trigger Percentage = 1.01, other details Sell: Trigger Percentage = 1.05, Sell quantity percentage = 1, other details
  • 2nd Grid Buy: Trigger Percentage = 0.9, other details Sell: Trigger Percentage = 1.1, Sell quantity percentage = 1, other details
  • 3rd Grid Buy: Trigger Percentage = 0.9, other details Sell: Trigger Percentage = 1.15, Sell quantity percentage = 1, other details
  • and so on...

if 1st buy grid was executed, the sell trigger percentage will be based on the 1st sell grid config, which is with profit of 5%. if 2nd buy grid was executed, the sell trigger percentage will be based on the 2nd sell grid config, which is with profit of 10%. if 3rd buy grid was executed, the sell trigger percentage will be based on the 3rd sell grid config, which is with profit of 15%. and so on.

each Sell Grid config, the "Sell quantity percentage" will always be 100%

Describe alternatives you've considered

Additional context

The idea is, if multiple buy grids have been executed, we are expecting that in time it will bounce up. so while we are averaging down every time a buy grid is executed, we are also anticipating that it can bounce up to the first buy price.

azorpax avatar Sep 07 '21 20:09 azorpax

I like this idea. I agree with you. The only thing is that we may lose the customizing sell quantity or it could be a little complicated.

habibalkhabbaz avatar Sep 08 '21 15:09 habibalkhabbaz

Interesting...

As @habibalkhabbaz said, this could be very complicated. I will need to think about it how to achieve it.

~Maybe we can achieve this by adding an option to each sell grid trade like this~

~Scenario 1:~

Sell Grid Trade 1
- [ ] Activate always [x] Activate when buy grid trade 1 executed
Sell Grid Trade 2
- [x] Activate always [ ] Activate when buy grid trade 2 executed
Sell Grid Trade 3
- [ ] Activate always [x] Activate when buy grid trade 3 executed

~When buy grid trade 1 is executed, sell grid trade would return...~

Ignore above. Looks not a valid solution.

Maybe just add a single option to allow to set matching sell grid trade. Anyway, should think the logical solution to achieve it.

chrisleekr avatar Sep 09 '21 22:09 chrisleekr

Hi everyone,

Yes I agree that it will be complicated if we will support the dynamic sell quantity for this feature, thats why I recommended that it should always be 100%.

I also agree with the idea that there should only be a single option to activate the counterpart grid.

  • the option will only be visible or available if have multiple Buy Grids
  • if the option is activated. the sell grids will automatically have the same count of buy grids.
  • the field for "Sell quantity percentage" will have value of "1" and is disabled or read-only. the rest of the fields (Trigger percentage, Stop price percentage, Limit price percentage) are editable.

azorpax avatar Sep 10 '21 10:09 azorpax