get_tb_spread
Top-Bottom (TBx) spread — daily battery-arbitrage benchmark.
TBx = sum(top X priced hours) − sum(bottom X priced hours) over the
day-ahead clearing prices for zone on date. The day is the SDAC
market day (23/25 hours on DST-transition days). date must be a
bare YYYY-MM-DD — time-bearing strings are rejected.
Returns both spread (€/MW/day) and mean_spread (€/MWh = spread/X).
Common X: 1, 2, 4.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| date | Yes | ||
| zone | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||