Zum Inhalt springen

Börsen-Parser

Unterstützte Börsen

BörseFormat-IDHinweise
Coinbase / Coinbase ProcoinbaseTransaktionen + Fills
Binance InternationalbinanceSpot + Konvertierungsverlauf
Binance USbinance_us
KrakenkrakenLedger-Export
GeminigeminiTransaktionsverlauf
Crypto.comcrypto_comApp-Export
KuCoinkucoin
OKXokx
Bybitbybit
Gate.iogate
Bitgetbitget
MEXCmexc
HTX (Huobi)htx
Bitfinexbitfinex
Poloniexpoloniex

Blockchain-Explorer

QuelleFormat-IDHinweise
Etherscan (Transaktionen)etherscanErfordert userAddress + nativeAsset
Etherscan (ERC-20 Token)etherscan_erc20Erfordert userAddress
Solscan (SOL-Transfers)solscanErfordert userAddress
Solscan (DeFi)solscan_defi

Import-Tools

ToolFormat-ID
Koinlykoinly
CoinTrackercointracker
Cryptactcryptact
Generic CSVgeneric

Verwendung

import { parseCsv } from '@dtax/tax-engine';
// Specific format
const result = parseCsv(csv, { format: 'kraken' });
// Etherscan with wallet address
const result = parseCsv(csv, {
format: 'etherscan',
userAddress: '0xYourWalletAddress',
nativeAsset: 'ETH', // or 'BNB', 'MATIC', 'AVAX', 'FTM'
});
// Auto-detect
const result = parseCsv(csv);
console.log(result.summary.format); // detected format

Generisches CSV-Format

Wenn Ihre Börse nicht aufgeführt ist, verwenden Sie das Format generic. Ihre CSV muss diese Spalten enthalten:

SpaltePflichtfeldBeschreibung
DateISO 8601 oder MM/DD/YYYY
TypeBUY, SELL, TRADE, etc.
Sent Amount
Sent Currency
Received Amount
Received Currency
Fee Amount
Fee Currency
Notes

CSV-Vorlage herunterladen