James L
James L

Reputation: 16864

How to limit fields in a KDB tick subscription request?

I have a feed of data coming from KDB via TCP. It's working well, however I'm getting columns coming over the wire that I don't need. Is it possible to filter the columns on my subscription in the u.sub statement?

Upvotes: 1

Views: 162

Answers (1)

Manish Patel
Manish Patel

Reputation: 4491

No, not out of the box. What you can do is update the upd function in r.q to select the columns that you actually want, which updates your local table in the realtime database.

You'd also need to initialise the table in r.q so that it doesn't get picked up automatically from the tickerplant on .u.sub

Upvotes: 3

Related Questions