Closed grogcw closed 6 years ago
Getting this exact same error. Ubuntu 16.04, newest gekko and japonicus as of today. Python 3.5.2 Ip set to 192.168.1.110 instead of localhost.
@OterLabb So latest gekko runs @192.168.1.110? I'm checking japonicus, maybe at some place the address is redefined beyond Settings, in a nice bug.
@grogcw It seems it all works fine until that random evaluation that happens @EPOCH 20 on std settings xD I'm fixing everything.. update should be online tonite. Thanks for the report!
Yes gekko runs @192.168.1.110, its starting to run, but crashes after a while, 5-10 minutes maybe.
@Gab0 Ok, I'm waiting for the update.
By the way, if it is relevant to you, here's another log about the crash, it right after EPOCH 1.
EPOCH 1 &11
Maximum profit -4.542 Average profit -6.241
Minimum profit -11.431 Profit variation 2.093
Population size 42 Max population size 30
Avg trade number 0.705 Avg sharpe ratio 0
Elder dies 0
Epoch runs in 57.03 seconds;
Selecting 1+4 individues, random test;
4 selected;
1 selected;
Error: config failure
http://localhost:3000/api/backtest
Here's my conf file (relevant parameters) :
'Global': {
'gekkoPath': '/var/www/gekko',
'configFilename': 'DEMA.js',
'save_dir': "output",
'log_name': 'evolution_gen.csv',
'RemoteAWS': '../AmazonSetup/hosts',
'GekkoURLs': [ 'http://192.168.0.62:3000' ],
'GekkoInstanceUrl': [ 'http://192.168.0.62:3000' ]
},
# genetic algorithm settings
'generations': {
'gekkoDebug': True,
'showIndividualEvaluationInfo': False,
'POP_SIZE': 30,
'NBEPOCH': 19,
'evaluateSettingsPeriodically': 2,
'deltaDays': 1,
'NBCandlestickData': 4,
'cxpb': 0.3,
'mutpb': 0.7,
'_lambda': 7,
Thanks for taking care :)
Fixed ;D
Hi !
I'm new to this amazing projet, and I'm trying quite hard to make it work and understand its ways, but I'm facing a problem right now : it fails after 1m30 or so.
The main problem seems to be the connection between japonicus and gekko.
I've checked my config files (probably not THAT ONE which is causing this issue) to modify the url : http://localhost:3000/api/backtest to http://ip :3000/api/backtest
The weird thing still is that I think japonicus can actually GET data from gekko as seen in logs below, but can't SEND a test, am I right on this one ?
Thanks for helping,
Cheers !
JAPONICUS OUTPUT :
GEKKO OUTPUT :