kdb+ and q
Q+A on all things kdb+ database and the q language
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Concatenate two symbol lists - some values clobbered.

Hello, I have :q) a:td[`event_id]q)a`1593842`2265436`2884843`2563908`870084`1387664`880653`339905`852016`2156427`649825`1642323`358028`62304`3133271`1516..q)b:diffsample[`event_id]q)b`344`266`566`114`473`564`195`273`347`81`98`390`285`571`269`8`414`10...

Krishna by New Contributor
  • 1251 Views
  • 3 replies
  • 0 kudos

why .z.pc is not triggered when websocket connection is closed?

Hi, All Q script:.z.ws:{neg[.z.w].Q.s value x}.z.po:{0N!(`portOpen;x);}.z.pc:{0N!(`portClosed;x);} Web Sokect HTML file: function connect() { if ("WebSocket" in window) { ws = new WebSocket("ws://127.0.0.1:5016"); out.value = "connecting..."; ws....

James1 by New Contributor II
  • 923 Views
  • 2 replies
  • 0 kudos

Tickerplant subscription by sym

down votefavoriteI have a ticker plant that has the schema:quote:([]time:(); sym:();expiration:();mtype:();price:();cond:();exchange:();volume:())trade:([]time:(); sym:();expiration:();mtype:();price:();cond:();exchange:();volume:())rfills:([]time:()...

rtrader by New Contributor
  • 2567 Views
  • 9 replies
  • 0 kudos

Search words inside list of list of words.

Hello,I have a list of words :q)words"digby""morrell""born""10""october""1979""is","a""former""australian""rules""footballer""who""played""with""the""kangaroos""and""carlton""in""football""league"..I also have a list of lists(each containing words):q...

Krishna by New Contributor
  • 1299 Views
  • 3 replies
  • 0 kudos