添加参数配置文件

This commit is contained in:
2025-10-31 18:11:39 +08:00
parent 706ed8cffa
commit bd7a6e3048
6 changed files with 46 additions and 33 deletions
+3
View File
@@ -21,3 +21,6 @@ class TradeTarget(BaseModel):
current_sell_order_no = CharField(default='')
status = IntegerField(default=0) # 0表示新标的,1表示已建初始仓,正常交易中
enabled = BooleanField(default=False) # 是否启动交易线程
def targetName(self):
return f'{self.stock_name}[{self.stock_code}]'