From d2858ff0213d6d340b2ec0fece57795182d997f9 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Mon, 11 Jan 2021 17:15:59 +0000 Subject: [PATCH] added orderkind --- rustybot/src/orders.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/rustybot/src/orders.rs b/rustybot/src/orders.rs index 7569fa8..b307bc6 100644 --- a/rustybot/src/orders.rs +++ b/rustybot/src/orders.rs @@ -19,3 +19,19 @@ pub struct Order { pub hidden: i32, pub placed_id: Option, } + +pub enum OrderKind { + Limit, + ExchangeLimit, + Market, + ExchangeMarket, + Stop, + ExchangeStop, + StopLimit, + ExchangeStopLimit, + TrailingStop, + Fok, + ExchangeFok, + Ioc, + ExchangeIoc, +}