I am able to update the table and add the exQuality column, but I cannot pass the tests. Here is my function.
classifyTrade : {[initTable] newTable : update exQuality : ?[side = `S; ?[price > bid; 1b; 0b]; ?[price < ask; 1b; 0b]] from initTable;
:newTable;}
Could anyone provide one suggestion? I also tried removing the inner brackets, but I still fail the tests.
Thank you for the help!