piker/piker/accounting
Tyler Goodlet fed89562dc Import crash handler mngr from `piker.toolz` 2023-08-25 13:33:59 -04:00
..
README.rst Officially drop `Position.size` 2023-08-03 16:57:02 -04:00
__init__.py Facepalm: remove now unused `CostModel` idea.. 2023-08-11 13:34:23 -04: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 Bleh, move `.data.types` back up to top level pkg 2023-08-05 15:57:10 -04:00
_pos.py Bleh, move `.data.types` back up to top level pkg 2023-08-05 15:57:10 -04:00
calc.py Import crash handler mngr from `piker.toolz` 2023-08-25 13:33:59 -04: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.