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.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantgodata-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c3170e955f62226b10c6de7528ef141f5855626f260b5c507c8b652d20574d1
MD5 de056fe09b01bbe2667756a45405fc6f
BLAKE2b-256 9816ce4de9fa6f4aa319d03401ebfa18a07841ba642c37263f9142ec294173f5

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