I am trying to load the data for each date and then sort the sym
column and apply the parted attribute. But I don’t know how to use the .Q.dpft
function to save to the same table?
There is a trade table in hdb. Here is my function:
\l dbdir;
test:{
trade:select from trade where date = x;
trade:`sym xasc trade;
.Q.dpft[dbdir;x;`sym;`trade]}each date;
Doesn’t seem to be working though. The error is ``trade`