pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
102 stars 17 forks source link

Dark order and alert persistence #463

Open algorandpa opened 1 year ago

algorandpa commented 1 year ago

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) on pikerd shutdown and reloaded and re-registered in emsd state and the dark clearing loop on restart.


Design and impl ToDo:


Testing ToDo:

goodboy commented 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.

goodboy commented 1 year ago

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 😂