> This page is for Documentation.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://okx-demo.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://okx-demo.ferndocs.com/_mcp/server.

## Trading account

* Added `GET /api/v5/account/instruments` returning the tradable instruments
  available to the authenticated account, filtered by the account's current
  trading mode and permissions.
* The account configuration response from `GET /api/v5/account/config` now
  includes `spotBorrowAutoRepay` and `liquidationGracePeriod` fields.
* Position risk on `GET /api/v5/account/positions` now returns `bePx`
  (break-even price) for derivatives positions.

## WebSocket

* Added the `account-greeks` private channel, pushing option account-level
  greeks (delta, gamma, theta, vega) as positions and marks update.