From 0e9d36757ba0183807ab93f4f9e2ccfe46d990c6 Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Mon, 31 Jan 2022 08:58:27 -0600 Subject: [PATCH] removed trading_mode and margin_mode from base_config and binance and okex example --- config_examples/config_binance.example.json | 2 -- config_examples/config_okex.example.json | 2 -- freqtrade/templates/base_config.json.j2 | 2 -- 3 files changed, 6 deletions(-) diff --git a/config_examples/config_binance.example.json b/config_examples/config_binance.example.json index 9a45ce479..c6faf506c 100644 --- a/config_examples/config_binance.example.json +++ b/config_examples/config_binance.example.json @@ -7,8 +7,6 @@ "timeframe": "5m", "dry_run": true, "cancel_open_orders_on_exit": false, - "trading_mode": "spot", - "margin_mode": null, "unfilledtimeout": { "buy": 10, "sell": 10, diff --git a/config_examples/config_okex.example.json b/config_examples/config_okex.example.json index 416c6a8ef..f1e73bd22 100644 --- a/config_examples/config_okex.example.json +++ b/config_examples/config_okex.example.json @@ -7,8 +7,6 @@ "timeframe": "5m", "dry_run": true, "cancel_open_orders_on_exit": false, - "trading_mode": "spot", - "margin_mode": null, "unfilledtimeout": { "buy": 10, "sell": 10, diff --git a/freqtrade/templates/base_config.json.j2 b/freqtrade/templates/base_config.json.j2 index 4f5642631..c91715b1f 100644 --- a/freqtrade/templates/base_config.json.j2 +++ b/freqtrade/templates/base_config.json.j2 @@ -13,8 +13,6 @@ "fiat_display_currency": "{{ fiat_display_currency }}",{{ ('\n "timeframe": "' + timeframe + '",') if timeframe else '' }} "dry_run": {{ dry_run | lower }}, "cancel_open_orders_on_exit": false, - "trading_mode": "spot", - "margin_mode": null, "unfilledtimeout": { "buy": 10, "sell": 10,