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.
Metadata
Release files for fd-yfinance 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fd_yfinance-0.1.1.tar.gz | 14.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fd_yfinance-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.6 kB
Release files / fd_yfinance-0.1.1.tar.gz
| Download URL | fd_yfinance-0.1.1.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
806c2cd042a9951d92efd6f6fb93d790eb73c577c6dcd5df54139299cfccdd23
|
|
BLAKE2b-256 checksum How to use checksums |
5ab7c4cc1c47b19ba95f8406f3b89d40108108c785f5f570a44a6916a379dc46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / fd_yfinance-0.1.1-py3-none-any.whl
| Download URL | fd_yfinance-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc2a5841f00e06b53b0015dffd95d07a6478befc75c24e2607dee757b2ccc722
|
|
BLAKE2b-256 checksum How to use checksums |
6c7986e8a50afdcf7faf63c822b979ee9f01c5da6f0f688e13315b2d6df17fe5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|