-
K code in functional query 2
-
Give functional form for:
select sum size by ticker:((string[id],:”.”),’string[ex])from trade_usq where any not null(size;price)
After doing
parse”select sum size by ticker:((string[id],’\”.\”),’string[ex])from trade_usq where any not null(size;price)”
I get;
? `trade_usq ,,(max$["b"];(~:;(^:;(enlist;`size;`price)))) (,`ticker)!,((';,);((';,);($:;`id);".");($:;`ex)) (,`size)!,(sum;`size)
I have then wrote out;
?[`trade_usq;enlist(max$[“b”];(~:;(^:;(enlist;`size;`price))));(enlist`ticker)!enlist((‘;enlist);((‘;enlist);($:;`id);”.”);($:;`ex));(enlist`size)!enlist(sum;`size)]
But this doesn’t seem to work? What is wrong with this?
-
Log in to reply.