Thin Python client for the ccxt-flux sidecar.
Project description
Python Client
Thin Python client for the versioned ccxt-flux-sidecar HTTP/SSE surface.
For the full Bybit integration flow, see docs/exchanges/BYBIT.md.
This package metadata is prepared for future PyPI publication, but it is not published yet.
Current assumptions:
- sidecar schema version:
v1alpha1 - local sidecar base URL:
http://127.0.0.1:9001 - stream ids come from
GET /v1alpha1/streams
Example:
import asyncio
from ccxt_flux_sidecar import SidecarClient
async def main():
client = SidecarClient("http://127.0.0.1:9001")
streams = await client.list_streams()
stream_id = streams.streams[0].id
health = await client.stream_health(stream_id)
print(health)
async for event in client.stream_orderbooks(stream_id):
print(event.book.symbol, event.book.sequence)
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
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 ccxt_flux_sidecar-0.1.0a2.tar.gz.
File metadata
- Download URL: ccxt_flux_sidecar-0.1.0a2.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fd976ae5acf694c9023e1f471c6bea7d256811d4d8e3aecef4e0903711417c4
|
|
| MD5 |
3e45e46a1ed25937d36bd543d4f99f99
|
|
| BLAKE2b-256 |
b5b7bdbaba0fd86a3a7766e9a307fddf151fc22bab66967510e190c9e3d24475
|
File details
Details for the file ccxt_flux_sidecar-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: ccxt_flux_sidecar-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22d23ef8496a4259ed583774daa3e16a41c51a12ee014f3d8c3affba041c33da
|
|
| MD5 |
b57105103b50dd4b05ca3f080862f845
|
|
| BLAKE2b-256 |
c1aeee8e8b39ca8ae17de8a995adc648a47c96211e3fb3204b9f04c50d78809b
|