Fundamentals Capstone 3.2

https://learninghub.kx.com/forums/topic/fundamentals-capstone-3-2-2

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!

Hi !

Can you try naming the function classifyTrades instead of classifyTrade.

I’ve tested it and it should work fine with this adjustment.

Many thanks,

Megan