Implement the Stock Brokerage domain classes and OrderBook data structure in Python and Java — enums, Stock, Trader, Portfolio, Order hierarchy, and the price-sorted bid/ask OrderBook with FIFO per price level.
Loading content...