Correct P&L on Lira Pairs and Inverse Contracts
Realized P&L on pairs quoted in a local currency is now converted to dollars at the right rate for each leg, inverse contracts brought in by CSV or typed in by hand use the right formula, and the chart pane controls work without a mouse.
Two corrections to realized P&L, and two smaller fixes.
Pairs quoted in a local currency are converted properly. A pair like USDT/TRY settles in lira, and we were reading that profit as if it were already dollars. It is converted now, and because a round trip can span years, the cost and the proceeds are each priced on their own day. Trades already in your journal have been repaired, and some of them change sign.
Inverse contracts from a CSV or typed in by hand. Coin-margined contracts were given the linear P&L formula on the import and manual entry paths, which inflated the number and reported it in dollars instead of the base coin. Synced accounts were already right. Both paths share one calculation now.
Chart pane controls without a mouse. The collapse and restore buttons on a multi-pane chart only appeared once you moved the pointer over the chart, so keyboard and screen reader users never got them. They are there from the moment the chart loads.
An expired import link says so. Opening an old import link after the import had been cleaned up showed "API request failed". It now tells you the import is no longer available.