79199639

Date: 2024-11-18 10:57:34
Score: 1
Natty:
Report link

As mentioned the length error occurs because you pass the wrong type/format as window. It's supposed to be a pair of lists. Please review the syntax here https://code.kx.com/q/ref/wj/ Also, you're probably interested in wj1 rather than wj as wj includes the prevailing data point whereas wj1 only considers the data points within the time window

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Alexander Unterrainer-DefconQ