binance-trading-bot
binance-trading-bot copied to clipboard
Increase "Stop price percentage" over time/orders
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.
Hmm, I always surprise that people have many great ideas.
This sounds good. Let me summarise what I understood
- New configuration
- Override profit percentage: 10%
- Override stop price percentage: 0.95
- 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 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