diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2025-04-27 20:56:41 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2025-04-27 20:56:41 -0600 |
commit | cc68bc880407d55837e02052c7ab098079641843 (patch) | |
tree | 8d466b9cb2c8e55361e17685b609f03f8bcfe7f4 /server/models/bid.py | |
parent | 2bc0555caa595967a28593aec2abd52500c5ddf9 (diff) |
add market option to bids
Diffstat (limited to 'server/models/bid.py')
-rw-r--r-- | server/models/bid.py | 1 |
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 |