I have been thinking the security margin is equal to stop-loss or stop-limit.
So, I set it as 15%, but the bot calculated weirdly.
The last buy price was 154 satoshi, but the security margin was 101 satoshi (65.5% of the buy price).
I think it should be 131 satoshi (85% of the buy price)..
Please explain about the exact formula of security margin.