Skip to main content

Typed KuCoin

A fully typed, validated async client for the KuCoin API.

from kucoin import KuCoin

async with KuCoin.new(public=True) as client:
  ticker = await client.spot.ticker(symbol='BTC-USDT')
  print(ticker['price'])

Why Typed KuCoin?

  • 🎯 Precise Types: every request and response across Spot, Margin, Futures and Earn is a typed structure, not a bare dict.
  • ✅ Runtime Validation: responses are checked against their schema by default, not just typed on paper.
  • ⚡ Async First: one client shares an HTTP connection pool per KuCoin host and lazily opens spot/margin and futures WebSocket streams only when used.
  • 📚 Full Surface: Account, Spot, Margin, Futures, Earn, VIP Lending, Affiliate, Convert, Copy Trading and Broker each hang off their own attribute on KuCoin, alongside both public and private WebSocket feeds.

Installation

pip install typed-kucoin

Documentation

How To

Source Code

github.com/tribulnation/kucoin

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

typed_kucoin-0.1.1.tar.gz (171.3 kB view details)

Uploaded Source

Built Distribution

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

typed_kucoin-0.1.1-py3-none-any.whl (406.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: typed_kucoin-0.1.1.tar.gz
  • Upload date:
  • Size: 171.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for typed_kucoin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d6b7a8f6a7ca707656ec2d866b093cd9538aa0dd5f8161c569aeaa1ea7daa530
MD5 fff8819df979b540da95e8459679179f
BLAKE2b-256 9d50bb4805d474c26300ad48a00623956cd5f352f49c86bc17bfc6f80d3ab06a

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_kucoin-0.1.1.tar.gz:

Publisher: release-kucoin.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: typed_kucoin-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 406.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for typed_kucoin-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 954d7f2b82adb8c2d4d5838dd708802a352bb670cb08e04b619c585bd04270d0
MD5 532c641306e343d006058c7c3bec7ceb
BLAKE2b-256 500bbcda03c826a43130c4a4df57921d5ac8cde320a669d2a9d229c8f0a36a58

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_kucoin-0.1.1-py3-none-any.whl:

Publisher: release-kucoin.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.0

2 files

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page