Exchange · CSV

dYdX perps, taxed from your history.

Bring your dYdX history into HashBooks as a file. dYdX signs API requests with a wallet private key, and HashBooks never asks for a private key.

  • PnL and funding
  • 8 country reports
  • Read-only
Connection receiptIllustrative
From
dYdX
To
HashBooks ledger
Method
Statement upload (CSV / Excel)
Access
Only the file you upload
Brings in
Trades, deposits and withdrawals from your file, Fees
Report
Form 8949 SA108 Schedule VDA myTax capital gains Schedule 3 Anlage SO Form CG1 IRAS income summary

Every row keeps its original record

Good to know

dYdX specifics.

  • dYdX signs API requests with a wallet private key, and HashBooks never asks for a private key. A file upload gives HashBooks the same history without it.
  • The dYdX Indexer API takes the wallet address that owns the account as its address parameter.
  • The Get Fills endpoint returns fill records for a specific subaccount.
  • dYdX is a decentralised exchange: trades settle on-chain and your account is a wallet, which is why its API signs requests with a private key.

From dYdX’s own pages: docs.dydx.xyz. Checked October 2026.

Worked example

The numbers, worked through.

A dYdX position, run through your country’s rules. Illustrative figures: HashBooks calculates the real ones from your records.

A perpetual closed at a profit

Illustrative · United States

A perpetual closed at a profit, line by line
Realised profit on the position$1,200
Funding paid while it was open−$80
Net result$1,120
At a 22% ordinary rate if short-term$246.40

Rates depend on how the contract is treated; check yours with a tax professional. The full example in the help centre.

A perpetual closed at a profit

Illustrative · United Kingdom

A perpetual closed at a profit, line by line
Realised profit on the position£1,000
Funding paid while it was open−£60
Net result£940

HashBooks reports the figures in pounds; derivatives can be taxed differently from coins, so have an adviser check them. The full example in the help centre.

A perpetual closed at a profit

Illustrative · India

A perpetual closed at a profit, line by line
Realised profit on the position₹80,000
Funding paid while it was open−₹5,000
Net result₹75,000

Reported in rupees; how it’s taxed depends on the contract, so check with a CA. The full example in the help centre.

Taxed or not

What’s taxable on dYdX?

A quick check before you file: which dYdX activity counts, and how.

What’s taxable on dYdX in United States
On dYdXTaxable in United States?How
Moving to your own walletNoMoving between your own wallets and accounts.
Buying cryptoNoBuying with dollars sets your cost basis.
Selling for cashYesCapital gain or loss; short- or long-term by holding period.
Swapping one coin for anotherYesA disposal of the coin you give up, at market value.
Rewards, staking and interestIncomeOrdinary income at fair market value when received.
Futures and perpetualsYesGain or loss when a position closes; funding adds to or reduces it.
What’s taxable on dYdX in United Kingdom
On dYdXTaxable in United Kingdom?How
Moving to your own walletNoMoving between your own wallets.
Buying cryptoNoBuying with pounds adds to your Section 104 pool.
Selling for cashYesCapital Gains Tax above the £3,000 annual exempt amount.
Swapping one coin for anotherYesA disposal at market value.
Rewards, staking and interestIncomeIncome at the pound value when received.
Futures and perpetualsDependsGains and losses on closed positions; treatment depends on the contract.
What’s taxable on dYdX in India
On dYdXTaxable in India?How
Moving to your own walletNoMoving between your own wallets and exchanges.
Buying cryptoNoBuying with rupees sets your cost of acquisition.
Selling for cashYes30% plus 4% cess on the gain; 1% TDS on Indian exchanges.
Swapping one coin for anotherYesA transfer of the coin you give up, taxed at 30% plus cess; TDS applies on both legs.
Rewards, staking and interestIncomeAt your slab rate when received.
Futures and perpetualsDependsReported in rupees; the treatment depends on the contract, so check with a CA.

How to connect

Connect dYdX in a few minutes.

It takes a couple of minutes. Stuck? See connecting accounts in the help centre.

  1. Download your trade, deposit and withdrawal history from dYdX.
  2. Copy the rows into the HashBooks CSV / Excel template: date, type, what you sent and received, the fee, and any TDS.
  3. Upload it in HashBooks, check the preview, then confirm. Uploading the same file twice never double-counts.

Your country

dYdX and your country’s rules.

Shown for the country you picked at the top of the page. Each rule links to the full explanation in the HashBooks help centre.

