返回顶部
S

Stock Market Data

Access real-time and historical stock market data via Alpha Vantage API. Get quotes, time series, technical indicators, fundamentals, forex, crypto, and commodities.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
59
下载量
0
收藏
概述
安装方式
版本历史

Stock Market Data

# Stock Market Data Access real-time and historical stock market data via the Alpha Vantage API. Covers stocks, forex, crypto, commodities, economic indicators, and technical analysis. **API:** https://www.alphavantage.co **Free tier:** 25 requests/day (no key needed for demo) ## Setup ```bash # Set your API key (get free at alphavantage.co/support/#api-key) export ALPHA_VANTAGE_KEY="your-api-key-here" # Or pass with --key python3 scripts/stock_data.py quote AAPL --key "your-key" ``` ## Quick Start ```bash # Get current stock quote python3 scripts/stock_data.py quote AAPL # Search for a ticker python3 scripts/stock_data.py search "Apple" # Historical daily data python3 scripts/stock_data.py daily AAPL --output-size compact # Intraday data (5-min intervals) python3 scripts/stock_data.py intraday AAPL --interval 5min # Company overview python3 scripts/stock_data.py overview AAPL # Top gainers and losers python3 scripts/stock_data.py movers # Forex exchange rate python3 scripts/stock_data.py forex USD CAD # Crypto price python3 scripts/stock_data.py crypto BTC USD # Technical indicator python3 scripts/stock_data.py sma AAPL --interval daily --time-period 50 # Economic indicator python3 scripts/stock_data.py gdp # Commodity price python3 scripts/stock_data.py commodity oil ``` ## Commands Reference | Command | Description | |---------|-------------| | `quote <symbol>` | Real-time stock quote | | `search <query>` | Search for ticker symbols | | `intraday <symbol>` | Intraday time series (opts: `--interval 1/5/15/30/60min`) | | `daily <symbol>` | Daily time series (opts: `--output-size compact/full`) | | `weekly <symbol>` | Weekly time series | | `monthly <symbol>` | Monthly time series | | `overview <symbol>` | Company fundamentals | | `movers` | Top gainers, losers, most active | | `news [--topic <t>] [--symbol <s>]` | News & sentiment | | `forex <from> <to>` | Currency exchange rate | | `crypto <symbol> <market>` | Cryptocurrency price | | `commodity <name>` | Commodity prices (oil, gold, silver, wheat, etc.) | | `gdp` | Real GDP | | `cpi` | Consumer Price Index | | `inflation` | Inflation rate | | `treasury` | Treasury yield | | `interest` | Federal funds rate | | `<indicator> <symbol>` | Technical indicators (sma, ema, rsi, macd, bbands, adx) | ## Technical Indicators | Indicator | Command | Key Params | |-----------|---------|------------| | SMA | `sma` | `--time-period`, `--interval` | | EMA | `ema` | `--time-period`, `--interval` | | RSI | `rsi` | `--time-period`, `--interval` | | MACD | `macd` | `--interval` | | Bollinger Bands | `bbands` | `--time-period`, `--interval` | | ADX | `adx` | `--time-period`, `--interval` | | ATR | `atr` | `--time-period`, `--interval` | | Stochastic | `stoch` | `--interval` | | OBV | `obv` | `--interval` | ## Output All commands output JSON by default. Add `--csv` for CSV format. ## Data Sources All data from Alpha Vantage (alphavantage.co). Free API key required — get one at alphavantage.co/support/#api-key. Free tier allows 25 requests/day.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 stockmarket-1775929262 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 stockmarket-1775929262 技能

通过命令行安装

skillhub install stockmarket-1775929262

下载 Zip 包

⬇ 下载 Stock Market Data v1.0.0

文件大小: 7.28 KB | 发布时间: 2026-4-12 11:32

v1.0.0 最新 2026-4-12 11:32
Initial release — stock quotes, time series, technical indicators, forex, crypto, commodities, economic indicators via Alpha Vantage API

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部