← 返回
未分类 Key

Massive(polygon.io) Stock Data Feed

Fetch real-time and historical market data from Massive (formerly Polygon.io) for use in OpenClaw's trading decisions. Use this skill whenever OpenClaw needs...
player-1101
未分类 clawhub v1.0.0 100000 Key: 需要
★ 1
Stars
📥 182
下载
💾 0
安装

概述

Massive (formerly Polygon.io) — Data Feed Skill

Market data for OpenClaw. Does not execute trades — pair with snaptrade-trading for execution.

MethodBest For
------
REST APIOn-demand quotes, OHLCV bars, historical records
WebSocketReal-time streaming — live trades, quotes, minute bars
Flat FilesBulk historical CSVs — backtesting, ML datasets

Setup

bash scripts/setup.sh
source .venv-massive/bin/activate

API keys: https://massive.com/dashboard/keys


SDK Initialization

import os
from massive import Client

client = Client(api_key=os.environ["MASSIVE_API_KEY"])

Raw HTTP (alternative)

import requests

API_KEY = os.environ["MASSIVE_API_KEY"]
BASE_URL = "https://api.massive.com/v1"

resp = requests.get(f"{BASE_URL}/stocks/trades",
    params={"apiKey": API_KEY, "ticker": "AAPL"})

Reference Files

TaskRead
------
Stocks — quotes, trades, OHLCV, fundamentalsreferences/stocks.md
Options — chains, Greeks, trades, quotesreferences/options.md
Futures — prices, historical barsreferences/futures.md
Crypto — prices, trades, OHLCVreferences/crypto.md
Real-time streamingreferences/websocket.md
Bulk historical CSV downloadsreferences/flat-files.md

Response Format

{ "status": "OK", "count": 10, "results": [ ... ] }

Always check status == "OK" before using results.


Constraints

  • Free plan: 15-min delayed data, 5 REST requests/min
  • Real-time data requires a paid plan
  • WebSocket: one connection per asset class by default
  • Flat Files available ~11:00 AM ET the following trading day

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-20 06:12 安全 安全

安全检测

暂无安全检测报告