Match immediate buys against a cash budget and price cap
This commit is contained in:
@@ -46,6 +46,15 @@ pub(crate) enum Command {
|
||||
#[serde(default)]
|
||||
post_only: bool,
|
||||
},
|
||||
#[serde(rename = "market_buy")]
|
||||
MarketBuy {
|
||||
market: String,
|
||||
outcome: String,
|
||||
account: String,
|
||||
amount_cents: i64,
|
||||
max_price: i64,
|
||||
tif: Option<TimeInForce>,
|
||||
},
|
||||
Cancel {
|
||||
account: String,
|
||||
order: i64,
|
||||
|
||||
Reference in New Issue
Block a user