Open DaniyalGeek opened 6 years ago
@DaniyalGeek Did you find a solution?
Hi guys, please see the following blog post: https://blog.coinigy.com/2017/07/cryptoticker-updated-ticker-websocket-channel-to-be-deprecated/
There is a new way to subscribe to your personal ticker.
TRADE and ORDER is working perfeclty
var socketCluster = require('socketcluster-client'); var api_credentials = { "apiKey" : "KEY", "apiSecret" : "SECRET" }
var options = { hostname : "sc-02.coinigy.com",
port : "443", secure : "true" };
console.log(options); var SCsocket = socketCluster.connect(options); // Once connected, authenticate with credentials SCsocket.on('connect', function (status) { SCsocket.emit("auth", api_credentials, function (err, token) {
}); // Catch and log any error messages SCsocket.on('error', function (status) { console.log(status); });