What's New
Features
- Added
average-priceexample that calculates average Portugal electricity prices for a date range- Takes start and end dates as DD-MM-YYYY format
- Fetches data from start date 00:00 to end date+1 00:00
- Calculates and displays average PT price across all hours
Documentation
- Updated README with new example usage
- Updated CLAUDE.md with new example commands
Usage
go run ./examples/average-price -start 01-01-2024 -end 03-01-2024This will fetch OMIE data for January 1-3, 2024 and calculate the average Portugal electricity price.