SimpleFunctions computes a small set of indicators on every market on every scan tick. Each is exposed inDocumentation Index
Fetch the complete documentation index at: https://docs.simplefunctions.dev/llms.txt
Use this file to discover all available pages before exploring further.
inspect, screen, query, and the world snapshot.
Implied Yield (IY)
Annualized return-to-resolution if the contract resolves YES (or NO) at 100¢, given current price and time-to-expiry.adjIY adjusts for spread and slippage at typical liquidity.
Cliff Risk Index (CRI)
How “cliff-shaped” the resolution payoff is. Higher CRI = more binary resolution risk; markets with low CRI behave more like continuous probability bets.Event Overround (OR / EE)
For multi-outcome events, sum the YES asks across all outcomes:OR > 0 means book maker margin. OR < 0 means structural arb (rare; usually a stale book).
Liquidity-Adjusted Spread (LAS)
Composite of bid/ask spread and depth on top-of-book. Lower LAS = tighter, deeper book.Time-to-resolve (τ, tau_days)
Days remaining until market closes.Realized Volatility (RV)
Standard deviation of recent price changes, annualized.Cross-Venue Ratio (CVR)
cross_venue_gap_cents is the price difference between the Kalshi and Polymarket counterpart pair, when one exists.
Where they live
| Field | Source |
|---|---|
iyYes, iyNo, adjIy | market_indicators.iy_yes |
cri | market_indicators.cri |
ee, or | market_indicators.ee |
las | market_indicators.las |
tauDays | market_indicators.tau_days |
rv | market_regimes.signals.rv |
cvr | derived in lib/indicators/compute.ts |
Compute cadence
Indicators recompute every scan tick (default 5min for active markets, longer for tail). Thecompute-indicators cron writes to market_indicators.
Next steps
Regime
How regime label combines indicators.
Idea pipeline
Which indicators drive idea generation.