Quant Interview Practice Questions
题目详情
A high-frequency trading system processes millions of currency transactions daily. Accuracy is paramount to avoid accumulating small errors that could lead to significant financial losses. Consider a Python implementation for handling these currency calculations. Why might a trading system choose to use Python's decimal.Decimal data type instead of the built-in float data type for representing currency values?