A market’s regime is a categorical label summarizing its current microstructure: how observable it is, what kind of event it tracks, where the cross-venue edge points. The label drives downstream filtering — idea generation, screening, agent prompts.Documentation Index
Fetch the complete documentation index at: https://docs.simplefunctions.dev/llms.txt
Use this file to discover all available pages before exploring further.
Schema
Labels (selected)
| Label | Meaning |
|---|---|
observable_macro_balanced | Macro event with two-sided liquidity, no obvious edge |
observable_macro_long_skewed | Same, but flow / depth points toward YES |
cliff_resolving_imminent | τ < 7 days, binary resolution near |
low_liquidity_thin | LAS high, depth low; price unreliable |
no_flow_dormant | Stale, no recent volume |
lib/regime/labels.ts.
Compute
scan-regime cron evaluates each market periodically and writes to market_regimes. Heavy markets (top by volume / open interest) get scored more often via warm-regime cron.
How agents use it
The agent prompt includes the regime label and signals for every market it considers. Agents filter outlow_liquidity_thin and no_flow_dormant by default.
Next steps
Indicators
Numeric inputs that feed regime detection.
Idea pipeline
How regime labels gate trade idea generation.