IRS asset FIFO calculator

Contents:

  • IRS asset FIFO calculator
  • How the FIFO capital gains calculation works
  • Python API
IRS asset FIFO calculator
  • IRS asset FIFO calculator documentation
  • View page source

IRS asset FIFO calculator documentation

Contents:

  • IRS asset FIFO calculator
    • Short tutorial demo: simple tax calculation
    • What this project does
    • FIFO in one paragraph
    • Quickstart
    • Installation (manual, for development or troubleshooting)
    • Execution / Usage (manual, for development or troubleshooting)
    • Technologies
    • Development
    • Contributing
    • Contributors
    • Author
    • Change log
    • License
  • How the FIFO capital gains calculation works
    • Overview
    • FIFO logic
    • Lots and the FIFO ledger
    • Transaction blocks (Tx Index and Type)
    • Parsing buy, sell, and fee data
    • Updating the FIFO ledger
    • From FIFO movements to Form 8949 rows
    • Putting it all together
  • Python API
    • src.irs_asset_fifo_calculator.calculate_taxes

The Python API documentation is generated from the docstrings inside the source code and compiled with Sphinx. For details on every function and dataclass, see Python API.

Next

© Copyright 2025, Elliott Bache.

Built with Sphinx using a theme provided by Read the Docs.