mirror of
https://github.com/hwchase17/langchain
synced 2024-11-04 06:00:26 +00:00
cafffe8a21
**Description:** In this PR, I am adding a `PolygonAggregates` tool, which can be used to get historical stock price data (called aggregates by Polygon) for a given ticker. Polygon [docs](https://polygon.io/docs/stocks/get_v2_aggs_ticker__stocksticker__range__multiplier___timespan___from___to) for this endpoint. **Twitter**: [@virattt](https://twitter.com/virattt)
14 lines
439 B
Python
14 lines
439 B
Python
"""Polygon IO tools."""
|
|
|
|
from langchain_community.tools.polygon.aggregates import PolygonAggregates
|
|
from langchain_community.tools.polygon.financials import PolygonFinancials
|
|
from langchain_community.tools.polygon.last_quote import PolygonLastQuote
|
|
from langchain_community.tools.polygon.ticker_news import PolygonTickerNews
|
|
|
|
__all__ = [
|
|
"PolygonAggregates",
|
|
"PolygonFinancials",
|
|
"PolygonLastQuote",
|
|
"PolygonTickerNews",
|
|
]
|