Add bar and tick strategy lifecycle

This commit is contained in:
boris
2026-04-23 19:17:04 -07:00
parent 86e4db6272
commit 1760fc6cd1
9 changed files with 525 additions and 10 deletions

View File

@@ -108,6 +108,12 @@ pub enum ProcessEventKind {
PreOpenAuction,
OpenAuction,
PostOpenAuction,
PreBar,
Bar,
PostBar,
PreTick,
Tick,
PostTick,
PreScheduled,
PostScheduled,
PreOnDay,
@@ -141,6 +147,12 @@ impl ProcessEventKind {
Self::PreOpenAuction => "pre_open_auction",
Self::OpenAuction => "open_auction",
Self::PostOpenAuction => "post_open_auction",
Self::PreBar => "pre_bar",
Self::Bar => "bar",
Self::PostBar => "post_bar",
Self::PreTick => "pre_tick",
Self::Tick => "tick",
Self::PostTick => "post_tick",
Self::PreScheduled => "pre_scheduled",
Self::PostScheduled => "post_scheduled",
Self::PreOnDay => "pre_on_day",