I had the following coding question in a quant shop interview recently. I have no experience with quant finance, so I was hoping to get some insight on if this problem actually represents some real world trading problem.
Essentially, the question was something like this:
Suppose you have 2 vendors (can't remember if they used the term "vendor" or "exchange" but I don't think it matters for the problem) with different stocking trading data. Timestamps are given in the data. If the price and quantity are the same, then they're considered equal. This comparison can initially be done using a static comparison, and then using dynamic comparison. One followup was what if we allowed editing of the quantity and price? And another followup was adding additional vendors on top of the existing 2.
There was a huge language barrier issue, and I spent a lot of time trying to figure out what the interviewer was asking me to code, and I still don't quite understand it. What I remember is mentioned above, and I was hoping someone can tell me if is modeled after some real world trading problem?