-
bitcoin $79248.069182 USD
1.09% -
ethereum $2511.064695 USD
1.53% -
tether $0.999850 USD
0.01% -
bnb $756.247700 USD
0.89% -
xrp $1.438158 USD
3.79% -
usd-coin $0.999958 USD
0.01% -
solana $104.884928 USD
2.06% -
tron $0.339008 USD
0.51% -
hyperliquid $86.722420 USD
3.32% -
zcash $1235.386194 USD
9.84% -
dogecoin $0.090749 USD
1.59% -
monero $503.916600 USD
-2.09% -
chainlink $12.600233 USD
-0.32% -
unus-sed-leo $9.181565 USD
-0.39% -
cardano $0.221251 USD
2.14%
How to Check Trading History on OKX?
To view your OKX trading history, log in to the web platform, go to Trade → Transaction History, filter by asset, date range, or trade type, and export CSV reports—supporting up to 90 days per download.
Jul 14, 2026 at 05:19 pm
Accessing Trading History via OKX Web Interface
1. Log in to your OKX account using verified credentials and two-factor authentication.
2. Navigate to the top-right corner and click on the user profile icon to open the dropdown menu.
3. Select Trade History from the list of account options.
4. Choose between spot, margin, futures, or options tabs depending on the product type you traded.
5. Apply filters such as date range, instrument ID, order status, and trade direction to narrow results.
Retrieving Trade Records Through OKX API
1. Ensure your API key has 'Read-only' or 'Trade' permission enabled under API management settings.
2. Use the /api/v5/account/bills endpoint to fetch all transaction records including deposits, withdrawals, and transfers.
3. For executed trades specifically, call /api/v5/trade/fills with required parameters like instId, ordId, and limit.
4. Include proper authentication headers: OK-ACCESS-KEY, OK-ACCESS-SIGN, OK-ACCESS-TIMESTAMP, and OK-ACCESS-PASSPHRASE.
5. Handle pagination by checking the hasNext field in responses and repeating requests with updated before/after timestamps.
Exporting Historical Trade Data for Analysis
1. Within the OKX web interface, locate the Export button at the bottom of the Trade History table.
2. Select CSV format and define a custom time window—maximum supported duration is 90 days per export.
3. Download files directly or configure email delivery for large datasets exceeding browser limits.
4. For longer-term analysis, combine multiple exports manually or use python-okx library’s get_fills_history method.
5. Validate data integrity by cross-checking timestamps, fill prices, and fee amounts against on-chain settlement confirmations.
Common Issues When Retrieving Trade Records
1. Empty results may appear if the selected time range exceeds retention policy—OKX retains trade history for up to 180 days on standard accounts.
2. Missing fills could indicate failed order matching or partial execution not yet settled in the system ledger.
3. Discrepancies between displayed profit/loss and exported values often stem from rounding differences in fee calculation logic.
4. API rate limiting triggers HTTP 429 errors when exceeding 20 requests per second; implement exponential backoff strategies.
5. Legacy orders placed before March 2021 might not be accessible through current endpoints due to platform migration archives.
Frequently Asked Questions
Q1: Can I retrieve trade history older than six months?Yes, only through the /api/v5/trade/fills-history endpoint, which supports queries dating back to account creation, provided the API key has appropriate permissions.
Q2: Why do some trades show zero fees in the export file?This occurs when trading fee discounts apply, such as those granted via OKB holdings or VIP tier benefits—the actual fee amount is calculated but displayed as zero in simplified views.
Q3: Is there a way to filter trades by specific wallet address used for funding?No native filtering exists by funding address; however, users can match deposit IDs from /api/v5/asset/deposit-history with trade timestamps to infer source wallets.
Q4: Does OKX provide trade history in JSON format via web interface?No, the web UI only supports CSV export; JSON output requires direct API calls or third-party tools integrating with OKX’s RESTful endpoints.
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.
- Bitcoin Hovers Near Critical $38K Zone Amidst Shifting Market Sentiment
- 2026-09-09 16:45:01
- XRP Price Poised for Breakout Amidst Renewed Whale Accumulation in September
- 2026-09-09 12:35:01
- Fifth Zondacrypto Suspect Charged as Polish Crypto Investigation Widens
- 2026-09-08 20:45:01
- Cosmos Price Prediction: $ATOM Eyes Major Breakout Amidst Multi-Chain Momentum – IMP Levels Revealed!
- 2026-09-08 20:45:01
- Solana's V1 Transaction Upgrade Unleashes ZK Proofs and Enhanced Transaction Capacity, Reshaping Blockchain Privacy and Scaling
- 2026-09-08 20:40:02
- XRP Price Watch: Critical Dates Loom as Analysts Eye $2 Target Amidst Market Shifts
- 2026-09-08 20:40:02
Related knowledge
How to Change Margin Mode on OKX Futures?
Sep 09,2026 at 12:00am
Understanding Margin Mode Fundamentals1. Margin mode determines how collateral is allocated across positions in OKX futures trading. 2. Isolated margi...
How to Find the BTC/USDT Market on OKX?
Sep 10,2026 at 01:20am
Market Symbol Mapping1. OKX uses a standardized instrument ID format that differs from common trading pair notation. The symbol BTC-USDT is the offici...
How to Set a Trailing Stop on Bybit Futures?
Sep 09,2026 at 08:20pm
Understanding Trailing Stop Mechanics1. A trailing stop on Bybit Futures is a dynamic order type that adjusts automatically as the market moves in the...
How to Switch Margin Mode on Bybit Futures?
Sep 09,2026 at 06:00am
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where block rewards are cut in half approximately every 210,000 bloc...
How to Cancel a Pending Order on Bybit?
Sep 09,2026 at 07:40am
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed supply cap of 21 million coins, with new units introduced through block rewards. 2. Ev...
How to Check a Lead Trader's ROI on Binance?
Sep 09,2026 at 10:20pm
Accessing the Lead Trader Profile1. Log into your Binance account and navigate to the Copy Trading section via the top navigation bar or the “Trade” d...
How to Change Margin Mode on OKX Futures?
Sep 09,2026 at 12:00am
Understanding Margin Mode Fundamentals1. Margin mode determines how collateral is allocated across positions in OKX futures trading. 2. Isolated margi...
How to Find the BTC/USDT Market on OKX?
Sep 10,2026 at 01:20am
Market Symbol Mapping1. OKX uses a standardized instrument ID format that differs from common trading pair notation. The symbol BTC-USDT is the offici...
How to Set a Trailing Stop on Bybit Futures?
Sep 09,2026 at 08:20pm
Understanding Trailing Stop Mechanics1. A trailing stop on Bybit Futures is a dynamic order type that adjusts automatically as the market moves in the...
How to Switch Margin Mode on Bybit Futures?
Sep 09,2026 at 06:00am
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where block rewards are cut in half approximately every 210,000 bloc...
How to Cancel a Pending Order on Bybit?
Sep 09,2026 at 07:40am
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed supply cap of 21 million coins, with new units introduced through block rewards. 2. Ev...
How to Check a Lead Trader's ROI on Binance?
Sep 09,2026 at 10:20pm
Accessing the Lead Trader Profile1. Log into your Binance account and navigate to the Copy Trading section via the top navigation bar or the “Trade” d...
See all articles














