微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📈

专业级金融数据,一行命令直达

Massive(Polygon) · v1.0.5
专业技能 安全 A 级 作者 bruce-shi 公开目录收录
下载 1.3k 安装 2 收藏 3.2k 浏览 20
原始页面

简介

通过 CLI 调用 Massive(Polygon) 专业金融数据 API,覆盖股票、加密货币、外汇、期权、期货等全品类市场数据,适合开发者与量化交易者快速获取实时行情与历史数据。

原始描述

Access Massive(Polygon) stock, crypto, forex, options, indices, futures, market data, and news APIs via CLI.

中文使用说明 来自收录源

核心用法

massive-api 是一款面向金融数据获取的 CLI 工具,封装了 Massive(原 Polygon)专业级市场数据 API。用户通过 npx --yes massive <command> 即可无需安装直接调用,所有命令返回结构化 JSON 输出,便于管道化处理和自动化脚本集成。

支持的数据类别包括:

  • 股票:实时报价、历史 OHLCV、盘口数据、企业行动等
  • 加密货币:现货与合约行情、交易所聚合数据
  • 外汇:货币对报价、历史汇率
  • 期权:链式数据、希腊值、隐含波动率
  • 指数与期货:大盘指数、商品期货行情
  • 辅助数据:市场状态检查、财经新闻、参考数据(公司信息、财报日历等)

典型工作流

  1. 设置 MASSIVE_API_KEY 环境变量
  2. 使用 npx --yes massive stocks quote AAPL 获取实时报价
  3. 通过管道 | jq 或重定向 > data.json 处理结果

显著优点

  • 零安装负担:依托 npx 即时执行,无需全局安装 Node.js 包
  • 数据权威性:底层接入 Polygon.io 基础设施,美股数据覆盖度高、延迟低
  • 品类全面:单一工具覆盖股债汇期衍+新闻参考,避免多 API 对接成本
  • 开发者友好:JSON 原生输出、Unix 哲学设计,与 Python/R/Shell 生态无缝衔接

潜在局限与风险

维度 说明
商业成本 Massive/Polygon 为商业 API,免费层级受限,高频调用需付费订阅
地域覆盖 数据强项在美股,A股/港股等新兴市场覆盖有限
实时性分级 部分数据有 15 分钟延迟(取决于订阅级别),非全实时
CLI 抽象层 复杂查询可能需直接调用 REST API 以获取完整参数控制

适合人群

  • 量化策略开发者需要快速验证数据质量
  • DevOps/SRE 构建市场监控告警流水线
  • 数据分析师进行 Shell 环境下的 exploratory data analysis
  • 金融科技初创企业原型阶段降低数据基础设施成本

常规风险

  • API 密钥泄露:MASSIVE_API_KEY 需妥善保管,避免提交至版本控制
  • 速率限制:未注意配额可能导致调用失败或额外计费
  • 数据合规:金融数据使用需遵守 Massive 服务条款及本地证券法规

技能正文


name: massive-api description: Access Massive(Polygon) stock, crypto, forex, options, indices, futures, market data, and news APIs via CLI. metadata: openclaw: requires: bins: ["npx"] env: ["MASSIVE_API_KEY"] primaryEnv: "MASSIVE_API_KEY"

Massive(Polygon) Market Data Skill

A CLI tool and JS client wrapper for the Massive(Polygon) financial data APIs. Covers stocks, crypto, forex, options, indices, futures, market status, news, and reference data.

CLI Usage

npx --yes massive <command> [options]

All commands output JSON to stdout. Use --help for a list of commands or <command> --help for command-specific options.

Stocks

See Stocks Commands Reference for full details on all stock commands and parameters.

Crypto

See Crypto Commands Reference for full details on all crypto commands and parameters.

Forex

See Forex Commands Reference for full details on all forex commands and parameters.

Options

See Options Commands Reference for full details on all options commands and parameters.

Indices

See Indices Commands Reference for full details on all indices commands and parameters.

Reference Data

See Reference Data Commands Reference for full details on all reference data commands and parameters.

Market

See Market Commands Reference for full details on all market commands and parameters.

News

See News Commands Reference for full details on all news commands and parameters.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

其他来源收录

同一技能在不同目录的原始页面:

标签

financial-datamarket-dataquantitative-tradingapi-clientcli-toolstockscryptoforexpolygon

同类 Skill