Skip to main content

A Python SDK for real-time stock and futures market data

Project description

TickHub Python SDK

A Python SDK for financial market data.

How to use

import tickhub

# Initialize client
pro = tickhub.pro("your-api-token")

# Get daily data
df = pro.get_daily(
    ts_code='000001.SZ',
    start_date='20240101',
    end_date='20240301'
)

# Get realtime data
df = pro.rt_k(ts_code='000001.SZ')

Development

See docs/dev/DEVELOPMENT.md for development guide.

Documentation

License

MIT

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

tickhub-0.2.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

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

tickhub-0.2.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tickhub-0.2.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for tickhub-0.2.0.tar.gz
Algorithm Hash digest
SHA256 18d3d3dcc1cdda0277b9cee3636cdc4ed17bb22697b88d7a7b9f52074cc0203e
MD5 e0de9db0f88b51338169267b1b21ba6f
BLAKE2b-256 1851833114a7d178f92bd75a03d9e74f484aac8065749660d9e99b5617660a76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tickhub-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for tickhub-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34a4b7ad26524ac52b3a32f53fe33e6609c15a0fdab21221065e1be5b48c48c6
MD5 79355a3c8f195b9628b1a576f6dd0478
BLAKE2b-256 bb23ec0cba0e629d942eb61aeaf1f6dcdce975f67b97ebc42870bf2da8481688

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