Your question is Trading System With Pause Resume Cancel. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Design a trading system that includes pause, resume, and cancel order functionalities.
Explain the order lifecycle, state transitions, API behavior, persistence, concurrency control, and recovery semantics. Discuss how any ML-assisted monitoring would remain off the critical command path, and identify assumptions that require clarification.