From 54c02bf66a4ffc86c47127c99454536a2a11d505 Mon Sep 17 00:00:00 2001 From: Chris Sellers Date: Tue, 22 Oct 2024 17:27:48 +1100 Subject: [PATCH] Cleanup order events --- nautilus_core/model/src/events/order/cancel_rejected.rs | 2 +- nautilus_core/model/src/events/order/canceled.rs | 2 +- nautilus_core/model/src/events/order/released.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nautilus_core/model/src/events/order/cancel_rejected.rs b/nautilus_core/model/src/events/order/cancel_rejected.rs index 7f4b33604dfd..ebd150c7e0b9 100644 --- a/nautilus_core/model/src/events/order/cancel_rejected.rs +++ b/nautilus_core/model/src/events/order/cancel_rejected.rs @@ -282,7 +282,7 @@ impl OrderEvent for OrderCancelRejected { } fn commission(&self) -> Option { - todo!() + None } fn ts_event(&self) -> UnixNanos { diff --git a/nautilus_core/model/src/events/order/canceled.rs b/nautilus_core/model/src/events/order/canceled.rs index fc0d737009c2..abb77536a292 100644 --- a/nautilus_core/model/src/events/order/canceled.rs +++ b/nautilus_core/model/src/events/order/canceled.rs @@ -152,7 +152,7 @@ impl OrderEvent for OrderCanceled { } fn currency(&self) -> Option { - todo!() + None } fn client_order_id(&self) -> ClientOrderId { diff --git a/nautilus_core/model/src/events/order/released.rs b/nautilus_core/model/src/events/order/released.rs index 64b9a5c40e3f..b2f62f92b6ec 100644 --- a/nautilus_core/model/src/events/order/released.rs +++ b/nautilus_core/model/src/events/order/released.rs @@ -161,7 +161,7 @@ impl OrderEvent for OrderReleased { } fn liquidity_side(&self) -> Option { - todo!() + None } fn post_only(&self) -> Option {