Crypto Fundamentals

Crypto Exchanges for Accountants

How crypto exchanges work for accountants — CEX vs DEX mechanics, order types, settlement models, fee structures, data extraction methods, and accounting treatment for exchange-sourced transactions.

Updated

Crypto exchanges are platforms where digital assets are bought, sold, and traded — functioning as the primary data source for 60-80% of transaction volume in most organizations’ crypto subledgers. Exchange mechanics are a core knowledge domain for finance teams because the exchange type (centralized or decentralized), order model (order book or automated market maker), and fee structure directly determine the accounting treatment, data extraction method, and reconciliation logic for each trade.

What Is the Difference Between Centralized and Decentralized Exchanges?

The difference between centralized exchanges (CEX) and decentralized exchanges (DEX) is the custody model — a foundational distinction within crypto fundamentals for finance teams: centralized exchanges hold user funds in exchange-controlled wallets and match orders through a central order book, while decentralized exchanges execute trades through on-chain smart contracts without taking custody of user funds.

Centralized Exchanges (CEX)

Centralized exchanges operate as intermediaries between buyers and sellers. Coinbase, Binance, Kraken, and Bybit are the 4 largest CEX platforms by trading volume as of March 2026. CEX platforms provide:

  • Custodial accounts — The exchange holds private keys for user funds in omnibus wallets. User balances exist as internal ledger entries, not on-chain positions.
  • Order book matching — Buy and sell orders are matched through a central limit order book (CLOB). Each matched order produces a “fill” — the atomic unit of trade execution.
  • KYC/AML compliance — Regulated CEX platforms require identity verification under anti-money laundering frameworks, producing counterparty records useful for DAC8 compliance reporting.
  • API access — REST and WebSocket APIs expose trade history, balances, deposits, and withdrawals for automated data collection.

Decentralized Exchanges (DEX)

Decentralized exchanges execute trades through smart contracts deployed on blockchain networks. Uniswap (Ethereum, Polygon, Arbitrum, Base), PancakeSwap (BNB Chain), and Raydium (Solana) are prominent DEX platforms. DEX platforms provide:

  • Non-custodial trading — Users retain private key control throughout the trade. Assets move directly between the user’s wallet and the liquidity pool smart contract.
  • Automated Market Maker (AMM) — Liquidity pools replace order books. Price is determined algorithmically based on the ratio of assets in the pool, not by matching individual orders.
  • On-chain settlement — Every trade is an on-chain transaction, producing a permanent blockchain record with transaction hash, block number, and timestamp.
  • No KYC requirement — DEX trades are pseudonymous. Counterparty identification relies on wallet address analysis.

The accounting implication of DEX trading is that all transaction data exists on-chain, requiring blockchain data ingestion and smart contract event decoding to extract trade details. DEX token swap reconciliation handles the added complexity of multi-hop routes, slippage, and aggregator transactions.

CEX vs DEX Comparison for Accounting

AttributeCEXDEX
Data sourceExchange APIBlockchain (on-chain)
Trade record formatAPI response (JSON)Smart contract event log
Fee structureMaker/taker percentageGas fee + protocol fee (typically 0.3%)
SettlementInternal (off-chain)On-chain (1 block confirmation)
Counterparty dataAvailable (KYC records)Pseudonymous (wallet address)
Reconciliation methodAPI-to-subledger matchingOn-chain event decoding
Custody modelExchange-custodiedSelf-custodied

The 7 attributes in the table above drive the key accounting treatment differences between CEX and DEX platforms.

What Order Types Exist on Crypto Exchanges?

The 5 primary order types on crypto exchanges are market orders, limit orders, stop orders, stop-limit orders, and time-weighted average price (TWAP) orders. Each order type produces different fill patterns that affect cost basis calculation and trading log reconciliation.

  1. Market orders execute immediately at the best available price. A single market order may produce multiple fills across different price levels, each fill representing a separate lot for cost basis purposes.
  2. Limit orders execute only at a specified price or better. Partial fills occur when insufficient liquidity exists at the limit price, creating multiple lots from a single order.
  3. Stop orders convert to market orders when a trigger price is reached. The execution price may differ from the trigger price due to slippage — the gap between the triggered price and the actual fill price.
  4. Stop-limit orders combine stop and limit mechanics: the stop price triggers a limit order at the specified limit price. Execution is not guaranteed.
  5. TWAP orders split a large order into smaller chunks executed over a time period. Institutional trading desks use TWAP to minimize market impact. Each chunk produces a separate fill with a distinct execution price and timestamp.

How Do Exchange Fee Structures Affect Accounting?

Exchange fee structures affect accounting by creating cost basis adjustments on purchases and reducing net proceeds on disposals — directly impacting realized gain/loss calculations for every trade.

CEX Fee Models

Centralized exchanges use 3 fee models:

  1. Maker/taker percentage — Most CEX platforms charge a percentage fee based on the role in the order book. Maker orders (adding liquidity) pay lower fees than taker orders (removing liquidity). Coinbase Pro charges 0.04% maker / 0.06% taker for high-volume tiers. Binance charges 0.02% maker / 0.04% taker for VIP-3 tier.
  2. Flat fee — Some platforms charge a fixed fee per trade regardless of volume. Flat fees simplify accounting but penalize small trades proportionally.
  3. Spread-based — Platforms embed the fee in the bid-ask spread rather than charging an explicit fee. Coinbase’s simple buy interface uses spread-based pricing. Spread-based fees require extracting the effective fee by comparing the execution price against the mid-market price.

