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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vnpy_massive-1.0.0.tar.gz | 8.2 kB | Without provenance | Details for vnpy_massive-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vnpy_massive-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for vnpy_massive-1.0.0-py3-none-any.whl |
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
|
Security for vnpy_massive 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.