Giter Club home page Giter Club logo

coinpusher's Issues

Train TypeError: Cannot read property 'x' of undefined

Hi just the train is not working.
Curl gives {"message":"failed"}

coinpusher:coinstream trade btceur 126.4185579774 0 +2s
coinpusher:main fork 2017-10-26T05:43:11.191Z coinpusher:jobs:train TypeError: Cannot read property 'x' of undefined
at NeuronalNetworkFactory.createNewNetwork (E:\coinpusher\lib\NeuronalNetworkFactory.js:79:54)
at _getDatasetForCurrency.then.dataset (E:\coinpusher\lib\jobs\train.js:45:30)
at tryCatcher (E:\coinpusher\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (E:\coinpusher\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (E:\coinpusher\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (E:\coinpusher\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (E:\coinpusher\node_modules\bluebird\js\release\promise.js:693:18)
at Async._drainQueue (E:\coinpusher\node_modules\bluebird\js\release\async.js:133:16)
at Async._drainQueues (E:\coinpusher\node_modules\bluebird\js\release\async.js:143:10)
at Immediate.Async.drainQueues (E:\coinpusher\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:785:20)
at tryOnImmediate (timers.js:747:5)
at processImmediate [as _immediateCallback] (timers.js:718:5)
+723ms
coinpusher:main failed to train network 3 +17ms
coinpusher:coinstream trade btceur 194.4155438824 0 +2s

Not able t run the command?

Here is the error:
>yarn bitcoin yarn run v1.3.2 $ DEBUG=coinpusher:* node index.js bitcoin 'DEBUG' is not recognized as an internal or external command, operable program or batch file. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

curl http://localhost:3333/nn/train/btceur {"message":"failed"}

What is the issue here?


 fork 2018-07-28T23:02:30.698Z coinpusher:jobs:train TypeError: Cannot read property 'x' of undefined
    at NeuronalNetworkFactory.createNewNetwork (/root/tradingOP/Nostradamus/lib/NeuronalNetworkFactory.js:79:54)
    at _getDatasetForCurrency.then.dataset (/root/tradingOP/Nostradamus/lib/jobs/train.js:45:30)
    at tryCatcher (/root/tradingOP/Nostradamus/node_modules/bluebird/js/release/util.js:16:23)

Question about const_pred

Thanks for this project, it is very helpful and interesting.

I got a model trained and I'm running it just fine.

This may be a basic question but when I look at the graph in http://localhost:<port>/graph/ what does the line called const_pred mean?

Prediction below 0?

Not sure if this is normal or not?

screenshot - 11_16_2017 5_00_41 pm

Maybe it just needs more time for training? Or maybe a dataset size change is needed?

Historical Data.

Importing historical data? I was wondering if anyone has more historical data or has been saving streams to file longer then me? I only have 1-2 days. I am looking for 1+ year at least. Does anyone have anything they can upload here? For BTCUSD?

Localhost not working

Followed all the steps in the installation process however the localhost does not work. I have installed all the yarn dependencies etc, and the webpage does not work.

Any assistance would be appreciated.

CentOS Error?

I can run it in mac..but same step in centos:

yarn run v1.3.2
$ DEBUG=coinpusher:* node index.js bitcoin
/home/coinpusher-master/lib/Coinpusher.js:743
async start(currency, port) {
^^^^^

SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/coinpusher-master/index.js:3:22)
error Command failed with exit code 1.

Use USD currency?

This looks really promising, thanks for sharing it!

Maybe a dumb question, but what's the easiest way to switch from "eur" to "usd"?

Cheers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.