Expose aggregated binary order book depth per outcome

This commit is contained in:
2026-12-03 03:53:29 +08:00
parent 47d49cb8c9
commit 646cf193bb
6 changed files with 100 additions and 14 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ impl Exchange {
pub fn execute(&mut self, payload: Value) -> Result<Value> {
if matches!(
payload["op"].as_str(),
Some("catalog" | "history" | "quote")
Some("catalog" | "history" | "quote" | "book")
) {
let query: catalog::Query = serde_json::from_value(payload)?;
let tx = self.db.transaction()?;