DEX Fee Models

Decentralized exchange fees consist of 2 components:

  1. Protocol fee — A fixed percentage of the trade amount charged by the smart contract. Uniswap V3 pools charge 0.01%, 0.05%, 0.3%, or 1% depending on the pool’s configured fee tier.
  2. Gas fee — The blockchain network fee for executing the swap transaction. Gas fees vary by network congestion, transaction complexity, and the specific blockchain. An Ethereum mainnet swap costs approximately $5-50 in gas (March 2026), while an Arbitrum swap costs approximately $0.10-0.50.

Fee Accounting Treatment

The exchange fee reconciliation process classifies fees into 3 categories:

Fee TypeTreatment on PurchaseTreatment on Sale
Trading feeAdded to cost basisDeducted from proceeds
Withdrawal feeOperating expenseOperating expense
Deposit feeAdded to cost basis (if significant)N/A

Exchange fee treatment follows the principle that fees directly attributable to acquiring an asset increase its cost basis, while fees incurred on disposal reduce net proceeds. Withdrawal fees — incurred when moving assets off the exchange — are typically recorded as operating expenses because the withdrawal is a transfer, not a trade.

How Do Exchanges Produce Data for Crypto Accounting?

Exchanges produce data for crypto accounting through 3 channels: API integration, CSV export, and manual entry — each with different automation levels, data quality characteristics, and reconciliation requirements.

API Integration

Exchange API integration provides the most reliable automated data channel. REST APIs return historical trade data, balance snapshots, and deposit/withdrawal records. WebSocket APIs provide real-time event streams.

Coinbase, Binance, Kraken, and Bybit expose standardized endpoints for:

  • Trade history — Order ID, trade ID, timestamp, trading pair, side (buy/sell), quantity, price, fee amount, fee currency
  • Deposit/withdrawal history — Transaction ID, timestamp, asset, amount, address, status, blockchain transaction hash
  • Balance snapshots — Asset, available balance, locked balance (in open orders)

CSV Export

CSV export serves as a fallback when API access is unavailable, when historical data predates API availability, or for exchanges that do not offer API access. CSV import requires column mapping because each exchange uses a different CSV schema — column names, date formats, number formatting, and fee representation all vary.

Manual Entry

Manual entry is required for OTC desk trades, bilateral settlements, and off-exchange transactions where no automated data source exists.

Data Quality Considerations

Exchange data quality varies significantly. The data quality and validation layer of the subledger addresses 4 common exchange data problems:

  1. Timestamp discrepancies — Exchange timestamps may use different timezones or precision levels (seconds vs milliseconds)
  2. Missing fields — Some exchanges omit fee currency, counterparty address, or blockchain transaction hash from trade records
  3. Retroactive corrections — Exchanges may retroactively modify trade records due to system errors or regulatory requirements
  4. API deprecation — Exchanges regularly deprecate API versions, breaking automated data pipelines

How Does Exchange Type Affect Reconciliation?

Exchange type affects reconciliation by determining the available matching keys, the reference data source, and the exception handling rules for unmatched transactions. The reconciliation method differs fundamentally between CEX and DEX platforms.

CEX Reconciliation

CEX reconciliation follows an API-to-subledger matching pattern:

  1. The subledger pulls trade records from the exchange API
  2. Each trade record is matched against the subledger’s transaction log using trade ID, timestamp, and amount
  3. Balance reconciliation compares the exchange’s reported balance against the sum of all recorded transactions
  4. Discrepancies trigger missing and duplicate transaction detection

DEX Reconciliation

DEX reconciliation follows an on-chain-to-subledger matching pattern:

  1. The subledger decodes swap events from blockchain transaction logs
  2. Each swap event is parsed to extract input token, output token, amounts, and effective price
  3. Multi-hop swaps through DEX aggregators are resolved to the net input/output pair
  4. Gas fees are extracted separately and classified per the organization’s fee accounting policy

The automated reconciliation engine applies exchange-specific matching rules, with configurable tolerance thresholds for timestamp drift (typically 60 seconds for CEX, 1 block confirmation time for DEX) and amount rounding (typically 8 decimal places for crypto assets).

What Compliance Obligations Apply to Exchange Data?

Compliance obligations for exchange data span 3 regulatory domains: tax reporting, anti-money laundering, and financial disclosure — each requiring specific data points that exchanges produce.

Tax reporting — The OECD Crypto-Asset Reporting Framework (CARF) and EU DAC8 directive require exchanges to report per-user transaction aggregates to tax authorities. In the United States, the IRS requires exchanges to issue Form 1099-DA (effective for tax year 2026) reporting gross proceeds from crypto disposals.

AML/CTF — AML/CTF requirements mandate that exchanges implement Know Your Customer (KYC) verification, transaction monitoring, and suspicious activity reporting. Exchange-generated KYC records and transaction monitoring alerts feed into the organization’s compliance documentation.

Financial disclosure — Accounting standards for digital assets require disclosure of exchange concentrations, custodial risks, and fair value measurement sources. The exchange where the organization holds the largest balances may qualify as the “principal market” for fair market value determination under ASC 820.

The 3 regulatory domains in this section require specific data points — trade aggregates, KYC records, and principal market designations — that only exchange-sourced records provide.

Automate Your Crypto Accounting

Coincile handles data collection, reconciliation, cost basis tracking, and journal entry generation — so finance teams close faster with fewer errors.