Giter Club home page Giter Club logo

bittrex-scanner's People

Contributors

chris-cullins avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

bittrex-scanner's Issues

TypeError: Cannot read property 'length' of null

Hi, first of all thanks for coding this.
I'm testing how this signal bot works and I'm getting an error after a few minutes of running.

D:\Git\bittrex-scanner\modules\fetchPrice.js:124
            for (var i = 0; i < data.result.length; i++) {
                                           ^

TypeError: Cannot read property 'length' of null
    at D:\Git\bittrex-scanner\modules\fetchPrice.js:124:44
    at Request._callback (D:\Git\bittrex-scanner\node_modules\node.bittrex.api\node.bittrex.api.js:135:15)
    at Request.self.callback (D:\Git\bittrex-scanner\node_modules\request\request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (D:\Git\bittrex-scanner\node_modules\request\request.js:1163:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (D:\Git\bittrex-scanner\node_modules\request\request.js:1085:12)
    at IncomingMessage.g (events.js:292:16)

Using default options.
Tested on Windows 10 and Ubuntu 16.04 with Node.js LTS v6.11.3.
No other message on the console before that, main.log empty, and stoch.log exists with a lot of info lines about all the pairs it's checking but no errors.
Tried uncommenting the console.log(data) on line 98 and 117 of fetchPrice.js and it seems like the api call returns result null before the error happens.

{ success: true, message: '', result: null }

how to run the JS file

Sorry for the newbie question, I have created and set the config file for the API keys. How would I run this after I ftp it onto my webserver? and how to run it 24x7 for updates?

I am used to coding PHP and running CRON jobs to launch them but know little about Java

Thanks for the cool coding.

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.