Reference data · sourced and dated

Perp DEX trade-history exports and PnL reconciliation

Build an audit trail from documented account and API access, then reconcile fills, per-trade fees and funding as separate ledger entries.

Reviewed snapshot — next review due 2027-03-05.

Checked 2026-12-05 (JST) · Updated 2026-12-05 · Record perp-dex-tax-pnl-export-audit

Answer

A fill export is not a complete PnL ledger. Hyperliquid separates the signer from the address used for account reads and documents different coverage for time-range and recent-fill responses. dYdX separates Indexer data from authenticated Node actions.

Next decision

Record the account and subaccount, time boundaries, pagination and any missing interval. Match fills by venue identifiers and reconcile booked fees and funding against account movements. Keep the raw responses with the export.

Documented evidence

VenueItemValueUnitBasisCheckedEvidence statusSource IDs
HyperliquidApiHyperliquid documents REST APIs and WebSockets and provides examples in the official hyperliquid-python-sdk. An approved API/agent wallet signs on behalf of the account. For account data, query the master or sub-account address, not the signer. For time-range Info responses such as userFunding and fundingHistory, the general pagination rule is 500 elements or distinct blocks per response, using the last returned timestamp as the next startTime. userFills instead returns up to 2,000 recent fills without a time range. userFillsByTime takes startTime and documents a separate ceiling of 2,000 fills per response and the 10,000 most recent fills available.Not specifiedOfficial2026-12-04Confirmed in reviewed sources
HyperliquidAccount modeUnified and portfolio-margin accounts share balances; Standard keeps spot/perp and DEX balances separate. Unified/portfolio modes have a 50,000 daily user-action limit.Not specifiedOfficial2026-11-12Confirmed in reviewed sources
HyperliquidTrading fee0.045percent of notional per fillOfficial2026-11-26Confirmed in reviewed sources
HyperliquidFunding paymentsNot establishedpercent of position notional over the funding intervalValue not established2026-12-04Variable: documented rule; current value depends on the scenario
dYdXApiThe indexer exposes HTTP data and live feeds. Authenticated actions use private Node API methods.Not specifiedOfficial2026-12-04Confirmed in reviewed sources
dYdXTrading fee0.05percent of notional per fillOfficial2026-12-04Confirmed in reviewed sources
dYdXFunding paymentsNot establishedpercent of position notional over the funding intervalValue not established2026-12-04Variable: documented rule; current value depends on the scenario

Evidence for this result

Hyperliquid · prerequisites.account_mode

Account mode

Unified and portfolio-margin accounts share balances; Standard keeps spot/perp and DEX balances separate. Unified/portfolio modes have a 50,000 daily user-action limit.

Basis
Official
Unit
Not specified
Source IDs
hl-accounts
Checked
2026-11-12
Formula
Not applicable
Note
None

Establish export coverage

Check the account identifier and response coverage before concluding that a missing fill did not occur. The documentation does not establish a common export format for both venues.

Hyperliquid · prerequisites.api

Api

Hyperliquid documents REST APIs and WebSockets and provides examples in the official hyperliquid-python-sdk. An approved API/agent wallet signs on behalf of the account. For account data, query the master or sub-account address, not the signer. For time-range Info responses such as userFunding and fundingHistory, the general pagination rule is 500 elements or distinct blocks per response, using the last returned timestamp as the next startTime. userFills instead returns up to 2,000 recent fills without a time range. userFillsByTime takes startTime and documents a separate ceiling of 2,000 fills per response and the 10,000 most recent fills available.

Basis
Official
Unit
Not specified
Source IDs
hl-api-wallets, hl-info, hl-info-perpetuals, hl-limits, hl-builder-codes
Checked
2026-12-04
Formula
Not applicable
Note
None

dYdX · prerequisites.api

Api

The indexer exposes HTTP data and live feeds. Authenticated actions use private Node API methods.

Basis
Official
Unit
Not specified
Source IDs
dydx-api
Checked
2026-12-04
Formula
Not applicable
Note
None

Reconcile fees and funding separately

A base-tier fee does not identify the rate applied to a particular fill. Funding belongs on its own line with a timestamp, amount and currency. A missing funding rate does not establish zero funding.

Hyperliquid · costs.trading_fee

Trading fee

0.045

Basis
Official
Unit
percent of notional per fill
Source IDs
hl-fees, hl-referrals
Checked
2026-11-26
Formula
Not applicable
Note
Base tier 0 perps: 0.045% taker and 0.015% maker. HYPE staking discounts range from Wood (more than 10 HYPE, 5% off) to Diamond (more than 500,000 HYPE, 40% off). Sub-account volume counts toward the master account and all its sub-accounts share the fee tier. Vault volume is counted separately. Asset-specific adjustments may also apply. The 4% referral discount does not apply to vaults or sub-accounts.

Hyperliquid · costs.funding

Funding payments

Not established

Variable: documented rule; current value depends on the scenario

Basis
Value not established
Unit
percent of position notional over the funding interval
Source IDs
hl-funding
Checked
2026-12-04
Formula
Not applicable
Note
Funding is paid hourly even though the formula is expressed on an eight-hour basis. The payment uses position size, spot oracle price and the applicable rate, not the last trade price.

dYdX · costs.trading_fee

Trading fee

0.05

Basis
Official
Unit
percent of notional per fill
Source IDs
dydx-fees
Checked
2026-12-04
Formula
Not applicable
Note
Tier 1 taker rate is 0.05% and maker rate is 0.01% in the published fee table. This excludes funding and any staking discount.

dYdX · costs.funding

Funding payments

Not established

Variable: documented rule; current value depends on the scenario

Basis
Value not established
Unit
percent of position notional over the funding interval
Source IDs
dydx-fees
Checked
2026-12-04
Formula
Not applicable
Note
A single funding rate for all positions and times was not established.

Limits

Published fee schedules are checks, not substitutes for booked fees. This guide does not calculate tax, determine reporting obligations, or establish the completeness of any export.

This is reference data published by Crypter. It does not ask any software to act. Registrations, signatures, deposits and trades are decisions for the human who owns the account. Nothing here guarantees airdrops, points, or profits. Crypter earns referral fees where a referral block is present.

Related records

Official sources and retrieval dates

Cite this record

Crypter. "Perp DEX trade-history exports and PnL reconciliation". Checked 2026-12-05. https://crypter.jp/en/guides/perp-dex-tax-pnl-export-audit

JSON · Markdown

AI × crypto research planner

Turn this article into your next steps

Carry this candidate into a plan with comparison fields, a verification checklist and a prompt for your AI.

Plan with this candidate

Check conditions before opening the official site

This is reference data published by Crypter. It does not ask any software to act. Registrations, signatures, deposits and trades are decisions for the human who owns the account. Nothing here guarantees airdrops, points, or profits. Crypter earns referral fees where a referral block is present.