diff options
| author | Navan Chauhan <navanchauhan@gmail.com> | 2025-04-27 12:01:12 -0600 |
|---|---|---|
| committer | Navan Chauhan <navanchauhan@gmail.com> | 2025-04-27 12:01:12 -0600 |
| commit | fa745c47d1fc08e149fb827b022dd19bb527092b (patch) | |
| tree | cf55cd1ad0dc6dae6bf7c5512a2dbfac75ecf2e9 /server/models | |
| parent | 6c0867111148e8aa6766c183d92e1a5c561da361 (diff) | |
initial commit
Diffstat (limited to 'server/models')
| -rw-r--r-- | server/models/market.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/server/models/market.py b/server/models/market.py index f402ab7..072e40f 100644 --- a/server/models/market.py +++ b/server/models/market.py @@ -1,5 +1,9 @@ +from datetime import datetime from pydantic import BaseModel class MarketData(BaseModel): - timestamp: str - price: float + timestamp: datetime + lmp: float + energy: float + congestion: float + loss: float |
