Expire GTD orders before matching, reads and recovery
This commit is contained in:
@@ -40,7 +40,8 @@ pub(crate) enum Command {
|
||||
price: i64,
|
||||
qty: i64,
|
||||
#[serde(default)]
|
||||
tif: TimeInForce,
|
||||
tif: Option<TimeInForce>,
|
||||
expiration: Option<i64>,
|
||||
#[serde(default)]
|
||||
post_only: bool,
|
||||
},
|
||||
@@ -72,6 +73,7 @@ pub(crate) enum Command {
|
||||
pub(crate) enum TimeInForce {
|
||||
#[default]
|
||||
Gtc,
|
||||
Gtd,
|
||||
Ioc,
|
||||
Fak,
|
||||
Fok,
|
||||
|
||||
Reference in New Issue
Block a user