feat: display five GLB PnL series with distinct colors
Deploy production / deploy (push) Successful in 56s
Deploy production / deploy (push) Successful in 56s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user