Reference manual

Frameworks

frameworkmodule# predslast updated
DRAWDOWN Accounting.Drawdown 3 2026-06-03
MOMENTUM Accounting.Momentum 4 2026-06-03
OPTIONS-RISK Accounting.OptionsRisk 6 2026-04-26
SECTOR Accounting.Sector 3 2026-05-29
TREND Accounting.Trend 5 2026-05-29

Detail · OPTIONS-RISK · defined-risk allow-list

Allowed
✓ long calls
✓ long puts
✓ debit call spreads
✓ debit put spreads
✓ covered calls
✓ protective puts
Refused
✗ naked short calls
✗ naked short puts
✗ credit spreads (uncovered)
✗ iron condors / butterflies
✗ short straddles / strangles
✗ any leg without explicit max-loss bound
The UI itself refuses to construct a leg outside the allow-list. This is a brand-level invariant inherited from qagents — non-negotiable.

Detail · TREND

is-uptrend(x)
sma-cross-up(x) SMA(50)(x) crosses above SMA(200)(x) within window
slope-positive(x) linear-fit slope(close, window) > 0
r-squared-geq(x,k) R² of slope ≥ k (default 0.5)
adx-geq(x,k) ADX(14)(x) ≥ k (default 20)
volume-confirmation(x) avg-vol(90d) > avg-vol(365d)