Can't obtain order_feed
-
Using the SDK to make a websocket connection for order_feed doesn't work. I can see that websocket is connected, and if I send wrong details I get correct error response from the server. But when I place any orders on through the Website those aren't received by the client.
-
HI @R70693 Currently we are working on it.
-
This post is deleted! -
@admin said in Can't obtain order_feed:
We will update you soon once it is fixed
Any updates on the fix, facing same issue. Able to connect to websocket, but there is no responds for new order placed from Angel Terminal.
-
Hi @sathish14tcet @Ayush-Kumar we are testing it from our side we will soon update the sdk.
-
@Ayush-Kumar I am also getting facing same issue it the issue resolved?
-
@admin thanks for the update!
- Can you share any timeline as to when this issue will be fixed?
- Is there some other language SDK which supports WebSockets and works currently? Both Python and Node didn't seem to work for me.
-
Hi @Ayush-Kumar our team is working on the above mentioned issue. We will update you soon once it is fixed.
-
I tried creating a websocket on my own still same problem, can someone help me understand the issue here?
In the first place, has someone received ticks for orders placed through UI?
Please correct me if I'm wrong with my understanding ofWebsocket Order Status
-
let web_socket = require("ws"); ws = new web_socket(url, null, { rejectUnauthorized: false }); ws.onopen = function onOpen(evt) { setInterval(function () { var _hb_req = '{"actiontype":"heartbeat","feedtype":"order_feed","jwttoken":"' + jwttoken + '","clientcode": "", "apikey": ""}'; console.log("heartbeat sent..") ws.send(_hb_req); }, 60000); console.log("Opened...") var _req = '{"actiontype":"subscribe","feedtype":"order_feed","jwttoken":"' + jwttoken + '","clientcode": "", "apikey": ""}'; ws.send(_req); console.log("Req sent...", _req) }; ws.onmessage = function (evt) { console.log(evt); var result = evt.data; console.log(result); }; ws.onerror = function (evt) { console.log("error::", evt) // self.connect(); // reject(evt) console.log("On Reject ", evt) }; ws.onclose = function (evt) { console.log("Socket closed") };