From 000d19afc8bbe495e8dc63ddcad22964e018fd07 Mon Sep 17 00:00:00 2001 From: 1122455801 Date: Tue, 18 Jun 2019 15:38:05 +0800 Subject: [PATCH] Update database_sql.py --- vnpy/trader/database/database_sql.py | 1 + 1 file changed, 1 insertion(+) 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",