The error message "function code != '67' => Not allowed to create a vector with type DICTIONARY"
I would like to ask why I am getting a "type dictionary" error when I return a table() in this function?
def big_buy_sell_order(vol,ask_order,bid_order){ raw_tab = table(vol as vol,ask_order as ask_order,bid_order as bid_order) grp_ask_order = groupby(sum,vol,ask_order) grp_bid_order = groupby(sum,vol,bid_order) ask_order_vol = grp_ask_order.(columnNames(grp_ask_order)[1]) bid_order_vol = grp_bid_order.(columnNames(grp_bid_order)[1]) big_ask_flag = (ask_order_vol > quantile(ask_order_vol,0.9)) big_bid_flag = (bid_order_vol > quantile(bid_order_vol,0.9)) big_ask_order = grp_ask_order.(columnNames(grp_ask_order)[0])[big_ask_flag] return table(big_ask_order as ask_order)}select big_buy_sell_order(...) from ... // function code != "67" => Not allowed to create a vector with type DICTIONARY