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.1.1.tar.gz (6.8 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.1.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tickhub-0.1.1.tar.gz
Algorithm Hash digest
SHA256 835d442f821eed2d64a15e7313404b12f589121d0a863c2d670c22f57c9f8898
MD5 df8dd3cebfea4986fd59c9ac75e8ef38
BLAKE2b-256 a1f8397978dbbf5d83ae35d38dee9a1f3bfa0e7fc1345fc3ddf14cdfba985101

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tickhub-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee6ea8bddf25fe5cf67ef7bdcacb986728df134ca4038e337bae3e71d91feb39
MD5 68bae6b7e2b39c6c58add07c136052e0
BLAKE2b-256 ddfb56b9d81c120f3130a91989fc3856212d6e7c2e5650e5fadffcabd85369dd

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