get_cheapest_window
Find the cheapest N contiguous hours to run a flexible load (EV charging, battery, batch job) before a deadline. Calls the API cheapest endpoint, then refines using day-ahead hourly prices so the window respects the given UTC deadline (HH:MM interpreted as UTC — if that moment already passed today, tomorrow is used).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Bidding zone code (e.g. DE for Germany, FR for France). | |
| hours | Yes | Number of consecutive full hours to schedule (1–24), e.g. 4 for a 4-hour charge block. | |
| before | Yes | Deadline as HH:MM in UTC (23:59 style). The chosen window lies entirely on or before this instant on the UTC calendar day used (rolls to next day if already past). |