GET/markets/stressmember
Market stress scenarios on a capacity market (buyer segments by elasticity, providers by region, cost and capacity, posted, auction or order-book clearing), in their fixed order with variants; the trace fields, the standard market's basis and what is validated.
POST/markets/stressmember
One scenario run, reproducible by seed: the manifest (seed, every parameter, the shock schedule with dates, summary, stylized facts, validation band) and the trace as JSONL text, one row per tick and actor, with its sha256. Needs the project in LW_COMPUTE_TENANTS.
Body
scenario | baseline | demand_drop | glut_exit | partition | energy_spike | liquidity_drought |
variant | a variant id from GET /markets/stress; default the scenario's |
seed | 0..2^31 |
ticks | days, 30..1825; default 1080 |
spec | your own capacity market {ticks, regions, segments, providers, mechanism?, ...}; default the standard market |
glut_capacity | glut_exit on your own spec: the share of capacity the glut adds |
rows | false for the manifest only |
from | first tick of the trace, default 0 |
to | last tick of the trace |