posun dovybijejiciho okna tesne pred zapornou cenu
Some checks failed
CI and deploy / migration-check (push) Failing after 8s
CI and deploy / deploy (push) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-04-26 01:39:48 +02:00
parent 0edf9226cb
commit c6ca68b263
4 changed files with 128 additions and 12 deletions

View File

@@ -4,8 +4,8 @@ ALTER TABLE ems.asset_battery
ADD COLUMN IF NOT EXISTS planner_discharge_relax_prewindow_slots integer;
COMMENT ON COLUMN ems.asset_battery.planner_discharge_relax_prewindow_slots IS
'Počet 15min slotů před prvním buy <= planner_extreme_buy_threshold, ve kterých už platí hluboký planner floor; '
'dál v čase drží LP spodek na rezervě (arb). NULL = 8 (2 h).';
'Počet 15min slotů před prvním effective_sell < 0 (nebo před extrémním buy, pokud sell nikde není záporný); '
'viz také V061. NULL = 8.';
UPDATE ems.asset_battery
SET planner_discharge_relax_prewindow_slots = 8