Getting order postbacks via websockets

vishnux
I am using Pure js module to stream ticks - https://gist.github.com/ajinasokan/b36d17da1a58af62782978c16bca309a

ticker.connect();
ticker.on("tick", onTick);
ticker.on("connect", onConnect);
function onConnect() {
ticker.subscribe([2661633]);
ticker.setMode(ticker.modeFull, [2661633]);
console.log("connected");
}
function onTick(ticks) {
console.log(ticks);
var price = ticks[0]["last_price"];
}


Above code works fine , Now I want to receive Order postbacks if I place any order via kite web interface or php library .. How do I do it ?
Sign In or Register to comment.