-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Liqiduitation Even If set stoploss_on_exchange = True #7577
Comments
Your setting results in a stop limit order. without seeing the details on exchange (stop order price, liquidation, ...) it's difficult to tell - but with such high leverage, it's pretty likely that your stop order is not filled immediately - which is then triggering the liquidation, which is probably just 1-2 ticks below the stop price - so your stoploss is effectively skipped. with leverage this high, it's single ticks that can cause a position move of several % - causing a liquidation pretty easily. It's also unclear if it's a real liquidation (exchange liquidated) or one that freqtrade detected and reported as liquidation - which is quite a difference. |
So, if I set stoploss_on_exchange_limit_ratio = 0.99 with 75 leverage, does it mean my worst case losing will be %1 ? Or %75 ? (1 × 75) And can I set stoploss_on_exchange_limit_ratio = 0,998 ? Is it allowed ? |
you can use any number between 1 and 0. |
Can I set limit price imidiately when enter a new position without waiting stop price ? And, how can I set roi position like stoploss_on_exchange = True I want to open stop loss and take profit order imidiately when entering new position . |
Freqtrade currently doesn't support take profit orders. |
Describe your environment
Operating system: Windows 10
Python Version: Python 3.10.4
CCXT version: ------
Freqtrade Version: 2022.9.1
Your question
Hi again. I am using 75x leverage, 0.55 roi and 0.45 stoploss. (Binance Future)
I want to make my bot set stoploss and stop limit(roi) imidiately after entering long or short. So in the documantations, I found this setting=
order_types =
{
"entry": "limit",
"exit": "limit",
"emergency_exit": "market",
"stoploss": "limit",
"stoploss_on_exchange": True
}
Even if I do that, I am being liquidated sometimes. And even if I set stoploss 0,45, my positions ending with %55 loss with normal exit signals(not liquidation). It was more accurate when I didn't set stoploss_on_exchange = True .
What is wrong with this settings?
What should I set also ?
The text was updated successfully, but these errors were encountered: