Quant Interview Practice Questions
题目详情
Pricing complex derivatives can be computationally expensive and may block the main thread from processing real-time market data. To maintain low latency, quantitative trading systems often offload these calculations to background threads using lower-level concurrency primitives. This ensures the critical path remains unblocked while the pricing result is computed asynchronously. Task Implement an AsyncPricer class that offloads a pricing calculation to a background thread. You must implement t