Expose aggregated binary order book depth per outcome
This commit is contained in:
@@ -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()?;
|
||||
|
||||
Reference in New Issue
Block a user