mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
remove unused import and commented out code
This commit is contained in:
parent
57acf85b42
commit
37004e331a
|
@ -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)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user