mirror of
https://github.com/Legolas-2025/EPrices.git
synced 2026-08-17 12:34:51 +02:00
Add negative price provider fee support in VERSION.md
Introduced support for negative provider fees with a new secret key and updated price calculation methods for both positive and negative prices.
This commit is contained in:
+21
-1
@@ -1,5 +1,25 @@
|
||||
# EPrices – Version History
|
||||
|
||||
## v1.1 — 2026-04-06
|
||||
|
||||
### Negative price provider fee
|
||||
|
||||
Added separate provider fee support for negative spot prices via a new
|
||||
`eprices_neg_prov_fee` secret key. Positive and negative market prices
|
||||
now use independent fee multipliers, correctly modelling contracts where
|
||||
the provider's fee structure differs between the two cases.
|
||||
|
||||
Price calculation:
|
||||
- Positive: `(raw / 1000) × (1 + prov_fee) × (1 + vat_rate)`
|
||||
- Negative: `(raw / 1000) × (1 - neg_prov_fee) × (1 + vat_rate)`
|
||||
|
||||
VAT is applied to both, consistent with net billing where VAT is calculated
|
||||
on the monthly net sum (linear equivalence applies).
|
||||
|
||||
See `CHANGELOG.md` for full implementation details.
|
||||
|
||||
---
|
||||
|
||||
## v1.0 — 2026-04-05
|
||||
|
||||
First public release.
|
||||
@@ -49,4 +69,4 @@ persistently in ESP32 NVS flash so they survive reboots without re-fetching.
|
||||
| `secrets.yaml` | Local secrets — not committed to git |
|
||||
| `CHANGELOG.md` | Full sensor and entity ID reference for v1.0 |
|
||||
| `README.md` | Installation guide and full sensor reference |
|
||||
| `ENTSO-E-PRICES-MIGRATION.md` | Optional — migration guide from the predecessor project |
|
||||
| `ENTSO-E-PRICES-MIGRATION.md` | Optional — migration guide from the predecessor project |
|
||||
|
||||
Reference in New Issue
Block a user