Skip to main content

QuantGo SDK - Tushare兼容的量化数据接口

Project description

QuantGo SDK

Tushare兼容的量化数据接口,连接QuantGo数据服务。

安装

pip install quantgoData

使用

import quantgo
api = quantgo.pro_api(token='your_token', server='https://quantgo.ai/data')

# 获取日线数据
df = api.daily(ts_code='000001.SZ', start_date='20260101', end_date='20260130')

# 获取交易日历
cal = api.trade_cal(start_date='20260101', end_date='20260131')

# 获取ETF日线
etf = api.fund_daily(ts_code='510300.SH', start_date='20260101')

支持接口

接口 说明
daily 日线行情
weekly 周线行情
monthly 月线行情
daily_basic 每日指标
stock_basic 股票列表
trade_cal 交易日历
stk_mins 分钟线
fund_daily 基金/ETF日线
index_daily 指数日线
moneyflow 资金流向
margin 融资融券
limit_list_d 涨跌停统计
cn_gdp/cn_cpi/cn_pmi 宏观经济
ths_index/ths_daily 同花顺概念
moneyflow_hsgt 北向资金

Token获取

访问 https://quantgo.ai 注册获取API Token。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantgodata-1.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file quantgodata-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: quantgodata-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for quantgodata-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4ad4c4938f1e9f238fba2971ed5aad311556bd0f8a932b2730daef1ad9005410
MD5 53b93c220169f0142cd6c6ed41853b6c
BLAKE2b-256 0840ff7876e7ee36a1fb449664b07e0ddb72ac7668d66b463d29708142a96954

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page