Name | llama-index-tools-yahoo-finance JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | llama-index tools yahoo_finance integration |
upload_time | 2024-08-22 07:45:36 |
maintainer | None |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.8.1 |
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.8.1",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/2b/cb/2971e022a9307574c22eca832c49940e7c524bb744d8fe9d10e4615d360e/llama_index_tools_yahoo_finance-0.2.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.2.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cee352fed37f921234b67e2ff731d4b570774d3b7f71718e89491e52e9a8c2aa",
"md5": "88ebf5f55df59cf789c467d354e32ec7",
"sha256": "de417b1278d47feb4e2ad288e747ef93d9dcc6ababe1f05a8a1995b7232c5342"
},
"downloads": -1,
"filename": "llama_index_tools_yahoo_finance-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "88ebf5f55df59cf789c467d354e32ec7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.1",
"size": 2695,
"upload_time": "2024-08-22T07:45:35",
"upload_time_iso_8601": "2024-08-22T07:45:35.016293Z",
"url": "https://files.pythonhosted.org/packages/ce/e3/52fed37f921234b67e2ff731d4b570774d3b7f71718e89491e52e9a8c2aa/llama_index_tools_yahoo_finance-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2bcb2971e022a9307574c22eca832c49940e7c524bb744d8fe9d10e4615d360e",
"md5": "250af07fc744b81ca807040ec4224eac",
"sha256": "0266f16c014d9e94fa6af1feed0036de39c339d9fa53db9151471ae401a4487d"
},
"downloads": -1,
"filename": "llama_index_tools_yahoo_finance-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "250af07fc744b81ca807040ec4224eac",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.1",
"size": 2379,
"upload_time": "2024-08-22T07:45:36",
"upload_time_iso_8601": "2024-08-22T07:45:36.441080Z",
"url": "https://files.pythonhosted.org/packages/2b/cb/2971e022a9307574c22eca832c49940e7c524bb744d8fe9d10e4615d360e/llama_index_tools_yahoo_finance-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-22 07:45:36",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-tools-yahoo-finance"
}