npx skills add https://github.com/octagonai/skills --skill stock-quote使用 Octagon MCP 服务器获取实时股票行情,包括当前价格、成交量、日内区间、52周区间、市值和移动平均线。
确保您的 AI 代理(Cursor、Claude Desktop、Windsurf 等)已配置 Octagon MCP。安装说明请参阅 references/mcp-setup.md。
确定您要查询的股票代码(例如,AAPL、MSFT、GOOGL)。
使用 octagon-agent 工具配合自然语言提示:
Get real-time stock quote for the symbol <TICKER>.
MCP 调用格式:
{
"server": "octagon-mcp",
"toolName": "octagon-agent",
"arguments": {
"prompt": "Get real-time stock quote for the symbol AAPL."
}
}
代理将返回包含以下信息的综合行情:
| 指标 | 示例值 |
|---|---|
| 当前价格 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| $270.01 |
| 涨跌额 | +$10.53 (+4.06%) |
| 成交量 | 72,890,096 股 |
| 日内区间 | $259.21 - $270.48 |
| 52周区间 | $169.21 - $288.62 |
| 市值 | $3.97 万亿 |
| 交易所 | NASDAQ |
| 前收盘价 | $259.48 |
| 50日均线 | $268.30 |
| 200日均线 | $236.65 |
数据来源 : octagon-stock-data-agent
有关以下方面的指导,请参阅 references/interpreting-results.md:
基本行情:
Get real-time stock quote for the symbol AAPL.
多只股票:
Get stock quotes for AAPL, MSFT, and GOOGL.
特定指标:
What is the current price and market cap for TSLA?
区间分析:
Where is NVDA trading relative to its 52-week range?
移动平均线:
What are the 50-day and 200-day moving averages for AMZN?
| 组成部分 | 描述 |
|---|---|
| 当前价格 | 最新成交价 |
| 涨跌额 | 相对于前收盘价的美元变动 |
| 涨跌幅 | 相对于前收盘价的百分比变动 |
| 前收盘价 | 前一交易日的收盘价 |
| 组成部分 | 描述 |
|---|---|
| 成交量 | 今日成交股数 |
| 平均成交量 | 典型日成交量 |
| 相对成交量 | 当前成交量与平均成交量之比 |
| 组成部分 | 描述 |
|---|---|
| 日内最高价 | 今日最高价 |
| 日内最低价 | 今日最低价 |
| 52周最高价 | 过去一年最高价 |
| 52周最低价 | 过去一年最低价 |
| 组成部分 | 描述 |
|---|---|
| 市值 | 总市场价值 |
| 交易所 | 交易场所(NASDAQ、NYSE 等) |
| 流通股数 | 已发行总股数 |
| 组成部分 | 描述 |
|---|---|
| 50日均线 | 50日移动平均线 |
| 200日均线 | 200日移动平均线 |
| 黄金交叉 | 50日均线上穿200日均线 |
| 死亡交叉 | 50日均线下穿200日均线 |
| 位置 | 解读 |
|---|---|
| 接近52周高点 | 动能强劲,可能遇到阻力 |
| 接近52周低点 | 走势疲软,可能获得支撑 |
| 位于区间中部 | 中性,关注方向选择 |
| 位于移动平均线上方 | 看涨趋势 |
| 位于移动平均线下方 | 看跌趋势 |
| 成交量水平 | 解读 |
|---|---|
| 高于平均水平 | 兴趣浓厚,确认价格变动 |
| 低于平均水平 | 信心不足 |
| 成交量激增 | 异常活动,可能有催化剂 |
| 信号 | 条件 | 解读 |
|---|---|---|
| 黄金交叉 | 50日均线 > 200日均线 | 看涨 |
| 死亡交叉 | 50日均线 < 200日均线 | 看跌 |
| 价格高于两条均线 | 高于两条均线 | 强劲上升趋势 |
| 价格低于两条均线 | 低于两条均线 | 强劲下降趋势 |
| 交易时段 | 时间(美东时间) |
|---|---|
| 盘前交易 | 4:00 AM - 9:30 AM |
| 常规交易 | 9:30 AM - 4:00 PM |
| 盘后交易 | 4:00 PM - 8:00 PM |
| 时间 | 数据反映 |
|---|---|
| 交易时段内 | 实时或15分钟延迟 |
| 盘前/盘后 | 延长交易时段 |
| 市场休市 | 前收盘价 |
What is AAPL trading at right now?
Get quotes for my holdings: AAPL, MSFT, GOOGL, AMZN, META.
What is the market cap of NVDA?
Is TSLA trading above or below its 200-day moving average?
How close is AMZN to its 52-week high?
与均线比较:价格相对于50日和200日均线显示趋势。
检查成交量:高成交量确认价格变动。
区间位置:接近高点 = 强势,接近低点 = 弱势。
市值背景:大市值股票通常波动性较小。
交易时间:开盘和收盘时段通常波动最大。
盘前/盘后:流动性较低,买卖价差较大。
| 技能 | 组合使用 |
|---|---|
| stock-performance | 当前行情 + 历史背景 |
| financial-metrics-analysis | 行情 + 基本面估值 |
| income-statement | 价格与收益关系 |
| analyst-estimates | 行情与目标价比较 |
周安装量
246
代码仓库
GitHub 星标数
18
首次出现
Feb 7, 2026
安全审计
安装于
opencode242
gemini-cli241
cursor240
codex240
github-copilot239
kimi-cli238
Retrieve real-time stock quotes with current price, volume, day range, 52-week range, market cap, and moving averages using the Octagon MCP server.
Ensure Octagon MCP is configured in your AI agent (Cursor, Claude Desktop, Windsurf, etc.). See references/mcp-setup.md for installation instructions.
Determine the ticker symbol for the stock you want to quote (e.g., AAPL, MSFT, GOOGL).
Use the octagon-agent tool with a natural language prompt:
Get real-time stock quote for the symbol <TICKER>.
MCP Call Format:
{
"server": "octagon-mcp",
"toolName": "octagon-agent",
"arguments": {
"prompt": "Get real-time stock quote for the symbol AAPL."
}
}
The agent returns a comprehensive quote including:
| Metric | Example Value |
|---|---|
| Current Price | $270.01 |
| Change | +$10.53 (+4.06%) |
| Volume | 72,890,096 shares |
| Day Range | $259.21 - $270.48 |
| 52-Week Range | $169.21 - $288.62 |
| Market Cap | $3.97 trillion |
| Exchange | NASDAQ |
| Previous Close | $259.48 |
| 50-Day Average | $268.30 |
| 200-Day Average | $236.65 |
Data Sources : octagon-stock-data-agent
See references/interpreting-results.md for guidance on:
Basic Quote:
Get real-time stock quote for the symbol AAPL.
Multiple Stocks:
Get stock quotes for AAPL, MSFT, and GOOGL.
Specific Metrics:
What is the current price and market cap for TSLA?
Range Analysis:
Where is NVDA trading relative to its 52-week range?
Moving Averages:
What are the 50-day and 200-day moving averages for AMZN?
| Component | Description |
|---|---|
| Current Price | Last traded price |
| Change | Dollar change from previous close |
| Percent Change | Percentage change from previous close |
| Previous Close | Prior day's closing price |
| Component | Description |
|---|---|
| Volume | Shares traded today |
| Average Volume | Typical daily volume |
| Relative Volume | Current vs. average |
| Component | Description |
|---|---|
| Day High | Highest price today |
| Day Low | Lowest price today |
| 52-Week High | Highest price in past year |
| 52-Week Low | Lowest price in past year |
| Component | Description |
|---|---|
| Market Cap | Total market value |
| Exchange | Trading venue (NASDAQ, NYSE, etc.) |
| Shares Outstanding | Total shares issued |
| Component | Description |
|---|---|
| 50-Day MA | 50-day moving average |
| 200-Day MA | 200-day moving average |
| Golden Cross | 50-day crosses above 200-day |
| Death Cross | 50-day crosses below 200-day |
| Position | Interpretation |
|---|---|
| Near 52-Week High | Strong momentum, potential resistance |
| Near 52-Week Low | Weakness, potential support |
| Mid-Range | Neutral, watch for direction |
| Above Moving Averages | Bullish trend |
| Below Moving Averages | Bearish trend |
| Volume Level | Interpretation |
|---|---|
| Above Average | High interest, confirming move |
| Below Average | Low conviction |
| Spike | Unusual activity, catalyst likely |
| Signal | Condition | Interpretation |
|---|---|---|
| Golden Cross | 50-day > 200-day | Bullish |
| Death Cross | 50-day < 200-day | Bearish |
| Price > Both MAs | Above both averages | Strong uptrend |
| Price < Both MAs | Below both averages | Strong downtrend |
| Session | Time (ET) |
|---|---|
| Pre-Market | 4:00 AM - 9:30 AM |
| Regular | 9:30 AM - 4:00 PM |
| After-Hours | 4:00 PM - 8:00 PM |
| When | Data Reflects |
|---|---|
| Market Hours | Real-time or 15-min delay |
| Pre/After Hours | Extended hours trading |
| Closed Market | Previous close |
What is AAPL trading at right now?
Get quotes for my holdings: AAPL, MSFT, GOOGL, AMZN, META.
What is the market cap of NVDA?
Is TSLA trading above or below its 200-day moving average?
How close is AMZN to its 52-week high?
Compare to averages : Price vs. 50-day and 200-day MA shows trend.
Check volume : High volume confirms price moves.
Range position : Near highs = strength, near lows = weakness.
Market cap context : Larger caps typically less volatile.
Time of day : Opening and closing often most volatile.
Pre/post market : Less liquidity, wider spreads.
| Skill | Combined Use |
|---|---|
| stock-performance | Current quote + historical context |
| financial-metrics-analysis | Quote + fundamental valuation |
| income-statement | Price vs. earnings relationship |
| analyst-estimates | Quote vs. price targets |
Weekly Installs
246
Repository
GitHub Stars
18
First Seen
Feb 7, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykWarn
Installed on
opencode242
gemini-cli241
cursor240
codex240
github-copilot239
kimi-cli238
Python PDF处理教程:合并拆分、提取文本表格、创建PDF文件
55,400 周安装