提交
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user