disable info logging on hyperopt.tpe

This commit is contained in:
Samuel Husso 2017-12-02 00:21:46 +02:00
parent 688326b58c
commit 965c075362

View File

@ -18,6 +18,7 @@ from freqtrade.vendor.qtpylib.indicators import crossed_above
# Remove noisy log messages # Remove noisy log messages
logging.getLogger('hyperopt.mongoexp').setLevel(logging.WARNING) logging.getLogger('hyperopt.mongoexp').setLevel(logging.WARNING)
logging.getLogger('hyperopt.tpe').setLevel(logging.WARNING)
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@ -27,6 +28,10 @@ TARGET_TRADES = 1100
TOTAL_TRIES = None TOTAL_TRIES = None
_CURRENT_TRIES = 0 _CURRENT_TRIES = 0
TOTAL_PROFIT_TO_BEAT = 4
AVG_PROFIT_TO_BEAT = 0.2
AVG_DURATION_TO_BEAT = 70
# Configuration and data used by hyperopt # Configuration and data used by hyperopt
PROCESSED = optimize.preprocess(optimize.load_data()) PROCESSED = optimize.preprocess(optimize.load_data())
OPTIMIZE_CONFIG = { OPTIMIZE_CONFIG = {