remove unused import and commented out code

This commit is contained in:
Janne Sinivirta 2017-10-22 17:14:55 +03:00
parent 57acf85b42
commit 37004e331a

View File

@ -8,8 +8,6 @@ import pytest
import arrow import arrow
from pandas import DataFrame from pandas import DataFrame
import hyperopt.pyll.stochastic
from hyperopt import fmin, tpe, hp from hyperopt import fmin, tpe, hp
from freqtrade.analyze import analyze_ticker from freqtrade.analyze import analyze_ticker
@ -165,5 +163,4 @@ def test_hyperopt(conf, pairs, mocker):
]), ]),
} }
# print(hyperopt.pyll.stochastic.sample(space))
print('Best parameters {}'.format(fmin(fn=optimizer, space=space, algo=tpe.suggest, max_evals=40))) print('Best parameters {}'.format(fmin(fn=optimizer, space=space, algo=tpe.suggest, max_evals=40)))