1
0
Files
plaintextaccounting/src/Investing-and-trading.md
2024-04-03 19:42:05 -10:00

2.3 KiB

% Investing and trading

Stocks, cryptocurrencies, etc.

The main challenge of accounting for investments and trading in PTA is tracking lots and disposing (selling) them in the right order. Here are several methods:

  1. Lot subaccounts (works in all double-entry accounting software). Each lot is given an explicit subaccount, entries are created manually.

  2. Lot syntax (Beancount & Ledger). The app has special syntax and support for lots.

  3. Lot entry-generating tools. Add-on tools help generate lot-aware entries.

    • lotter detects lots from ordinary transactions, adds lot information to buy/sell entries. Runs ledger.
    • hledger-lots detects lots from ordinary transactions, helps make buy/sell entries. Runs hledger.
    • hledger-move is a lower-level tool to help make trading (sell) entries. Works with hledger journals.
    • docker-finance (discussion) does many things, possibly including making trading entries. Runs hledger-flow.

More: