fd-yfinance
A CLI for querying global / US-market financial data via yfinance (Yahoo Finance).
Part of the fd-* package family. Mirrors the fd-akshare harness layout.
Prerequisites
- Python 3.10+
pip install yfinance
Installation
# from yfinance-agent-harness/
uv pip install -e ".[dev,repl]"
Quick Start
# List all available functions
fd-yfinance list
# Search for functions by keyword
fd-yfinance search history
# Get function details including parameters
fd-yfinance info ticker_history
# Call a function (one-shot)
fd-yfinance call ticker_history symbol=AAPL period=1mo
# JSON output for machine consumption
fd-yfinance --json call ticker_history symbol=AAPL period=1mo
# Interactive REPL (default when no subcommand given)
fd-yfinance
Command conventions
yfinance centers on the Ticker object. This harness flattens it into a registry of commands:
ticker_<method>— callsyfinance.Ticker(symbol).<method>(...), e.g.ticker_history,ticker_info,ticker_financials.- Top-level functions keep their names, e.g.
download,search.
Notes
- Yahoo may rate-limit heavy automated use; yfinance retries/caches internally.
- Output-column metadata in the registry is representative, not exhaustive.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fd_yfinance-0.1.1.tar.gz
(14.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fd_yfinance-0.1.1.tar.gz.
File metadata
- Download URL: fd_yfinance-0.1.1.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
806c2cd042a9951d92efd6f6fb93d790eb73c577c6dcd5df54139299cfccdd23
|
|
| MD5 |
d612985d90fed69e637e160b74a3a4a3
|
|
| BLAKE2b-256 |
5ab7c4cc1c47b19ba95f8406f3b89d40108108c785f5f570a44a6916a379dc46
|
File details
Details for the file fd_yfinance-0.1.1-py3-none-any.whl.
File metadata
- Download URL: fd_yfinance-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc2a5841f00e06b53b0015dffd95d07a6478befc75c24e2607dee757b2ccc722
|
|
| MD5 |
209990ec3acab085eb19153b099946bf
|
|
| BLAKE2b-256 |
6c7986e8a50afdcf7faf63c822b979ee9f01c5da6f0f688e13315b2d6df17fe5
|