United States · Form 8949

  • Selling, swapping or spending what you hold on dYdX. Selling, swapping or spending crypto is a capital gain or loss: short-term at 10–37% if held a year or less, 0, 15 or 20% if held longer. More on dYdX in United States
  • Futures and perpetuals on dYdX. Closing a futures or perpetual position realises a gain or loss, and funding you pay or receive moves your result too. HashBooks records both in dollars on the day. More on dYdX in United States
  • Rewards and interest from dYdX. Staking rewards, interest and other rewards are ordinary income at their dollar value when received; that value becomes their cost basis. More on dYdX in United States
  • Moving coins to or from dYdX. Moving crypto between your own wallets and accounts isn’t taxable. More on dYdX in United States
  • Cost basis. Since 1 January 2025 cost basis is tracked per wallet or exchange; HashBooks uses FIFO, lot by lot. More on dYdX in United States

Full rules: the United States crypto tax guide in the help centre, or the United States overview.

United Kingdom · SA108

  • Selling, swapping or spending what you hold on dYdX. Selling, swapping or spending crypto is a disposal for Capital Gains Tax: gains above the £3,000 annual exempt amount are taxed at 18% or 24%. More on dYdX in United Kingdom
  • Futures and perpetuals on dYdX. Gains and losses on closed futures and perpetual positions, and funding payments, are reported in pounds. Derivatives can be taxed differently from spot coins, so have an adviser check the treatment. More on dYdX in United Kingdom
  • Rewards and interest from dYdX. Staking rewards are income at their pound value when received, and that value becomes their cost for a later disposal. More on dYdX in United Kingdom
  • Moving coins to or from dYdX. Moving crypto between your own wallets isn’t a disposal. More on dYdX in United Kingdom
  • Cost basis. Disposals match same-day buys, then buys in the next 30 days, then the Section 104 pool. More on dYdX in United Kingdom

Full rules: the United Kingdom crypto tax guide in the help centre, or the United Kingdom overview.

India · Schedule VDA

  • Selling, swapping or spending what you hold on dYdX. Each sale or swap is a transfer taxed at a flat 30% plus 4% cess on the gain. Losses can’t be set off, and only the cost of acquisition is deductible. More on dYdX in India
  • Futures and perpetuals on dYdX. Gains and losses on crypto futures and perpetuals are reported in rupees; how they are taxed depends on the contract and your facts, so check with a CA. More on dYdX in India
  • Rewards and interest from dYdX. Staking, airdrop and other rewards are income at your slab rate when received; selling them later is a separate 30% transfer. More on dYdX in India
  • Moving coins to or from dYdX. Moving crypto between your own wallets and exchanges isn’t a transfer. More on dYdX in India

Full rules: the India crypto tax guide in the help centre, or the India overview.

See the rules for your country.

At a glance

dYdX in brief.

dYdX at a glance
Marketsperpetual swaps
How HashBooks connectsFile upload
History it gives HashBookswhatever your statement contains
Websitedydx.xyz
Fee scheduledocs.dydx.exchange

Jurisdiction, markets and links as listed in the open-source ccxt library (4.5.85), which HashBooks uses to connect to exchanges.

What comes across

Your dYdX history, in one ledger.

  • Trades, deposits and withdrawals from your file
  • Fees

Security

Only the dYdX file you choose to upload.

HashBooks never sees your dYdX login. It reads the statement you upload and nothing beyond it. How HashBooks keeps data safe.

Questions

dYdX, answered.

How are dYdX futures and perpetuals taxed?

Closing a position realises a gain or loss, and funding you pay or receive adds to or reduces your result. HashBooks imports both from dYdX and reports them under your country’s rules; the tax section above shows how your country treats them.

Can I connect dYdX by API?

Not today. dYdX signs API requests with a wallet private key, and HashBooks never asks for a private key. Download your history and upload it with the HashBooks template instead; when the connection becomes possible, the same ledger simply carries on.

How do I get my dYdX transaction history for taxes?

Download your trade, deposit and withdrawal history from dYdX and upload it to HashBooks with the CSV / Excel template. You see a preview before anything is saved.

Which HashBooks plan do I need for dYdX?

Connecting dYdX and seeing an estimated tax summary is free for up to 100 transactions across 3 connections. Filing reports for your country start on the Starter plan; see pricing.

Does HashBooks connect to my dYdX account?

No. With a file upload there’s no key, password or link to dYdX at all: HashBooks reads the rows you upload and nothing else.

Something else? Read all questions and answers, ask us or browse the help centre.

Ready?

Start with dYdX, add the rest later.

Free to start. Read-only from the first click.

Esc

Try “Schedule VDA”, “Kraken”, “Form 8949” or “accountants”.

Sample report