Vés al contingut principal

Resum general

Crypto Trader Example — beancount.io

A comprehensive Beancount ledger demonstrating every major cryptocurrency accounting scenario: purchases, trading, staking, mining, DeFi, NFTs, and tax planning. Notes del llibre

Posició financera

Patrimoni net i comptes que el formen

Patrimoni net
Actius més passius dels darrers 12 mesos
190.673,29 USD
+2.569,38 USDrespecte del mes anterior

Cost d'adquisició 194.405,22 USD · Resultat no realitzat -3.731,93 USD

Comptes
Saldos actuals dels comptes d'actiu i passiu

Moviment de diners

Ingressos i despeses mensuals per categoria de compte

setembre del 2026
Entrades
setembre del 2026
+851,08 USD
Fonts principals
Mitjana de fins a 3 períodes anteriors
+1.787,45 USD
Mostra-ho tot
Sortides
setembre del 2026
-11,35 USD
Despeses principals
Mitjana de fins a 3 períodes anteriors
-1.671,90 USD
Mostra-ho tot

Activitat recent

Activitat del diari conscient dels assentaments

Transaccions
Transaccions més recents segons els filtres actuals

Ingressos vs despeses

Ingressos vs despeses
Gràfic de barres que compara els ingressos i les despeses totals per a cada interval del període seleccionat.
Dades per període
PeríodeIngressosDespesesBenefici net
2025-02-280,00 USD126,93 USD-126,93 USD
2025-03-31329,87 USD274,81 USD55,06 USD
2025-04-30377,54 USD179,31 USD198,23 USD
2025-05-31420,00 USD175,60 USD244,40 USD
2025-06-30428,32 USD1.383,35 USD-955,03 USD
2025-07-31463,00 USD185,40 USD277,60 USD
2025-08-314.303,23 USD189,50 USD4.113,73 USD
2025-09-308.147,05 USD195,00 USD7.952,05 USD
2025-10-315.844,45 USD219,46 USD5.624,99 USD
2025-11-30376,81 USD178,00 USD198,81 USD
2025-12-311.869,44 USD3.917,85 USD-2.048,41 USD
2026-01-31360,57 USD252,25 USD108,32 USD
2026-02-28279,96 USD3.132,50 USD-2.852,54 USD
2026-03-31507,42 USD192,00 USD315,42 USD
2026-04-301.423,82 USD214,21 USD1.209,61 USD
2026-05-31304,41 USD6.400,90 USD-6.096,49 USD
2026-06-301.614,13 USD4.612,78 USD-2.998,65 USD
2026-07-31271,15 USD198,00 USD73,15 USD
2026-08-313.477,07 USD204,91 USD3.272,16 USD
2026-09-30851,08 USD11,35 USD839,73 USD

Balanç

Distribució d'actius
Representació visual de la composició de Crypto Trader Example — beancount.io actius
Desglossament
CompteImportPercentatge del total
Assets:Staking:Lido:STETH2.495,68 USD1,31%
Assets:Staking:Ethereum:ETH3.822,59 USD2%
Assets:DeFi:Compound:CUSDC5.843,35 USD3,06%
Assets:Crypto:Wallet:MetaMask:USDC3.965,88 USD2,08%
Assets:Crypto:Wallet:MetaMask:UNI3.795,60 USD1,99%
Assets:Crypto:Wallet:MetaMask:ETH8.405,23 USD4,41%
Assets:Crypto:Wallet:MetaMask:DAI1.999,54 USD1,05%
Assets:Crypto:Wallet:Ledger:BTC9.650,77 USD5,06%
Assets:Crypto:Mining:BTC6.371,45 USD3,34%
Assets:Crypto:Coinbase:USD38.313,69 USD20,09%
Assets:Crypto:Coinbase:BTC13.863,78 USD7,27%
Assets:Crypto:Binance:USDT1.996,20 USD1,05%
Assets:Crypto:Binance:USD5.675,89 USD2,98%
Assets:Crypto:Binance:SOL9.742,20 USD5,11%
Assets:Crypto:Binance:ADA2.297,60 USD1,2%
Assets:Bank:Checking68.033,00 USD35,68%
Altres4.400,85 USD2,31%
Distribució de passius
Representació visual de la composició dels Crypto Trader Example — beancount.io passius
No hi ha dades disponibles

Flux de caixa

Flux de caixa
Flux de diners des de fonts d'ingressos cap a despeses i inversions

Carregant els rols dels comptes…

README.md

Crypto Accounting Example — beancount.io

A comprehensive Beancount ledger demonstrating every major cryptocurrency accounting scenario: purchases, trading, staking, mining, DeFi, NFTs, and tax planning.

Companion blog post: Complete Guide to Cryptocurrency Accounting with Beancount

Quick Start

bash
make install   # Install beancount + fava via uv
make check     # Verify the ledger has zero errors
make serve     # Open Fava at http://localhost:4739

File Guide

FileWhat it demonstrates
main.beanEntry point — options, plugins, and include directives
accounts.beanAll commodity definitions and account chart
prices/2024.beanMonthly price directives for BTC, ETH, SOL, ADA, and DeFi tokens
transactions/purchases.beanBuying crypto: simple buys, DCA strategy, stablecoins
transactions/trading.beanSales with short/long-term gains, crypto-to-crypto swaps, margin trading
transactions/staking.beanETH 2.0 staking, monthly rewards, Lido liquid staking (stETH)
transactions/mining.beanBTC mining rewards, electricity costs, equipment depreciation
transactions/defi-lending.beanCompound supply/yield, COMP rewards, Aave deposit/borrow/repay
transactions/defi-liquidity.beanUniswap LP provision, fee income, impermanent loss
transactions/transfers.beanExchange-to-wallet transfers, cross-chain bridging
transactions/airdrops.beanUNI and SOL airdrop income
transactions/nfts.beanNFT purchase with ETH, NFT sale with capital gain
transactions/tax-planning.beanTax loss harvesting, wash sale awareness, year-end balance assertions

Key Concepts Demonstrated

  • Cost basis tracking — every purchase creates a lot with date and price
  • FIFO & specific lot identification — choosing which lot to dispose of
  • Taxable dispositions — selling for fiat, crypto-to-crypto swaps, spending crypto
  • Ordinary income — mining rewards, staking rewards, airdrops (all at FMV)
  • DeFi receipt tokens — cUSDC, aETH, stETH, LP tokens as accounting proxies
  • Gas fees — tracked as expenses, deducted from proceeds where appropriate
  • Balance assertions — year-end reconciliation checks
  • Short-term vs long-term — separate income accounts for tax reporting

Useful Commands

bash
make balances  # Show all account balances
make holdings  # Show holdings with market values
make income    # Show income statement
make check     # Verify ledger integrity