Skip to main content

VeighNa框架的Polygon.io数据服务接口

说明

基于Polygon.io的Python API开发,支持美股市场的K线数据

注意:

  • 需要购买相应的数据服务权限。
  • 期权合约历史数据查询的时候symbol需要去掉“O:”前缀。

安装

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

直接使用pip命令:

pip install vnpy_polygon

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

pip install .

使用

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

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

Release files for vnpy_polygon 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_polygon 1.0.0
File Size Uploaded
vnpy_polygon-1.0.0.tar.gz 6.4 kB Details

Built distribution (wheel)

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

Total release size: 11.8 kB

Release files / vnpy_polygon-1.0.0.tar.gz

Download URL vnpy_polygon-1.0.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c530592f0e4b5befb7a5ff45f25eba923912a5c1a5a5ba9eb46c773983e80bdc
BLAKE2b-256 checksum
How to use checksums
eeaa8e22bb12a52a4785a607f794e02149e0132391cd04517dafd84fdd11a0c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.3

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

Download URL vnpy_polygon-1.0.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c3d6817ac2e927272c5260697e8d700bfdbe08277440a0255c1fd00e61ae6c9
BLAKE2b-256 checksum
How to use checksums
1ed1f86785eb344c1a7572fe6c71e3f9506478d8969231e2d2a30719e4c59a9c
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