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 if the input data cannot be parsed to form a valid model.
- 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