返回题库

Quant Interview Practice Questions

专题
难度
L2
来源
MyntBit

题目详情

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: