Reworks the piker.pp apis to include a new open_pps() context manager which delivers a PpTable, a type that allows real-time incremental management of position updates from backend transaction records.
This more or less deprecates the previous update_pps_conf() routine.
In follow up,
both moved to #345.
~- [ ] we should add support for immediate config file (ledger or pps.toml) writing likely via the trio async file IO apis which use a bg thread to avoid main thread latency.~
~- [ ] probably adjust the PpTable.dump_active() output to be the open and closed Position object dicts and have a seperate method which generates the toml-ready "entries" dict for the pps.toml?~
Reworks the
piker.pp
apis to include a newopen_pps()
context manager which delivers aPpTable
, a type that allows real-time incremental management of position updates from backend transaction records.This more or less deprecates the previous
update_pps_conf()
routine.In follow up,
both moved to #345. ~- [ ] we should add support for immediate config file (ledger or
pps.toml
) writing likely via thetrio
async file IO apis which use a bg thread to avoid main thread latency.~ ~- [ ] probably adjust thePpTable.dump_active()
output to be the open and closedPosition
object dicts and have a seperate method which generates the toml-ready "entries" dict for thepps.toml
?~