Get type error in RDB of kdb-tick

Hello, I got a type error in the RDB when I tried kdb-tick.

I’ve cloned the kdb-tick from GitHub. I added sym.q to tick folder. The working directory is kdb-tick folder.

sym.q

trade:([] time:`timestamp$(); sym:`symbol$(); price:`float$());

command to start ticker plant:

q tick.q sym . -p 6000

command to start rdb:

q tick/r.q :6000

code to publish to table:

row:enlist`sym`price!(`XYZ;100.0)
h:hopen `:localhost:6000
h(`.u.upd;`trade;value flip row)

After publishing to the table, I can see type error in the RDB process. Are my setup and code correct?

Thanks.

Try removing this line of code in line 38 and line 44: a:"n"$a;

Your schema uses timestamp type for the time col where tick.q assumes timespan. You are correct to use timestamp :)