
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
llama-index-tools-yahoo-finance
Advanced tools
This tool connects to Yahoo Finance and allows an Agent to access stock, news, and financial data of a company.
pip install llama-index-tools-yahoo-finance
Here's an example of how to use this tool:
from llama_index.tools.yahoo_finance import YahooFinanceToolSpec
from llama_index.agent.openai import OpenAIAgent
tool_spec = YahooFinanceToolSpec()
agent = OpenAIAgent.from_tools(tool_spec.to_tool_list())
agent.chat("What is the price of Apple stock?")
agent.chat("What is the latest news about Apple?")
The tools available are:
balance_sheet
: A tool that returns the balance sheet of a company.
income_statement
: A tool that returns the income statement of a company.
cash_flow
: A tool that returns the cash flow of a company.
stock_news
: A tool that returns the latest news about a company.
stock_basic_info
: A tool that returns basic information about a company including price.
stock_analyst_recommendations
: A tool that returns analyst recommendations for a company.
This loader is designed to be used as a way to load data as a Tool in a Agent.
FAQs
llama-index tools yahoo_finance integration
We found that llama-index-tools-yahoo-finance demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.