piker/piker/accounting
Tyler Goodlet 9bfdcac72f `accouning.calc`: enable crash handlers on `debug_mode` input (via test harness) 2026-01-01 17:37:36 -05:00
..
README.rst Officially drop `Position.size` 2023-08-03 16:57:02 -04:00
__init__.py Don't override `Account.pps: dict` entries.. 2026-01-01 17:37:36 -05:00
_allocate.py Bleh, move `.data.types` back up to top level pkg 2023-08-05 15:57:10 -04:00
_ledger.py Add paper-engine cost simulation support 2023-08-07 09:55:45 -04:00
_mktinfo.py Finally drop `Symbol` 2026-01-01 15:16:22 -05:00
_pos.py Don't override `Account.pps: dict` entries.. 2026-01-01 17:37:36 -05:00
calc.py `accouning.calc`: enable crash handlers on `debug_mode` input (via test harness) 2026-01-01 17:37:36 -05:00
cli.py Add note about `xonsh.main.main()` attempted usage 2023-08-03 13:56:23 -04:00

README.rst

.accounting

A subsystem for transaction processing, storage and historical measurement.

.pnl

BEP, the break even price: the price at which liquidating a remaining position results in a zero PnL since the position was "opened" in the destination asset.

PPU: price-per-unit: the "average cost" (in cumulative mean terms) of the "entry" transactions which "make a position larger"; taking a profit relative to this price means that you will "make more profit then made prior" since the position was opened.