Tax Engine, Options, and Lot Intelligence
Bedrock keeps tax treatment tied to the lots, elections, rules, and decisions that produced the result.
Tax Engine & Cost Basis
- Full spot lot tracking: every acquisition becomes a lot with immutable identity, tracked from purchase to disposition.
- Cost basis, proceeds, and fee allocation computed under current Treasury regulations, including Treas. Reg. §1.1001-7 and TD 10000.
- Swap-fee decomposition across fees paid in the disposed token, the acquired token, or split across multiple sell legs.
- §1091 wash sale detection with automatic basis adjustment and disallowed-loss carry.
- §1092 straddle identification with holding-period reset and loss deferral.
- §1223 holding-period tacking across transfers, preserving original acquisition dates when assets move between wallets.
- Short-term vs. long-term character determined per lot, per disposition.
- Charitable donation treatment with zero-gain election.
- Retroactive lot designation with full holding-period isolation.
- Configurable taxpayer tax policy per profile.
Options & Derivatives
- §1234(b) options income treatment for written options, including covered calls and puts.
- Options position lifecycle support: write, close, exercise, expire, and buyback.
- Straddle detection with automated suggestions and multi-leg straddle identification.
- Physically-settled option delivery tied back to specific underlying lots.
- Options import from exchange files, including Deribit-style files, plus manual option entry.
- Settlement reconciliation that confirms option settlements against on-chain movements.
- Lot encumbrance tracking, showing which lots are pledged as option backing at any moment.
- Backing-lot assignment with smart-pick suggestions ranked by tax outcome.
Lot Selection & Rules Engine
- Standard strategies: FIFO, LIFO, HIFO, LOFO, plus long-term-first and loss-first variants.
- Profile-scoped, priority-ordered rules that decide which strategy applies to each disposition type.
- Rules that target ledger attributes such as treasury, exchange, or cold wallets.
- Specific-identification overrides for hand-picking exact lots on any disposition.
- Lot-selection preview that shows the tax result of each strategy before committing.
- Lot locks that fence off lots so automated selection never consumes them.
- Permanent reason codes showing why each lot was chosen: strategy, rule, or override.