Review this Python function that converts amounts using live FX rates. It is called for every line item on every invoice render, and the rates barely change during a day.