Look for overlap before blaming the CSV
Your exchange shows one BTC purchase. CoinTracking shows two buys after you add a CSV. If both entries describe the same execution, the duplicate can change holdings and which acquisition lots appear available when you sell. Start with the exchange’s original trade history and the import dates. A CSV and a continuing API job can cover the same week without looking identical.
Suppose a March CSV includes a fill for 0.04 BTC on the 12th and the API job already fetched that fill. The two imported rows may format time, fees or IDs differently. Compare the exchange, pair, amount, time and fee with the actual fill. Two rows with the same price can also be genuine partial executions. Use exchange fill IDs where available before deciding what to remove.
Map the affected window
In CoinTracking, filter by exchange and the dates where imports overlap. Compare totals and actual entries with the original source, then expand the window if you find the same pattern earlier. Write down which source provides fees or fills correctly for that exchange. Different import methods can offer different coverage, so confirm that keeping one source in the overlap preserves the records you need.
Time zones complicate the comparison. A UTC entry and one in the exchange’s local export time can represent the same moment. Normalize times in your comparison sheet first, especially around midnight. Don't change source timestamps solely to make a duplicate tool match more aggressively.
Back up the account and fix the import that re-adds records
CoinTracking’s help notes that automatic imports can re-create removed transactions. Use its documented start-date controls where supported to keep new API pulls from overlapping a retained historical CSV. If you adjust a boundary, inspect the last retained CSV entry and the first API entry. An overly broad exclusion can leave a gap as easily as an overlap.
Keep the original CSV and an export of your current records. Decide which source owns the overlap before removing duplicates. Try one confirmed pair first, use narrowly scoped filters for any later batch, and keep a list of changes. CoinTracking’s help documents editing and deletion options. Choose the one that lets you inspect exactly what you are changing.
Validate the aftermath, not just the row count
Check balances around the boundary, confirm fees for representative fills and review purchases that support later sales. A tidy trade count can hide a gap if you deleted a valid partial fill along with a duplicate. Where the software offers a transfer match, verify your changes did not leave genuine withdrawals and deposits unmatched.
In the example, the corrected import has one 0.04 BTC acquisition for the specific fill. If the API next runs and the second row returns, inspect the job configuration again. Repeating the deletion does not answer why the importer still treats the row as new.
Leave a record you could explain next year
Keep a short import ledger with the exchange or account, file date range, API start date and the date you changed it. If the platform exports spot trades, earn distributions and derivatives to separate files, keep those ranges independently. Different data types may have different coverage even when the date columns look similar.
Review changes against the exchange records before relying on a downstream report. If your tax position depends on an unresolved discrepancy, seek qualified advice. A defensible correction records which fill existed, why the extra row was redundant, and how you kept it from reappearing.

