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.daily(
    ts_code='000001.SZ',
    start_date='20240101',
    end_date='20240131'
)

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

Documentation

  • API Docs - API reference documentation

Development

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tickhub-0.3.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for tickhub-0.3.0.tar.gz
Algorithm Hash digest
SHA256 82ad655ef4a18c1eb37d1840f911e06ca1f141f8f2bda101d044a230f74cd6fb
MD5 c05ed616fb7dd99b2bf9579a3654050f
BLAKE2b-256 4ecb50a0a12cfbc39cbd6947d50e277a122d7218332ae116a9d53f81bf0fb7b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tickhub-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for tickhub-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ff8250080b7c46834be2553f8f60211120a179cd6c4f00890259bf1eac00458
MD5 7a7b988e36f9f5743b178766b907af3b
BLAKE2b-256 aead40c04a3fb3a27949c1b829e864b0cddcab1c523cd3ee5be34b229db92445

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