Skip to main content

VeighNa 框架的 Massive 数据服务接口

说明

基于 Massive REST API,使用 requests 直接调用,支持美股市场的 K 线数据(股票、指数、期权)。

注意:

  • 需要购买相应的数据服务权限。
  • 指数、期权的 ticker 前缀(如 I:、O:)由 datafeed 自动补全。指数自动补 I: 的代码只有 SPX、NDX、RUT、DJX、VIX。

安装

安装环境推荐基于4.0.0版本以上的【VeighNa Studio】。

直接使用pip命令:

pip install vnpy_massive

或者下载源代码后,解压后在cmd中运行:

pip install .

使用

在 VeighNa 中使用 Massive 时,需要在全局配置中填写以下字段信息:

名称 含义 必填 举例
datafeed.name 名称 是 massive
datafeed.password 密码 是 (API Key)

Metadata

Release files for vnpy_massive 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vnpy_massive 1.0.0
File Size Uploaded
vnpy_massive-1.0.0.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vnpy_massive 1.0.0
File Interpreter ABI Platform
vnpy_massive-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / vnpy_massive-1.0.0.tar.gz

Download URL vnpy_massive-1.0.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
968064709f78c6d16a6d03c9201b200fdfc2b4642c8d532b1d323405e0ef26e1
BLAKE2b-256 checksum
How to use checksums
9bd15ff0cc9234e4b5e20f59ba176771d89cb6889e6ddcd2dc63ddc49ef65ca0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.3

Release files / vnpy_massive-1.0.0-py3-none-any.whl

Download URL vnpy_massive-1.0.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f300535b811cab72b51822a3840903503e2a0a835cb7fc7b73d01b40ba1ee17b
BLAKE2b-256 checksum
How to use checksums
ea096e2cafde8f902361d5897a2b9c4519785dc5272adc0114d889fc64b9e034
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page