Skip to main content

Crate flexpool_rules

Crate flexpool_rules 

Source
Expand description

flexpool market rules.

Every market rule — the day-ahead time unit, a gate closure, a price limit, an order granularity — is a dated entry citing a registered source. Rules are keyed by delivery day: the 15-minute day-ahead market went live for delivery day 2025-10-01, so a replay of 2025-09-30 must run hourly and one of 2025-10-01 quarter-hourly.

The packs in rules/ (this crate’s, linked from the repository root) are embedded at compile time (RuleBook::bundled); this crate performs no I/O.

Structs§

AlarmDef
One alarm type, as rationalised: what it means, what to do, how fast, and when it fires.
Entry
One dated rule entry.
Missing
A lookup failed: no entry for this rule and day.
RuleBook
The loaded rule packs and the source registry.
RuleProblem
One problem found while loading rule packs.
Source
A registered source.
Texts
A text in German and English.

Enums§

SourceStatus
How far a source has been confirmed.
Value
A rule’s value.