japonicus icon indicating copy to clipboard operation
japonicus copied to clipboard

i get a bool error

Open zhangarejiu opened this issue 7 years ago • 2 comments

when i run ,i got bool error,someone can help,thank you he profits reported here depends on backtest interpreter function; interpreter v3: if > 0: = - else =

found gekko @ http://localhost:3000 found gekko @ http://gekko:3000 Error: config failure Expecting value: line 1 column 1 (char 0) http://localhost:3000/api/scansets {} Traceback (most recent call last): File "japonicus-run", line 10, in japonicus.launchJaponicus(settings, options) File "/root/gekko/japonicus/japonicus/japonicus.py", line 181, in launchJaponicus EvaluationMode, settings, options, web=web_server File "/root/gekko/japonicus/japonicus/evolution_generations.py", line 134, in gekko_generations evolutionDatasets, evaluationDatasets = grabDatasets(datasetconf, globalconf.GekkoURLs[0]) File "/root/gekko/japonicus/japonicus/evolution_generations.py", line 76, in grabDatasets exchange_source=datasetconf.dict[evolutionDatasetName] File "/root/gekko/japonicus/evaluation/gekko/dataset.py", line 14, in selectCandlestickData DataSetPack = getAllScanset(GekkoURL) File "/root/gekko/japonicus/evaluation/gekko/dataset.py", line 10, in getAllScanset return RESP['datasets'] TypeError: 'bool' object is not subscriptable

zhangarejiu avatar Sep 24 '18 06:09 zhangarejiu

no asset data in your history database?

nixlong avatar Oct 10 '18 14:10 nixlong

Hey @zhangarejiu , yeah it seems there is no asset data in your history database as pointed by nixlong... can you check it?

Gab0 avatar Oct 10 '18 23:10 Gab0