IncomeStatementsSchema#

class langchain_community.tools.financial_datasets.income_statements.IncomeStatementsSchema[source]#

Bases: BaseModel

Input for IncomeStatements.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param limit: int [Required]#

The number of income statements to return. Default is 10.

param period: str [Required]#

The period of the income statement. Possible values are: annual, quarterly, ttm. Default is β€˜annual’.

param ticker: str [Required]#

The ticker symbol to fetch income statements for.