lefnire / tforce_btc_trader

TensorForce Bitcoin Trading Bot
http://ocdevel.com/podcasts/machine-learning/26
GNU Affero General Public License v3.0
814 stars 234 forks source link

Visualisation issue #32

Open thegamecat opened 6 years ago

thegamecat commented 6 years ago

I'm running node 8.11.1 on ubuntu 16.04. Flask server is running and returning on port 500 but when I run the npm start I get a config issue.

npm start => localhost:8080 ✖ 「wds」: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

madpower2000 commented 6 years ago

Same for me, but on MacOS. I was playing for a day with different combinations of versions of webpack and webpack-dev-server. Also I was change configuration file in a different ways - but can't kill the bug. @lefnire what version combination of webpack and webpack-dev-server you use?

ghost commented 5 years ago

I think I had the updated version of webpack, changed webpack.config.js in client folder with this.

module.exports = {
  entry: './index.js',
  output: {
    filename: './bundle.js'
  },
  module: {
  rules: [
      { test: /\.css$/, use:['style-loader', 'css-loader']},
      { test: /\.js$/, use: 'babel-loader', exclude: /node_modules/ },
      { test: /\.jsx$/, use: 'babel-loader', exclude: /node_modules/ },
    ]
  }
};

Also server.py code was giving out the "sharpe" error. removed sharpe from18th line

for row in conn.execute('select id, hypers, returns, uniques from runs').fetchall():

lefnire commented 5 years ago

I don't, sorry guys :( not working on this project anymore