# v5.2.2

* **API key expiry tracking (Bybit, Blofin, Hyperliquid):** A new "Expires" column appears in the Accounts settings table showing the remaining time on each key. On startup, a warning notification is shown if any key has already expired or will expire within 7 days.
* **ByBit TP/SL linked orders fixed:** Take-profit and stop-loss orders are now submitted in a single combined request. Previously, sending them separately caused ByBit's mobile app to treat them as independent orders — editing one would silently delete the other.
* **Hyperliquid HIP-3 pair display names:** HIP-3 perpetual pairs now show their deployer-assigned display names (e.g. "WTIOIL") instead of raw internal coin codes.
* **Lighter funding paid:** The Lighter exchange now reports cumulative funding paid per position. Funding totals in the positions footer (total, longs, shorts) now include a `$` prefix and correctly respect the account obscure/psyop mode.
* **PnL card Safari fixes:** Fixed the copy/download button on Safari — the card image is now composited on a canvas to work around Safari's SVG `foreignObject` image rendering bug. Background images are also now loaded via `FileReader` rather than object URLs, resolving a separate Safari rendering issue.
* **PnL card mobile layout:** The PnL card designer now has a dedicated mobile layout, making it usable on smaller screens.
* **Chase order fill notifications corrected:** Fill notifications for chase orders now correctly display "Limit" instead of "Market" as the order type.
* **Hyperliquid chase: duplicate TP/SL orders fixed:** Chase order amend cycles no longer re-place TP/SL trigger orders on every price update. TP/SL are now set only on initial order placement.
* **Max size: warning instead of disabled buttons:** When a trade size exceeds the estimated balance maximum, the buy/sell buttons remain active and a warning message is shown above them instead of disabling the buttons.
* **Chart order & position size labels:** Order and position size labels on the chart now use a snapped, abbreviated format (e.g. 43.2k, 3.88m) for cleaner display at all size ranges.
* **Scale/Skew distribution fix:** Fixed an incorrect price and size distribution when ladder price handles are set with the upper handle lower than the lower handle (inverted range). The skew and bias now apply correctly in both directions.
* **Scale panel: "EXP" abbreviation:** In the Scale and Scale Side panels, the label "exponential" is shortened to "EXP" when the component is too narrow to display the full word.
* **Orderbook menu toggles fixed:** The Flash Animation, Drifter Animation, and 60fps Mode toggles in the orderbook settings menu now respond correctly when clicked.
* **Cancel button on chart limit order lines:** Limit order lines drawn via the chart's click designer now display a cancel (×) button to remove the pending order directly from the chart.
* **OKX Portfolio Margin balance fixed:** The margin info panel now correctly reads the aggregated USD equity for OKX Portfolio Margin accounts, preventing double-counting of multi-token balances.
* **Exchange error messages in connection dialogs:** When an API key is rejected at the exchange WebSocket level (OKX, Blofin), the actual error message returned by the exchange is now shown in the warning dialog instead of a generic fallback message.
* **Lighter API keys link:** The setup call-to-action on the Lighter key form now links directly to the Lighter API keys page (`app.lighter.xyz/apikeys`).
* **Lighter: tick chart option removed:** The tick chart resolution option is no longer available for Lighter exchange instruments (unsupported).
* **System notification icon updated:** Desktop (OS-level) trade notifications now use the current app icon.
* **Main tab can now be deleted:** The primary "Main" layout tab can now be deleted like any other tab.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.insilicoterminal.com/documentation/changelog/v5.2.2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
