Hi Riz (not sure if that is your name or not!)
What exactly is it you are trying to achieve?
I think the issue is that you have .u.upd defined to be .u.pub. When you subscribe to all symbols (`) you will see data being fed through as .u.sel will just bypass the select code
q)h".u.sel"
{$[`~y;x;select from x where sym in y]}
When you subscribe to a single sym, the call to .u.sel will fail, and therefore the call to .u.upd will fail.
You will probably also see that if you set up two subscriptions, the first subscribing for the single sym and the second subscribing for all syms, then neither will receive any data as the .u.upd call will fail on the first call to .u.sel and not execute the
second one.
Assuming you are using a standard TorQ set up, you can turn on logging for the TP to log all the calls coming in (replace appconfig/settings/tickerplant.q with the attached file)
You can then see the errors with something like
select from .usage.usage where status=“e”
run on the tickerplant itself (or look at the usage_tickerplant.log)
Thanks
Jonny
This e-mail message is intended to be received only by persons entitled to receive the confidential information it may contain. E-mail messages to clients of AquaQ Analytics may contain information that is confidential and legally privileged. Please do not
read, copy, forward, or store this message unless you are an intended recipient of it. If you have received this message in error, please forward it to the sender and delete it completely from your computer system