Name | llama-index-tools-yahoo-finance JSON |
Version |
0.3.0
JSON |
| download |
home_page | None |
Summary | llama-index tools yahoo_finance integration |
upload_time | 2024-11-17 23:04:51 |
maintainer | None |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.9 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Yahoo Finance Tool
This tool connects to Yahoo Finance and allows an Agent to access stock, news, and financial data of a company.
## Installation
pip install llama-index-tools-yahoo-finance
## Usage
Here's an example of how to use this tool:
```python
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.
Raw data
{
"_id": null,
"home_page": null,
"name": "llama-index-tools-yahoo-finance",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/f0/d7/cfb61ca31048077098e247d988688bba81523af837231e5907b3f8e42de6/llama_index_tools_yahoo_finance-0.3.0.tar.gz",
"platform": null,
"description": "# Yahoo Finance Tool\n\nThis tool connects to Yahoo Finance and allows an Agent to access stock, news, and financial data of a company.\n\n## Installation\n\npip install llama-index-tools-yahoo-finance\n\n## Usage\n\nHere's an example of how to use this tool:\n\n```python\nfrom llama_index.tools.yahoo_finance import YahooFinanceToolSpec\nfrom llama_index.agent.openai import OpenAIAgent\n\ntool_spec = YahooFinanceToolSpec()\nagent = OpenAIAgent.from_tools(tool_spec.to_tool_list())\n\nagent.chat(\"What is the price of Apple stock?\")\nagent.chat(\"What is the latest news about Apple?\")\n```\n\nThe tools available are:\n\n`balance_sheet`: A tool that returns the balance sheet of a company.\n\n`income_statement`: A tool that returns the income statement of a company.\n\n`cash_flow`: A tool that returns the cash flow of a company.\n\n`stock_news`: A tool that returns the latest news about a company.\n\n`stock_basic_info`: A tool that returns basic information about a company including price.\n\n`stock_analyst_recommendations`: A tool that returns analyst recommendations for a company.\n\nThis loader is designed to be used as a way to load data as a Tool in a Agent.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index tools yahoo_finance integration",
"version": "0.3.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "837b3a26f917e0486632be33847472830a6fcf1b8a8844a1c4cdbb3892f7328a",
"md5": "1c9a01863aa2e04880a5e4a94fac1b9a",
"sha256": "6832ea4678ddcd4dcc6fbb554a02d464184391902f64bc69f22f6809c27d075c"
},
"downloads": -1,
"filename": "llama_index_tools_yahoo_finance-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1c9a01863aa2e04880a5e4a94fac1b9a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 2694,
"upload_time": "2024-11-17T23:04:49",
"upload_time_iso_8601": "2024-11-17T23:04:49.479289Z",
"url": "https://files.pythonhosted.org/packages/83/7b/3a26f917e0486632be33847472830a6fcf1b8a8844a1c4cdbb3892f7328a/llama_index_tools_yahoo_finance-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f0d7cfb61ca31048077098e247d988688bba81523af837231e5907b3f8e42de6",
"md5": "31071380c88ab14f0da7a9d1b9f68e0e",
"sha256": "646fc328cc125c17358ba91b3cbd509c94a4882189508887829506e9a1f56439"
},
"downloads": -1,
"filename": "llama_index_tools_yahoo_finance-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "31071380c88ab14f0da7a9d1b9f68e0e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 2388,
"upload_time": "2024-11-17T23:04:51",
"upload_time_iso_8601": "2024-11-17T23:04:51.059306Z",
"url": "https://files.pythonhosted.org/packages/f0/d7/cfb61ca31048077098e247d988688bba81523af837231e5907b3f8e42de6/llama_index_tools_yahoo_finance-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-17 23:04:51",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-tools-yahoo-finance"
}