程序整理
This commit is contained in:
@@ -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
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user