Use this query to fire something when your electricity export price fell or rose past your set threshold and between your preferred time settings. Note: this query will only return future events after this Applet is created.API endpoint slug agile_octopus.history_of_energy_export_price_changes Runtime method performQuery("agile_octopus.history_of_energy_export_price_changes")
Query fields Label At what price should this activate? Helper text Price in pence. Max 35 pence. Slug price_threshold Required true Can have default value true Label When to trigger? Slug when_to_trigger Required true Can have default value true Label Happens after Slug happens_after Required true Can have default value false Label Happens before Slug happens_before Required true Can have default value false
Ingredients Slug created_at Filter code AgileOctopus.historyOfEnergyExportPriceChanges.CreatedAt Type Date with time (ISO8601) Example 2020-07-08T04:17:06.000+05:00 Slug price Filter code AgileOctopus.historyOfEnergyExportPriceChanges.Price Type String Example 10.50 Slug triggered_at Filter code AgileOctopus.historyOfEnergyExportPriceChanges.TriggeredAt Type Date with time (ISO8601) Example 2020-07-08T04:17:06.000+05:00 Slug trigger_price Filter code AgileOctopus.historyOfEnergyExportPriceChanges.TriggerPrice Type String Example 10 Slug triggers_after Filter code AgileOctopus.historyOfEnergyExportPriceChanges.TriggersAfter Type String Example 12:00 AM Slug triggers_before Filter code AgileOctopus.historyOfEnergyExportPriceChanges.TriggersBefore Type String Example 12:00 PM