Python client for QB DATA API; responses as pandas.DataFrame.
Reason this release was yanked:
debug version
Project description
Qb Data Client (Python)
这是一个用于调用QB DATA API 的 Python 客户端,统一将返回结果转换为 pandas.DataFrame。完整 API 说明以贵司随项目分发的文档为准(例如仓库中的 docs/api-docs.md;PyPI 源码包未必包含该文件)。
环境准备
在 python-client 目录下安装依赖:
pip install qb-data-client
使用方式
from qb_data_client import QbDataClient
client = QbDataClient()
# 设置认证信息
client.set_access_key("your-access-key")
df = client.top10_low_cdc_yield_municipal_bond()
print(df.head())
contributor_id 说明
- 含义:交易所或经纪商缩写
- 多个经纪商:使用英文逗号(
,)分隔,例如:"UEDA,CFES"
枚举值:
| contributor_id | 名称 |
|---|---|
| UEDA | 上田八木 |
| TPSH | 国利货币 |
| CNEX | 国际货币 |
| CCTB | 中诚保捷思 |
| TJXT | 天津信唐 |
| PATR | 平安利顺 |
| SSEC | 上海证券交易所 |
| SZEC | 深证证券交易所 |
| CFES | 外汇交易中心 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qb_data_client-0.9.2.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qb_data_client-0.9.2.tar.gz.
File metadata
- Download URL: qb_data_client-0.9.2.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d352596e1c8cdeb2bdc3f994d2590493245b60f40a9f2e8474d23a60020e8f5
|
|
| MD5 |
2520f41c75717339a484e59bcfce9dc1
|
|
| BLAKE2b-256 |
69d84193c393ba686cbf7bb9e547439ad0441b192a3c19dfd87fd8499aed1f77
|
File details
Details for the file qb_data_client-0.9.2-py3-none-any.whl.
File metadata
- Download URL: qb_data_client-0.9.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b372d982309af9e6e80b8fd0cff1f9b7346227244b83f3071b2961704c481e2d
|
|
| MD5 |
ee839c40aa96d7abbab07a91ad615c18
|
|
| BLAKE2b-256 |
f4e37070d51eec4d9bdc0eee250bdc9557884abef9bbfca023936b1a7893cc30
|