Design System where User can create alerts on StockOptions.
MediumLet's refine our Stock Option Alerting System. We aim to build a system that allows users to define alerts on stock option prices. The system should monitor the market, trigger alerts when the specified conditions are met, and notify the user. This is a classic problem where thoughtful object-oriented design choices can lead to a robust, scalable, and maintainable solution.
Think of the real-world implications. A trader might want to be notified when a specific option reaches a certain price, or when the implied volatility hits a predefined level. Our system should empower them to create and manage these alerts efficiently. This requires careful consideration of data structures, threading (if applicable), and overall system architecture.
Requirements
Interview Simulation
Experience a realistic interview conversation. The interviewer will ask clarifying questions,and you'll reveal your understanding of the requirements.
Let's start by understanding the scope. What are the core functionalities this system needs to provide?
💡 Interview Tip
Identify the Actors (Who uses the system?) and their Use Cases (What are they trying to achieve?). Start with the 'Happy Path' scenarios.