程序整理

This commit is contained in:
2025-11-10 14:49:35 +08:00
parent 3a137b6aee
commit 20a7453e8b
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -1,6 +1,3 @@
from peewee import IntegerField
from core import strategy_db from core import strategy_db
from core.eventbus import EventTradeTargetUpdate, event_bus from core.eventbus import EventTradeTargetUpdate, event_bus
from core.strategy_db import OrderTypeBuy, OrderTypeInit, OrderTypeSell, TradeTarget from core.strategy_db import OrderTypeBuy, OrderTypeInit, OrderTypeSell, TradeTarget
+1 -1
View File
@@ -1,6 +1,6 @@
from peewee import SqliteDatabase, Model, CharField, IntegerField, FloatField, BooleanField from peewee import SqliteDatabase, Model, CharField, IntegerField, FloatField, BooleanField
from xtquant import xtconn, xtconstant from xtquant import xtconstant
# 连接到SQLite数据库 # 连接到SQLite数据库
db = SqliteDatabase('example.db') db = SqliteDatabase('example.db')