Design a stock order/trade management system for a brokerage platform (Robinhood-style). The system must allow users to place and cancel stock orders, validate user account balances before execution, and integrate with external exchange APIs (3rd-party) to actually execute trades. The system is required to be reliable (no lost orders), durable,…