Gab0 / japonicus

Genetic Algorithm for Gekko Trading Bot.
MIT License
284 stars 103 forks source link

An Exception happens when run with -w option #163

Open nixlong opened 6 years ago

nixlong commented 6 years ago

when run it with the -w option like this :

python3.6 japonicus-run -gw --strat XXXX

the exception happens:

`WEBSERVER MODE

how to fix it, pls help me, thx

Gab0 commented 6 years ago

Hey @nixlong, are you sure the webserver deps (dash, plotly and stuff) are updated to latest? Maybe even something broke on the newer updates. If the issue persists paste your versions here. cheers!

nixlong commented 6 years ago

hi @Gab0 : my env:

  1. python 3.6 (pip 18.1 from py3.6)
  2. Gekko : v0.6.6 / branch stable
  3. japonicus : latest (0.91)
  4. other deps:

    $ pip list | grep plotly plotly 3.3.0

$ pip list | grep dash dash 0.21.1
dash-core-components 0.22.1
dash-html-components 0.10.1
dash-renderer 0.14.1

thx

Gab0 commented 6 years ago

Hey, try with those (in order of importance) Flask 1.0.2
dash 0.26.2
plotly 3.1.1
dash-core-components 0.28.1
dash-html-components 0.11.0
dash-renderer 0.13.2