Trade ledger, profit and CSV export for a wallet

Every QX and QSwap trade of a wallet over the last days, read from the public archive's event log, with average-cost positions, realized and unrealized profit (at QMax's current mid or pool price) and estimated fees. Estimated from on-chain transfers; fees include the venues' fees. Not tax advice. Expensive: results are cached for 60 seconds.

get/v1/ledger

Request

  • Base URL: https://qmax.exchange/api
  • URL: https://qmax.exchange/api/v1/ledger
  • Auth: none declared

Query parameters

identitystring required

The wallet's 60-letter Qubic identity.

format'json' | 'csv'
daysinteger

How far back to look.

Response

The ledger (JSON), or a CSV download

Changes

No recorded changes to this operation across all 1 revision of this API.