added required changes

This commit is contained in:
Gert 2018-07-30 13:00:08 -07:00
parent b3df1b1ba7
commit b83487cc36

View File

@ -6,16 +6,16 @@ This module load custom strategies
import importlib.util import importlib.util
import inspect import inspect
import logging import logging
import os
import tempfile
from base64 import urlsafe_b64decode from base64 import urlsafe_b64decode
from collections import OrderedDict from collections import OrderedDict
from pathlib import Path
from typing import Dict, Optional, Type from typing import Dict, Optional, Type
from freqtrade import constants from freqtrade import constants
from freqtrade.strategy import import_strategy from freqtrade.strategy import import_strategy
from freqtrade.strategy.interface import IStrategy from freqtrade.strategy.interface import IStrategy
import tempfile
import os
from pathlib import Path
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@ -83,7 +83,7 @@ class StrategyResolver(object):
abs_paths.insert(0, extra_dir) abs_paths.insert(0, extra_dir)
if ":" in strategy_name: if ":" in strategy_name:
logger.debug("loading base64 endocded strategy") logger.info("loading base64 endocded strategy")
strat = strategy_name.split(":") strat = strategy_name.split(":")
if len(strat) == 2: if len(strat) == 2: