How to choose a crypto pricing source for historical trades
Last updated: November 10, 2026
A bad pricing source can turn a clean trade record into a messy tax file.
Quick answer: for how to choose a crypto pricing source for historical trades, start with the venue that filled the trade and the exact timestamp, then use a documented fallback if that bar is missing.
The steps below show how to choose a crypto pricing source for historical trades without guessing.
Key Takeaways
- Start with the exchange that filled the trade, then compare it with a market index source if the venue price looks odd.
- Match the timestamp first, not the ticker name; a 1-minute bar and a daily close can give different answers.
- If the exact moment has no price bar, use the nearest rule your software or exchange policy allows and record the gap.
- Stablecoins need their own check because “$1” is not always the same as a live market quote.
- When records, exchanges, and tax software disagree, a documented rule is usually safer than a one-off manual guess.
This is information, not financial advice. Tax and reporting rules differ by country and change over time, so if a trade is large, unusual, or tied to an audit, a qualified adviser should review your facts.
Who this applies to, and what you need first
This applies to anyone reconciling crypto trades from an exchange export, wallet history, or tax tool when the numbers do not match. You need the trade timestamp, the asset pair, the exchange or venue name, and one clear rule for which pricing source comes first.
Picture this: you have a BTC trade at a specific time, three tools show three prices, and none of them agree. The right answer is match the trade venue and time first, then use a market average or OHLC data only if the venue quote is missing or clearly unusable.
To do this well, you also need to know whether your records are in UTC or local time, because a 1-hour offset can point to a different bar. If your source data only gives a date, not a time, that is a different job from a true historical trade lookup.
Use this page if you are trying to choose a pricing source for historical trades; if the case is unusual, or you are unsure how local tax rules apply, consult a qualified professional and check your exchange’s own help pages or tax guidance.
What counts as a pricing source?
A pricing source is the dataset or feed that supplies the price attached to a trade time. In practice, that can mean exchange spot prices, index prices, CoinMarketCap, CoinGecko, or OHLC data, where OHLC means open, high, low, and close for a time bar such as 1 minute or 1 day.
Picture this: your tax software asks for a historical ETH price at 14:07 UTC, and you have four possible sources. The source is not just “the internet price”; it is the exact feed, bar size, and timestamp rule behind the number.
Here is the basic split:
- Exchange spot prices come from the venue where the trade happened.
- Index prices combine multiple venues and aim to smooth out one-off spikes.
- CoinMarketCap and CoinGecko are market reference sources that often aggregate from several exchanges.
- OHLC data gives the nearest bar, not always the exact trade print.
That matters because two sources can both be “correct” while still producing different results. A venue price may reflect a thin order book; an index may ignore that noise. Neither is wrong in the abstract. The wrong one is the one that does not fit your purpose.
How do I pick the right one step by step?
Use the source that best matches the trade, then confirm the time rule, then record any fallback.
Picture this: you are staring at a trade export, and the same coin appears in three places with three different prices. The clean path is not to guess; it is to check the venue first, then the timestamp, then the backup source.
- Identify the trade venue first. If the trade happened on Binance, Kraken, Coinbase, or another exchange, start with that exchange’s spot price for the same asset pair. Verify that the quote currency matches the trade. A problem shows up when the trade pair is BTC/USDT but the source uses BTC/USD or BTC/EUR.
- Match the timestamp in the same time zone. Convert everything to UTC if possible, and keep the original timestamp too. Verify the minute and second if your source supports it. A problem shows up when the trade time lands inside a different hour bar after conversion.
- Check the bar size before you trust the number. A 1-minute OHLC bar is not the same as a daily close. Verify whether your source gives a trade print, a 1-minute bar, or a daily bar. A problem shows up when a daily close is used for an intraday trade.
- Use the exact trade price only if your records really show a fill. If your export includes the executed price, fee currency, and quantity, that price usually belongs in the record. Verify that it is a fill price, not a quoted screen price. A problem shows up when a quoted price is mistaken for an executed trade.
- Fall back to an index if the venue price is missing or abnormal. Index prices from CoinMarketCap, CoinGecko, or a market data vendor help when an exchange bar is absent, stale, or obviously bad. Verify that the index uses the right timestamp and asset symbol. A problem shows up when the index is delayed or based on a different reference time.
- Handle stablecoins as a special case. For USDT, USDC, and similar tokens, check whether the trade is meant to track $1 or whether it moved away from peg. Verify the source around the exact date, because depegging or illiquid pairs can make the market price differ from the face-value assumption. A problem shows up when a software rule hard-codes $1 and ignores the market quote.
- Document the fallback rule. If the exact timestamp has no price bar, write down whether you used the nearest earlier bar, the nearest later bar, or the closest daily close allowed by the system. Verify that the same rule applies to every trade in the file. A problem shows up when each missing point gets a different manual fix.
- Compare the source against one second opinion. If the trade is large or the gap is obvious, check a second source such as another exchange feed or a market reference site. Verify that the difference is not just a different bar size. A problem shows up when one feed has a gap and the other has a valid bar.
That order works even when your software gives you no guidance. It keeps the process consistent, which matters more than chasing the prettiest price. For data-heavy setups, this same logic fits the broader crypto calculator setup and data quality workflow.
Which source should come first: exchange spot, index, or market site?
Exchange spot prices should come first when the trade happened on that exchange and the feed has a usable bar at the trade time.
Picture this: a trade was filled on a venue with a deep order book, and the source has an exact 1-minute bar for that pair. In that case, the venue price is the closest fit to what actually changed hands.
Use an index price when the exchange data is missing, the venue is known for thin liquidity, or the trade happened across a market that regularly jumps on one venue and not others. Indexes are designed to reduce venue noise, but they can lag a fast move or miss the exact local price of a fill.
Use CoinMarketCap or CoinGecko as reference sources when you need a widely recognized market snapshot and do not have venue data. They are convenient, but they are still aggregation layers, not the original trade venue. That means they are usually better as a backup than as the first choice for a specific filled trade.
A good rule: venue first, index second, broad market site third.
Not the other way around.
What if the exact timestamp has no price bar?
Use the nearest acceptable bar and write down the rule that got you there.
Picture this: the trade happened at 12:34:27, but your source only has 12:34 and 12:35 bars, or it skips the interval entirely. That is common in older data, thin coins, and some daily exports.
Here is the catch: “nearest” can mean different things in different systems. Some tools use the previous bar, some use the next bar, and some use the closest bar by absolute time. The difference can matter when the market is moving fast.
When the exact timestamp is missing:
- Prefer the nearest earlier bar if your reporting system and local rules allow it.
- Use the nearest later bar only if that is the defined method.
- Use a daily close only when the trade record is date-only or the system explicitly requires daily data.
- If the bar is missing on both sides, switch to a second source with denser OHLC data.
- If you still cannot fill the gap, mark the trade for manual review instead of inventing a number.
A clean record should show the source, the bar size, the timestamp used, and the gap rule. If those four items are missing, the number may look precise while being weak.
When should I stop and use a different approach?
You should stop and switch methods when the source no longer matches the trade or the record quality is too poor to defend.
Picture this: the data looks fine on screen, but the timestamp is vague, the pair changed format, or the market was shut down around the trade. That is the point where forcing a price does more harm than leaving the item flagged.
The trade has only a date, not a time: You cannot truthfully assign an exact intraday price — use a date-based source or a tax rule that accepts daily pricing, if your reporting system allows it.
The exchange no longer exists or no longer publishes history: The venue source is gone — use a recognized market index or archived OHLC data, and keep the fallback note.
The asset was re-denominated or split: The symbol may map to more than one economic unit — stop and check the chain of events before picking any price.
The pair is illiquid or spikes wildly: A single trade print can be distorted — prefer an index or a broader market reference rather than a thin venue quote.
The trade is in a stablecoin that drifted from peg: A hard-coded $1 can be wrong — use a source that shows the market price at the time.
Your software uses a different time zone than the exchange export: A 1-hour shift can change the bar — normalize all files to UTC before comparing prices.
The source changed methodology mid-period: Old and new values may not be comparable — split the file or note the change before continuing.
If the source, bar size, and timestamp line up cleanly, you do not need to keep shopping for a better number. A defensible match is better than a perfect-looking guess.
The mistakes that cause the worst mismatches
The mismatches that cause the most reconciliation work come from mixing time rules, mixing quote currencies, or treating market averages like trade fills.
Picture this: the file imports cleanly, but the totals drift because one row used a daily close and another used a minute bar. The error is not dramatic at first. It gets ugly when many small mismatches add up.
- Using the wrong time zone. A UTC trade matched to a local-time bar can land on the wrong minute or day. The fix is to convert everything to one standard before matching.
- Using a daily price for an intraday fill. Daily closes flatten the day’s movement and can miss the actual trade context. The fix is to use intraday OHLC data when the trade has a time stamp.
- Mixing quote currencies. BTC/USDT is not BTC/USD, even when both seem close. The fix is to match the exact pair or convert with a documented FX rule.
- Relying on one source for every edge case. A source that is fine for BTC may be weak for a thin altcoin. The fix is to keep a fallback source ready.
- Hard-coding stablecoins at $1. That ignores market drift and stress periods. The fix is to check the market price on the trade date.
These mismatches can create reconciliation work later.
How stablecoins change the choice
Stablecoins need a market check because their peg can move, break, or trade with a spread.
Picture this: a USDT transfer or trade sits near dollar value most days, then a stress event pushes the market quote away from $1. If you price every stablecoin row at face value, you may hide the actual market condition at the time.
For stablecoins, start with the same question as any other asset: what did the venue or market source show at that timestamp? If the token traded at or near the peg, many systems treat it like $1 for convenience, but that is a policy choice, not a universal fact.
Watch for these cases:
- Depegging events: use a live market source, not a fixed face value.
- Thin pairs: use the most liquid quote pair you can find.
- Wrapped or bridged stablecoins: check that the symbol refers to the token you actually held.
- Conversions inside the same day: use the exact timestamp, not a blanket daily average.
A stablecoin that looks simple can hide the biggest reporting error in the file.
That is the trap.
FAQ
What price should I use for a trade at an exact timestamp?
Use the price source that matches the trade venue and the exact time as closely as your data allows. If the exchange gives a 1-minute bar at that moment, that is usually better than a daily close or a broad market average. If the exact second is missing, use your documented rule and keep the source note with the trade.
Drafted with AI; not yet reviewed by a person.