FinancialDatasets Toolkit
The financial datasets stock market API provides REST endpoints that let you get financial data for 16,000+ tickers spanning 30+ years.
Setup
To use this toolkit, you need two API keys:
FINANCIAL_DATASETS_API_KEY: Get it from financialdatasets.ai.
OPENAI_API_KEY: Get it from OpenAI.
import getpass
import os
os.environ["FINANCIAL_DATASETS_API_KEY"] = getpass.getpass()
os.environ["OPENAI_API_KEY"] = getpass.getpass()
Installation
This toolkit lives in the langchain-community package.
%pip install -qU langchain-community