Skip to content

Commit

Permalink
Refine Rust module re-exports
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Oct 31, 2024
1 parent 66781ad commit df9263b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions nautilus_core/execution/src/messages/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@
use nautilus_model::identifiers::{ClientId, InstrumentId};
use strum::Display;

use self::{
cancel::CancelOrder, cancel_all::CancelAllOrders, cancel_batch::BatchCancelOrders,
modify::ModifyOrder, query::QueryOrder, submit::SubmitOrder, submit_list::SubmitOrderList,
};

pub mod cancel;
pub mod cancel_all;
pub mod cancel_batch;
Expand All @@ -31,6 +26,12 @@ pub mod query;
pub mod submit;
pub mod submit_list;

// Re-exports
pub use self::{
cancel::CancelOrder, cancel_all::CancelAllOrders, cancel_batch::BatchCancelOrders,
modify::ModifyOrder, query::QueryOrder, submit::SubmitOrder, submit_list::SubmitOrderList,
};

#[derive(Clone, Debug, Display)]
pub enum TradingCommand {
SubmitOrder(SubmitOrder),
Expand Down

0 comments on commit df9263b

Please sign in to comment.