Python SDK for the 3kk0 unified streaming API
Project description
kk0 SDK
A minimal Python client for the 3kk0 unified WebSocket stream.
Quickstart
from kk0 import Stream
import asyncio
async def main():
async with Stream("wss://api.3kk0.com/stream") as s:
await s.subscribe(
channels=["trades"],
symbols=["SOL/USDT"],
exchanges=["binance"],
)
async for event in s:
print(event)
asyncio.run(main())
The broker exposes a single /stream websocket: send a subscribe payload with the filters you care about, and the iterator yields every normalized trade, orderbook, heartbeat, or raw message that matches. Include raw=True in the subscribe call to flow through the raw-connector payload (events arrive with type == "raw" and a payload that mirrors the upstream exchange data). Adjust depth and other filters as needed for your workload.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kk0-0.1.3.tar.gz.
File metadata
- Download URL: kk0-0.1.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41103a1cab688d84b2edfd69207cfbd12a0696c255e733a9df1ddff9e0b3905c
|
|
| MD5 |
18abc6b8427d11b35cd757061b5056e3
|
|
| BLAKE2b-256 |
fde69974581860f7f499eb8df9088df94d7c044487fb84c656eb0789df860ccd
|
File details
Details for the file kk0-0.1.3-py3-none-any.whl.
File metadata
- Download URL: kk0-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dc91b200edd6f0a67fcecfddb85ba0695f4b4c61f93bdd232847a5860b6a59c
|
|
| MD5 |
ea66cab6b6277e899f277ae370852cd3
|
|
| BLAKE2b-256 |
2201c77b82fdb5b626c15795a3112263479a7cd4b5f9a3fbb99546eaf3ad494d
|