diff --git a/vnpy/trader/database/database_sql.py b/vnpy/trader/database/database_sql.py index 014c298a..a627f3ce 100644 --- a/vnpy/trader/database/database_sql.py +++ b/vnpy/trader/database/database_sql.py @@ -118,6 +118,7 @@ def init_models(db: Database, driver: Driver): volume=self.volume, open_price=self.open_price, high_price=self.high_price, + open_interest=self.open_interest, low_price=self.low_price, close_price=self.close_price, gateway_name="DB",