diff --git a/config_examples/config_full.example.json b/config_examples/config_full.example.json index ce16e021f..bbdafa805 100644 --- a/config_examples/config_full.example.json +++ b/config_examples/config_full.example.json @@ -21,7 +21,7 @@ "ignore_roi_if_buy_signal": false, "ignore_buying_expired_candle_after": 300, "trading_mode": "spot", - // "margin_mode": "isolated", + "margin_mode": "", "minimal_roi": { "40": 0.0, "30": 0.01, diff --git a/freqtrade/commands/build_config_commands.py b/freqtrade/commands/build_config_commands.py index 52137d048..b401f52c7 100644 --- a/freqtrade/commands/build_config_commands.py +++ b/freqtrade/commands/build_config_commands.py @@ -124,7 +124,7 @@ def ask_user_config() -> Dict[str, Any]: "message": "Do you want to trade Perpetual Swaps (perpetual futures)?", "default": False, "filter": lambda val: 'futures' if val else 'spot', - "when": lambda x: x["exchange_name"] in ['binance', 'gateio'], + "when": lambda x: x["exchange_name"] in ['binance', 'gateio', 'okx'], }, { "type": "autocomplete",