on-internet
← Community

Why does createAsofJoinEngine produce fewer matches when delayedTime is omitted?

Stack Overflow ·

I’m using createAsofJoinEngine to perform an as-of join on two streaming tables. When I omit delayedTime, the results differ significantly from what I expect. Setting delayedTime gives me the expected results. What exactly does this parameter do? // Left table: individual trades share streamTable(1:0, `sym`time`price`qty, [SYMBOL, TIMESTAMP, DOUBLE, INT]) as trades // Right table: quote snapshots share streamTable(1:0, `sym`time`bid`ask, [SYMBOL, TIMESTAMP, DOUBLE, DOUBLE]) as quotes share streamTable(10000:0, `sym`time`price`qty`bid`ask, [SYMBOL, TIMESTAMP, DOUBLE, INT, DOUBLE, DOUBLE]) as ou

Comments

Sign in or sign up to comment and upvote.

No comments yet.