diff --git a/config.json.bak b/config.json.bak new file mode 100644 index 000000000..053e83e3f --- /dev/null +++ b/config.json.bak @@ -0,0 +1,44 @@ +{ + "max_open_trades": 3, + "stake_currency": "BTC", + "stake_amount": 0.005, + "fiat_display_currency": "USD", + "dry_run": true, + "unfilledtimeout": 600, + "bid_strategy": { + "ask_last_balance": 0.0 + }, + "exchange": { + "name": "bittrex", + "key": "", + "secret": "", + "pair_whitelist": [ + "BTC_ETH", + "BTC_LTC", + "BTC_ETC", + "BTC_DASH", + "BTC_ZEC", + "BTC_XLM", + "BTC_NXT", + "BTC_POWR", + "BTC_ADA", + "BTC_XMR" + ], + "pair_blacklist": [ + "BTC_DOGE" + ] + }, + "experimental": { + "use_sell_signal": false, + "sell_profit_only": false + }, + "telegram": { + "enabled": true, + "token": "387056091:AAEVz29u5KwphICqGB6c63RwZjqCd7Kh6T4", + "chat_id": "391939601" + }, + "initial_state": "running", + "internals": { + "process_throttle_secs": 5 + } +} diff --git a/freqtrade/optimize/backtesting.py b/freqtrade/optimize/backtesting.py index 5ac66c644..92591f98d 100644 --- a/freqtrade/optimize/backtesting.py +++ b/freqtrade/optimize/backtesting.py @@ -274,7 +274,6 @@ def setup_configuration(args) -> Dict[str, Any]: :return: Configuration """ configuration = Configuration(args) - config = configuration.get_config() # Ensure we do not use Exchange credentials diff --git a/freqtrade/optimize/hyperopt.py b/freqtrade/optimize/hyperopt.py index f6089a68c..0d9289929 100644 --- a/freqtrade/optimize/hyperopt.py +++ b/freqtrade/optimize/hyperopt.py @@ -447,7 +447,7 @@ class Hyperopt(Backtesting): { 'stake_amount': self.config['stake_amount'], 'processed': self.processed, - 'realistic': params['realistic_simulation'], + 'realistic': self.config.get('realistic_simulation', False), } ) result_explanation = self.format_results(results)