Preview market sweeps and execute protected share sales

This commit is contained in:
2026-12-03 04:31:07 +08:00
parent c0b8a0f229
commit ea6383f089
10 changed files with 278 additions and 7 deletions
+9
View File
@@ -46,6 +46,15 @@ pub(crate) enum Command {
#[serde(default)]
post_only: bool,
},
#[serde(rename = "market_sell")]
MarketSell {
market: String,
account: String,
outcome: String,
qty: i64,
min_price: i64,
tif: Option<TimeInForce>,
},
#[serde(rename = "market_buy")]
MarketBuy {
market: String,