A Python package for financial market data access
Project description
APIShare
一个专业的金融数据接口 Python 包,提供股票、基金等金融市场数据的快速访问。 官网:https://www.apishare.cn
安装
pip install apishare
使用方法
from apishare import APIShare
# 创建一个实例并传入你的 API 令牌
api = APIShare(token="your-api-token")
# 获取股票日线数据
daily_data = api.get_data(
api_name="daily", # 接口名称:日线数据(更多接口见官网)
code="000001.SZ", # 股票代码:平安银行
start_date="20240101", # 起始日期
end_date="20241231" # 结束日期
)
print(daily_data)
特性
- 覆盖全面的金融市场数据
- 简单直观的 API 设计
- 支持 DataFrame 格式输出
- 高效的数据获取和处理
- 详细的接口文档和示例
许可证
本项目采用 Apache License 2.0 许可证。
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
apishare-0.2.0.tar.gz
(4.0 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