Market Cap: $2.8083T -1.08%
Volume(24h): $90.1952B 62.93%
Fear & Greed Index:

53 - Neutral

  • Market Cap: $2.8083T -1.08%
  • Volume(24h): $90.1952B 62.93%
  • Fear & Greed Index:
  • Market Cap: $2.8083T -1.08%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

How to view realized PnL on OKX? (Trade History)

To view realized PnL on OKX, log in, go to Trade > Spot/Futures/Margin, open Trade History, enable the Realized PnL column, apply date/symbol filters, and export CSV for verification.

Mar 25, 2026 at 03:19 am

Accessing Trade History on OKX

1. Log in to your OKX account using valid credentials and two-factor authentication.

2. Navigate to the top navigation bar and click on Trade, then select Spot, Futures, or Margin depending on the product type where the trade occurred.

3. Locate and click the Order History or Trade History tab—this is usually found beneath the order book or in the bottom panel of the trading interface.

4. Ensure the time range filter is set appropriately to include the trades you wish to review; default settings may only show recent entries.

5. Confirm that the display mode is set to Realized PnL if available as a toggle or column option—some versions require enabling this field manually via column customization.

Identifying Realized PnL in Trade Records

1. Each completed trade entry in the history table contains multiple data points including timestamp, side (buy/sell), price, quantity, and fee.

2. Realized PnL appears as a separate numeric column, often labeled “PnL”, “Realized PnL”, or “Closed PnL”, especially in Futures and Margin sections.

3. For futures positions, realized PnL is calculated only after full or partial position closure—not during open position maintenance.

4. In spot trading, realized PnL is typically zero unless cross-margin or leveraged spot products are involved; standard spot trades do not generate PnL until asset value changes are converted through subsequent sales.

5. Negative values indicate losses, positive values reflect gains, and both are denominated in the quote currency of the trading pair (e.g., USDT for BTC/USDT).

Using Advanced Filters for Accurate PnL Review

1. Click the filter icon adjacent to the Trade History header to open advanced filtering options.

2. Select specific order types such as Limit, Market, or Stop-Market to isolate execution methods affecting PnL calculation accuracy.

3. Apply date range constraints to narrow results—for example, selecting “Last 7 Days” avoids clutter from older, irrelevant entries.

4. Filter by symbol to focus exclusively on one trading pair, eliminating noise from multi-asset activity.

5. Enable the Show Realized PnL Only option if present; this hides entries with zero or null PnL values for streamlined analysis.

Exporting and Verifying Realized PnL Data

1. Click the export button (usually represented by a downward arrow or CSV icon) located near the top-right corner of the Trade History section.

2. Choose CSV format to preserve numerical integrity and enable spreadsheet-based aggregation.

3. Open the downloaded file and verify that the “realized_pnl” or similarly named column contains non-empty decimal values aligned with expected trade outcomes.

4. Cross-check a sample trade’s entry price, exit price, size, and fee against manual calculation: (Exit Price − Entry Price) × Size − Fee = Realized PnL.

5. Note discrepancies caused by funding fees (in perpetual futures), slippage adjustments, or auto-deleveraging events—these may appear in supplementary columns like “Funding” or “ADL Impact”.

Frequently Asked Questions

Q: Does OKX display realized PnL for spot grid bot trades?A: Yes—grid bot trade history includes realized PnL per individual buy/sell leg under the Grid Trading section of Account > Trade History.

Q: Why does realized PnL show zero for some closed futures positions?A: This occurs when the position was closed at the exact entry price, or when the trade was part of a hedge mode position where unrealized components dominate reporting until full netting.

Q: Can I view realized PnL across multiple sub-accounts simultaneously?A: No—OKX requires switching between sub-accounts individually; PnL data is siloed and cannot be aggregated across sub-accounts within the UI.

Q: Is realized PnL affected by wallet transfers between spot and futures accounts?A: No—transfers do not trigger PnL events; only executed trades on the respective trading engine generate realized PnL entries.

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Related knowledge

See all articles

User not found or password invalid

Your input is correct