aboutsummaryrefslogtreecommitdiff
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/bid.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/bid.py b/server/models/bid.py
index c0b788e..e717011 100644
--- a/server/models/bid.py
+++ b/server/models/bid.py
@@ -9,6 +9,7 @@ class Bid(Base):
timestamp = Column(DateTime, index=True, nullable=False) # Bid target time
quantity = Column(Float, nullable=False) # MWh
price = Column(Float, nullable=False) # $/MWh
+ market = Column(String, nullable=False) # Market name: ISONE / MISO / NYISO for now
status = Column(String, default="Submitted") # Submitted / Success / Fail
pnl = Column(Float, nullable=True) # Profit/loss value, nullable initially