aboutsummaryrefslogtreecommitdiff
path: root/server/create_db.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/create_db.py')
-rw-r--r--server/create_db.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/create_db.py b/server/create_db.py
index 44646be..5a29fb1 100644
--- a/server/create_db.py
+++ b/server/create_db.py
@@ -5,6 +5,7 @@ from models.bid import Bid
from models.market import MarketData
from zoneinfo import ZoneInfo
+
NEW_ENGLAND_TZ = ZoneInfo("America/New_York")
def init_db():
@@ -44,6 +45,7 @@ def init_db():
quantity=10.0,
price=price,
user_id=user.id,
+ market="ISONE",
status="Submitted",
pnl=None
)
@@ -69,6 +71,7 @@ def init_db():
quantity=20.0,
price=50.0,
user_id=user.id,
+ market="ISONE",
status="Submitted",
pnl=None
)