Open algorandpa opened 1 year ago
@algorandpa probably the stuff proposed in terms of better TOML infra / libs in https://github.com/pikers/piker/issues/345 is worth linking here.
Oh, also the same idea / storage format should likely be applied for reloading "live paper" limits that were submitted but should get reloaded after the paper engine has gone through a full power cycle 😂
We should be able to submit a dark order and/or alert that does not clear, stop and start
pikerd
, ensure order is both serialized to a local db (likely file system) onpikerd
shutdown and reloaded and re-registered inemsd
state and the dark clearing loop on restart.Design and impl ToDo:
Order
into atoml
style format much like how we currently store positions and trade ledgers.Order
structs to the filesystem as well as startup/teardown code inside theemsd
actor to sync the clearing engine state with any offline stored entriesTesting ToDo:
emsd
all via client APIs