-
Capstone 2.3
I am having trouble with Exercise 2.3 in the capstone project. I tried making both trade_id and exch_message as strings, but my solution is still incorrect.
here is the meta messages:
c | t f a
————| —–
trade_id | C
exch_message| C
broker_id | jThis is my solution:
messages: update trade_id: string trade_id, exch_message, broker_id: extractBrokerId each exch_message from messagesextractBrokerId: {[exchMsg]
temp: “-” vs exchMsg;
msg: temp[0];
res: temp[2];
if[msg~”ISE”; res:temp[1]];
“J”$res
}
Log in to reply.