Skip to main content

Module events

Module events 

Source
Expand description

The event stream fed into the classifier.

Events are recorded in ~/.zero/state/events.log and replayed on start. The enum is exhaustive on purpose: adding a new event type fails every match arm in the classifier until the author decides how it maps to the state vector.

Structs§

Event
Wall-clock-timestamped event. Instances are the only thing that crate::Classifier consumes.

Enums§

EventKind
The event kinds the classifier understands.
Outcome
Outcome of a completed trade. Used for loss-reaction timing and the conviction-calibration report.
Source
Where a trading decision originated.