added orderkind

This commit is contained in:
Giulio De Pasquale 2021-01-11 17:15:59 +00:00
parent 4d3a2ea892
commit d2858ff021

View File

@ -19,3 +19,19 @@ pub struct Order {
pub hidden: i32, pub hidden: i32,
pub placed_id: Option<i32>, pub placed_id: Option<i32>,
} }
pub enum OrderKind {
Limit,
ExchangeLimit,
Market,
ExchangeMarket,
Stop,
ExchangeStop,
StopLimit,
ExchangeStopLimit,
TrailingStop,
Fok,
ExchangeFok,
Ioc,
ExchangeIoc,
}