I am trying to subscribe to real-time data from a ticker plan over a websocket.
I use .z.ws:{neg[.z.w] -8!value -9!x;}ws as a handler.
I checked the WebSocket mechanism, which successfully connects to rdb. For instance. A simple 10 # trade return a shopping arcade. However, when I connect to the ticker and try to .u.sub[trade; AAPL]for example, through websocket, only one message arrives, and subsequent updates do not appear.
This works fine when I connect from another q process using hopen ...
source
share