Add process event bus to backtest engine

This commit is contained in:
boris
2026-04-23 04:02:22 -07:00
parent 6b5112a363
commit 2e418f93d3
5 changed files with 342 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ pub struct AccountEvent {
pub note: String,
}
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord)]
pub enum ProcessEventKind {
PreBeforeTrading,
BeforeTrading,