FinancialDatasets
CLI: ${OPENCLAW_HOME:-$HOME/.openclaw}/tools/financialdatasets/fd_cli.py
Commands
Price Data
bash
# Historical prices (returns most recent N) fd_cli.py prices --ticker NVDA --interval day --limit 20 # Real-time snapshot fd_cli.py snapshot --ticker AAPL
Fundamentals
bash
# Income statement fd_cli.py income --ticker NVDA --period quarterly --limit 4 # Balance sheet fd_cli.py balance --ticker AAPL --period annual --limit 4 # Cash flow fd_cli.py cashflow --ticker MSFT --period ttm --limit 4
Alternative Data
bash
# Company news fd_cli.py news --ticker TSLA --limit 10 # Insider trades (CEO/CFO buys/sells) fd_cli.py insider --ticker NVDA --limit 20 # Institutional ownership (13F filings) fd_cli.py institutional --investor BERKSHIRE_HATHAWAY_INC --limit 50 fd_cli.py institutional --ticker AAPL --limit 20
Use Cases
- •Discovery: Check snapshot for quick price/volume context
- •Fundamentals: Pull income/balance for valuation work
- •Sentiment: Check insider trades for conviction signals
- •Smart Money: Track institutional flows via 13F data
- •Catalysts: News endpoint for recent headlines
API Notes
- •Trailing slash required on endpoints (already handled in CLI)
- •Prices return oldest-first, CLI slices to return most recent
- •13F data has 45-day lag from quarter end
- •News sourced from Motley Fool, Reuters, Investing.com