PolygonToolkit#
- class langchain_community.agent_toolkits.polygon.toolkit.PolygonToolkit[source]#
Bases:
BaseToolkit
Polygon Toolkit.
- Parameters:
tools – List[BaseTool]. The tools in the toolkit.
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.
- classmethod from_polygon_api_wrapper(polygon_api_wrapper: PolygonAPIWrapper) PolygonToolkit [source]#
Create a Polygon Toolkit from a Polygon API Wrapper.
- Parameters:
polygon_api_wrapper (PolygonAPIWrapper) – PolygonAPIWrapper. The Polygon API Wrapper.
- Returns:
PolygonToolkit. The Polygon Toolkit.
- Return type:
Examples using PolygonToolkit