i had just posted part of the code. but i figured the problem was I should have subscribed to the event with "ticks" and not "tick". ticker.on("ticks",cb) as opposed to ticker.on("tick",cb). I will try this in tommorows market. appreciate your prompt reply. thnx
You are not calling connect and hence it is not working.
You can check out the example here.