Since i'm seeing IB records with a `None` value and i don't want to be debugging every time order-mode boots up.. Also use `pdb=debug` in `.open_ledger_dfs()` Note, this had conflicts on `piker/accounting/calc.py` when rebasing onto the refactored `brokers_refinery` history which were resolved manually! |
||
|---|---|---|
| .. | ||
| README.rst | ||
| __init__.py | ||
| _allocate.py | ||
| _ledger.py | ||
| _mktinfo.py | ||
| _pos.py | ||
| calc.py | ||
| cli.py | ||
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.