Program that processes the book of requests on the stock exchange
Java
implemented on Java,
the necessary input.txt file in which clamandi(setting on the stock market)
u,,bid - set bid size at to
u,,ask - set ask size at to
Q,best_bid - print best bid price and size
Q,best_ask - print best ask price and size…