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

Increase "Stop price percentage" over time/orders

Open BramFr opened this issue 3 years ago • 2 comments

Have you ever consider to increase Stop price percentage over time?

Example: Current price: 1 Trigger percentage : 1.01 Stop price percentage: 0.99

When the current price hits the Trigger percentage a sell order will be placed. When we have a pike to current price 1.20 the stop price percentage are still 0.99.

At this point you have: Current price: 1.20 Trigger percentage : 1.01 Stop price percentage: 0.99

So if the price drops to 1.188 it will sell everything. Because we have already >10% profit i will be happy to change the Stop price percentage from 0.99 to 0.95 to be sure / to increase the chance you don`t miss the next spike.

BramFr avatar Apr 12 '21 12:04 BramFr

Hmm, I always surprise that people have many great ideas.

This sounds good. Let me summarise what I understood

  1. New configuration
    • Override profit percentage: 10%
    • Override stop price percentage: 0.95
  2. When the profit is over 10%, then use overridden stop price percentage of 0.95. If less than 10%, then use the original stop price percentage.

chrisleekr avatar Apr 13 '21 08:04 chrisleekr

@chrisleekr you can use ^ to generate a factor that will change the stop price percentages based on the profit amount. Same as here:

https://github.com/chrisleekr/binance-trading-bot/issues/246

Maxoos avatar Aug 24 '21 05:08 Maxoos