About this question

Future/Promise Async Pricing

Medium · concurrency · Quant Developer interview question · c++, concurrency, multithreading, low-latency

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