Skip to main content

Python client for accessing Zenith-Trade backend

Project description

Zenith Trade Client

A simple Python client to interact with the Zenith-Trade FastAPI backend.

Installation

pip install zenith-trade-client

🚀 Usage

Import the client

from zenith_trade_client import ZenithTradeClient
# default: mode="localhost", port=8000 (works on in-house server)
client = ZenithTradeClient()

# OR: Remote via Tailscale hostname
client = ZenithTradeClient(mode="tailscale", tailscale_host="", port=8000)

List All Exchanges

exchanges = client.list_exchanges()
print(exchanges)

Get Exchange Info

info = client.get_exchange_info("lmax_futures")
print(info)

Check Data Availability

availability = client.check_data_availability(
    exchange="binance",
    symbols=["BTCUSDT", "ETHUSDT"],
    data_types=["trades", "book_snapshot_5"],
    from_date="2025-09-01",
    to_date="2025-09-08"
)
print(availability)

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

zenith_trade_client-0.1.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

zenith_trade_client-0.1.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file zenith_trade_client-0.1.3.tar.gz.

File metadata

  • Download URL: zenith_trade_client-0.1.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for zenith_trade_client-0.1.3.tar.gz
Algorithm Hash digest
SHA256 1a05d5685dbfea19b542eeb16ed17044943ff4628e2795f10a1962c2cd70c59f
MD5 fa10d901b8b8224b89551b8cc10c8621
BLAKE2b-256 8252fed8d56a996638f92f6a3a6ac4dcfcddcf84e4f17b78fa4c49715c5dfaeb

See more details on using hashes here.

File details

Details for the file zenith_trade_client-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for zenith_trade_client-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d9facbace06eedf5ca732ed01519df61731a347e9f09b29aaf8b410c51dd0b3d
MD5 d8a10ac44b0e3ab39ffb041b60b53732
BLAKE2b-256 22bcebc819fb368e710cdba5927384eedf975d82a4bb3185d080868aa9432c28

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