Say I have a function:
quotes:{[ticker;x;y] output: .... }
How can I use this function iterate over a list in another function:
combiner:{[tickerList;x;y] output: uj quotes[ticker1;x;y], quotes[ticker2;x;y], etc. }
You can combine uj with over / to do this:
uj
/
uj/[list of tables]
In you case this may look like:
uj/[quotes[;x;y]each tickerList]
If the quotes function always outputs tables with the same schema you can use raze instead:
raze
raze quotes[;x;y]each tickerList
raze and uj are both join functions and an implementation of , but raze requires the schema of all tables to be the same.
,
You can combine
ujwith over/to do this:In you case this may look like:
If the quotes function always outputs tables with the same schema you can use
razeinstead:razeandujare both join functions and an implementation of,butrazerequires the schema of all tables to be the same.