Does pubsub install a ticker drive over websites

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 ...

+4
source share
1 answer

.u.sub async, async . , , - , . , , , websocket.

.z.ps:{0!x;} q , , .

Tickerplant .z.w

+1

Source: https://habr.com/ru/post/1547864/


All Articles