bittrex-scanner's People
Forkers
programming-with-chrisbittrex-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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.