Skip to main content

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


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)

Uploaded Source

Built Distribution

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

apishare-0.2.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file apishare-0.2.0.tar.gz.

File metadata

  • Download URL: apishare-0.2.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for apishare-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5c9f6849cf509db32fad973dfddf28f88985543856c16b93d336ddf9c81158af
MD5 fa7a9cc6edb1c48591b3dc4bc3938de6
BLAKE2b-256 c62eac7452440fa1dd9404cccb8abdd20ad50ab1408d47ee52fc6d5d514437f9

See more details on using hashes here.

File details

Details for the file apishare-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: apishare-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for apishare-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79c9aac761af84414eb5fa14f023002161acbae0c805ff057db9840079da329f
MD5 84354f9e4bf5bbbf2ce485a897ad655b
BLAKE2b-256 4e78f0bc70b16888b50097e4d69f1b2e4fa4e98eca472aba486b583a5ea748a7

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