bausmeier/node-bitx

ticker event callback

Opened this issue · 3 comments

Are you aware of a way to get a function triggered when the ticker updates, instead of repeatedly polling the api? I was trying to find the websocket that the html5 market uses but couldn't find it..

Unfortunately not. I am just polling the api at the moment. I haven't
looked at how the market works though.

On Sat, 25 Apr 2015, 14:36 Rouan van der Ende notifications@github.com
wrote:

Are you aware of a way to get a function triggered when the ticker
updates, instead of repeatedly polling the api? I was trying to find the
websocket that the html5 market uses but couldn't find it..

Reply to this email directly or view it on GitHub
#9.

Have you tried socket.io ?

@runners4tme I haven't looked into this since the Streaming API was added. I'm sure it would be straight forward enough to use, I just haven't tried.