Skip to main content
The official Bravado Python SDK is in development. This page describes the planned surface. Generate a client from the OpenAPI spec if you need typed access today (see SDK overview).

Install

Requires Python 3.10 or later.

Initialize

Options:
  • api_key (required)
  • base_url (default https://bravado-api-k7kaq.ondigitalocean.app)
  • timeout (default 10.0 seconds)
  • max_retries (default 3)
An async variant is also available:

Place an order

The SDK generates an Idempotency-Key automatically. Pass an explicit key when you need to control retries yourself:

Fetch analytics

Every numeric field is returned as Decimal, not float.

Copy-trading

Error handling