200 breaks polygon

This commit is contained in:
montezdesousa
2023-08-04 00:46:12 +01:00
parent 70f70a81b4
commit ed07f6ad4c
2 changed files with 4 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ class CLASS_stocks_fa(Container):
self,
symbol: str,
period: Literal["annually", "quarterly"] = "annually",
limit: Union[pydantic.types.NonNegativeInt, None] = 200,
limit: Union[pydantic.types.NonNegativeInt, None] = 12,
chart: bool = False,
provider: Union[Literal["fmp", "polygon"], None] = None,
**kwargs
@@ -514,7 +514,7 @@ class CLASS_stocks_fa(Container):
self,
symbol: str,
period: Literal["annually", "quarterly"] = "annually",
limit: Union[pydantic.types.NonNegativeInt, None] = 200,
limit: Union[pydantic.types.NonNegativeInt, None] = 12,
chart: bool = False,
provider: Union[Literal["fmp", "polygon"], None] = None,
**kwargs
@@ -1574,7 +1574,7 @@ class CLASS_stocks_fa(Container):
self,
symbol: str,
period: Literal["annually", "quarterly"] = "annually",
limit: Union[pydantic.types.NonNegativeInt, None] = 200,
limit: Union[pydantic.types.NonNegativeInt, None] = 12,
chart: bool = False,
provider: Union[Literal["fmp", "polygon"], None] = None,
**kwargs

View File

@@ -19,5 +19,5 @@ class FinancialStatementQueryParams(QueryParams, BaseSymbol):
default="annually", description=QUERY_DESCRIPTIONS.get("period", "")
)
limit: Optional[NonNegativeInt] = Field(
default=200, description=QUERY_DESCRIPTIONS.get("limit", "")
default=12, description=QUERY_DESCRIPTIONS.get("limit", "")
)