working on refacturing of the strategy class
This commit is contained in:
@@ -13,7 +13,6 @@ from typing import Optional, Dict, Type
|
||||
from freqtrade import constants
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -36,6 +35,8 @@ class StrategyResolver(object):
|
||||
self.strategy: IStrategy = self._load_strategy(strategy_name,
|
||||
extra_dir=config.get('strategy_path'))
|
||||
|
||||
self.strategy.config = config
|
||||
|
||||
# Set attributes
|
||||
# Check if we need to override configuration
|
||||
if 'minimal_roi' in config:
|
||||
|
||||
Reference in New Issue
Block a user