This commit is contained in:
2026-09-09 15:07:58 +08:00
parent d656c05b3d
commit 71a0f6e404
31 changed files with 3657 additions and 9 deletions

View File

@@ -474,6 +474,7 @@ class StockListItemOut(BaseModel):
total_mv: float | None = None # 总市值(亿元)
circ_mv: float | None = None # 流通市值(亿元)
watched: bool = False # 是否自选(当前用户)
held: bool = False # 是否持仓(当前用户)
class StockListResponse(BaseModel):
@@ -544,6 +545,10 @@ class WatchlistOp(BaseModel):
ts_code: str = Field(min_length=6, max_length=12)
class HoldingOp(BaseModel):
ts_code: str = Field(min_length=6, max_length=12)
class ScreenerQueryOut(BaseModel):
id: int
text: str