Before looking up the average fill price, you need to know whether you want the average for a single order or the average cost for your whole position. The access points are different.
To find the weighted average fill price of an individual order, there are two places: you can check the "avg fill price" for limit orders under "Open Orders", or check the "avg fill price" of filled orders under "Order History".
Case A: Viewing batch fill details for a single order
Goal: See every fill record for that order, not just a single number.
How to do it:
App: Bottom [Trade] → Select [Spot] → Scroll to the positions area → Tap the [Trade History] icon on the right → Find the target order under [Order History]
Web: [Assets] → [Order Center] → [Order History] → Filter by date and trading pair
Once inside the order details, you can see each individual fill (time, price, quantity). You can also download a full CSV file from the top-right corner.
Completion standard: You see all fill rows for that order ID, and you can calculate the weighted average price: Σ (fill price × quantity) / total quantity.
Common mistake: Some people look at a single fill price shown in the order history and think it's the average. But if the order was filled in multiple batches, you miss the rest. Batch order fills are listed row by row – you need to filter by the order ID and sum them up.
Case B: Viewing the composite average cost price of your current holding
Goal: Check the weighted average holding cost calculated by OKX for your P&L reference.
How to do it:
[Assets] → [Spot Assets] list → Find the target coin → Swipe to see the "Average holding cost" field
This is the system-calculated value using all your buy records, weighted. It includes holdings across your trading, funding, and grow accounts.
Difference between the two cost basis methods:
| Method | Formula | Characteristics |
|---|---|---|
| Average cost | (Previous avg cost × qty + This buy price × qty) / Net bought qty | Sells do not affect cost; reflects only buy cost |
| Cumulative cost | (Total buy value – Total sell value) / Net bought qty | Sells affect cost; reflects remaining cost after realised P&L |
You can switch between these two cost basis methods in the [Settings] on the trading interface.
Completion standard: You know which method you're using (average or cumulative) and understand why the cost price shows that number.
Case C: Export the full statement and verify locally
Goal: Export your trade history from OKX and recalculate in Excel or Numbers to be completely sure.
How to do it:
Web: [Assets] → [Order Center] → [Trade Statement] or [Order History] → Click [Download]
Choose date range and file format (CSV or PDF) → Export
Filter for "Buy" records, then use the formula SUM(fill price × quantity) / SUM(quantity) to get the weighted average price.
Note: Statements for the current day usually become downloadable on T+1. VIP users can export historical orders dating back to February 2021.
Completion standard: The number you calculate locally matches the system display, within a reasonable tolerance.
Verification After Checking
After following the steps, go to [Assets] → [Spot Assets] and find the target coin. Compare:
Does the system's "Average holding cost" match your manually calculated weighted average?
If not, check if you accidentally used the cumulative cost method (which is affected by sell transactions).
Next actions if you find a mismatch: If the system cost seems wrong, first check if you transferred funds between accounts – OKX's asset overview cost price does not recalculate when you move assets across accounts; it keeps the original cost. Once you confirm the correct cost, we recommend taking a screenshot of the current cost price, then cross-check it with the CSV export using the formula. If data still doesn't line up, contact customer support directly and provide the relevant statements.


