Quant Interview Practice Questions
题目详情
In foreign exchange (FX) markets, currencies are traded in pairs, and missing direct exchange rates are often triangulated through intermediate currencies like the US Dollar (USD). Building robust pricing graphs to compute these cross rates is essential for accurate cross-currency pricing and identifying arbitrage opportunities. Task Implement an FXConverter class that calculates currency conversions given a set of spot exchange rates. The constructor receives historical rates as three arrays: