You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have managed to get this to run on testnet, great work by the way :)
However, when attempting to use the hyperopt option, the optimum settings don't seem to be added to the list, causing a null object and an error. (at least this is my understanding)
Error below:
2019-09-29 13:09:07,389 - INFO - tpe_transform took 0.002560 seconds
2019-09-29 13:09:07,392 - INFO - TPE using 199/199 trials with best loss inf
2019-09-29 13:09:07,507 - INFO - Params : {'fast_len': 3.0, 'slow_len': 22.0}
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 200/200 [00:18<00:00, 10.63it/s, best loss: ?]
Traceback (most recent call last):
File "main.py", line 22, in <module>
bot.run()
File "/home/linux/build/ta-lib/ebisu/src/bot.py", line 109, in run
self.params_search()
File "/home/linux/build/ta-lib/ebisu/src/bot.py", line 99, in params_search
best_params = fmin(objective, self.options(), algo=tpe.suggest, trials=trials, max_evals=200)
File "/home/linux/.local/lib/python3.6/site-packages/hyperopt/fmin.py", line 388, in fmin
show_progressbar=show_progressbar,
File "/home/linux/.local/lib/python3.6/site-packages/hyperopt/base.py", line 639, in fmin
show_progressbar=show_progressbar)
File "/home/linux/.local/lib/python3.6/site-packages/hyperopt/fmin.py", line 409, in fmin
return trials.argmin
File "/home/linux/.local/lib/python3.6/site-packages/hyperopt/base.py", line 590, in argmin
best_trial = self.best_trial
File "/home/linux/.local/lib/python3.6/site-packages/hyperopt/base.py", line 585, in best_trial
best = np.argmin(losses)
File "<__array_function__ internals>", line 6, in argmin
File "/home/linux/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 1222, in argmin
return _wrapfunc(a, 'argmin', axis=axis, out=out)
File "/home/linux/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 58, in _wrapfunc
return _wrapit(obj, method, *args, **kwds)
File "/home/linux/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 47, in _wrapit
result = getattr(asarray(obj), method)(*args, **kwds)
ValueError: attempt to get argmin of an empty sequence
The text was updated successfully, but these errors were encountered:
Hello, I have managed to get this to run on testnet, great work by the way :)
However, when attempting to use the hyperopt option, the optimum settings don't seem to be added to the list, causing a null object and an error. (at least this is my understanding)
Error below:
The text was updated successfully, but these errors were encountered: