feat: display five GLB PnL series with distinct colors
Deploy production / deploy (push) Successful in 56s

This commit is contained in:
yuxuanhui
2026-09-10 14:09:41 +08:00
parent f8e23dccb9
commit 6ce33eb572
10 changed files with 241 additions and 56 deletions
+7
View File
@@ -358,9 +358,16 @@ class PnlPoint(BaseModel):
value: float | None
class PnlSeries(BaseModel):
id: str
label: str
points: list[PnlPoint]
class PnlOutput(BaseModel):
cached: bool
points: list[PnlPoint]
series: list[PnlSeries] = Field(default_factory=list)
fetched_at: datetime | None