Skip to content

Commit 3cae664

Browse files
authored
Merge pull request #34 from QuantConnect/pydantic_model_generator
Add support for Metadata series in Strategy Equity live chart
2 parents 66f82f1 + 6dcd123 commit 3cae664

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: QuantConnect-Platform-2.0.0.yaml
3-
# timestamp: 2025-08-15T14:51:37+00:00
3+
# timestamp: 2025-08-15T16:44:31+00:00
44

55
from __future__ import annotations
66
from pydantic import RootModel, ConfigDict
@@ -2875,7 +2875,7 @@ class Series(BaseModel):
28752875
Optional[int], Field(description='Index/position of the series on the chart.')
28762876
] = None
28772877
values: Annotated[
2878-
Optional[List[List]],
2878+
Optional[Union[List[List], List[Dict[str, Any]]]],
28792879
Field(
28802880
description='Values for the series plot. These values are assumed to be in ascending time order (first points earliest, last points latest)'
28812881
),

0 commit comments

Comments
 (0)