From 77c9334c50cc43453b71e5ab4bd9e3353e8f80c0 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 12 May 2020 13:39:24 +0200 Subject: [PATCH] Use available config object Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com> --- freqtrade/rpc/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/rpc/rpc.py b/freqtrade/rpc/rpc.py index 851092f1a..d3b6b9639 100644 --- a/freqtrade/rpc/rpc.py +++ b/freqtrade/rpc/rpc.py @@ -104,7 +104,7 @@ class RPC: 'ticker_interval': config['ticker_interval'], 'exchange': config['exchange']['name'], 'strategy': config['strategy'], - 'forcebuy_enabled': self._freqtrade.config.get('forcebuy_enable', False), + 'forcebuy_enabled': config.get('forcebuy_enable', False), 'state': str(self._freqtrade.state) } return val