Implement the price alert subsystem using the Observer pattern — AlertDirection enum, PriceAlert entity, PriceAlertObserver interface, and PriceAlertService that evaluates alerts whenever a trade changes a stock's price.
Loading content...