piker/piker/accounting
Tyler Goodlet 6029f39a3f Allow `MktPair.from/to_msg()` to still do `.dst: str` for fsp flumes 2023-12-06 17:09:52 -05: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 Allow `MktPair.from/to_msg()` to still do `.dst: str` for fsp flumes 2023-12-06 17:09:52 -05:00
_pos.py Always ensure symcache mkt pair entry is valid type 2023-09-19 15:56:47 -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.