From fbdb481aa03aa2a9e534a12408671153898128a8 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 26 Jan 2021 17:12:39 +0000 Subject: [PATCH] positionclosed eventkind --- rustybot/src/events.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rustybot/src/events.rs b/rustybot/src/events.rs index a8f029c..1fc24cd 100644 --- a/rustybot/src/events.rs +++ b/rustybot/src/events.rs @@ -44,6 +44,7 @@ pub enum EventKind { TrailingStopMoved, OrderSubmitted, NewTick, + PositionClosed { position_id: u64 }, } #[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]