Model sports events and market rules and persist trade price history

This commit is contained in:
2026-12-03 03:30:07 +08:00
parent ca45f83038
commit 9708d701c2
9 changed files with 386 additions and 1 deletions
+11
View File
@@ -7,9 +7,20 @@ pub(crate) enum Command {
account: String,
cents: i64,
},
Event {
event: String,
title: String,
sport: String,
competition: String,
home: String,
away: String,
scheduled_at_ms: i64,
},
List {
market: String,
rules: String,
#[serde(default)]
listing: Option<crate::catalog::Listing>,
},
Split {
market: String,