From ea6bc47d7a57e810c5b46bb931c720806fc711de Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 16 Aug 2022 17:26:53 +0200 Subject: [PATCH] gateio default configs should specify unknown_fee_rate --- freqtrade/templates/subtemplates/exchange_gateio.j2 | 12 ++++++++++++ freqtrade/templates/subtemplates/exchange_generic.j2 | 2 -- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 freqtrade/templates/subtemplates/exchange_gateio.j2 diff --git a/freqtrade/templates/subtemplates/exchange_gateio.j2 b/freqtrade/templates/subtemplates/exchange_gateio.j2 new file mode 100644 index 000000000..63dff052f --- /dev/null +++ b/freqtrade/templates/subtemplates/exchange_gateio.j2 @@ -0,0 +1,12 @@ +"exchange": { + "name": "{{ exchange_name | lower }}", + "key": "{{ exchange_key }}", + "secret": "{{ exchange_secret }}", + "unknown_fee_rate": 1, + "ccxt_config": {}, + "ccxt_async_config": {}, + "pair_whitelist": [ + ], + "pair_blacklist": [ + ] +} diff --git a/freqtrade/templates/subtemplates/exchange_generic.j2 b/freqtrade/templates/subtemplates/exchange_generic.j2 index 08b11f365..01f637638 100644 --- a/freqtrade/templates/subtemplates/exchange_generic.j2 +++ b/freqtrade/templates/subtemplates/exchange_generic.j2 @@ -5,9 +5,7 @@ "ccxt_config": {}, "ccxt_async_config": {}, "pair_whitelist": [ - ], "pair_blacklist": [ - ] }