Skip to content

v1.1.0

Latest

Choose a tag to compare

@cesarenaldi cesarenaldi released this 17 Jul 12:56

Async execution support

The CLOB is rolling out an async execution pipeline: POST /order and POST /orders responses will no longer include transactionsHashes directly and instead return tradeIDs for matched orders. This release makes the client handle that change transparently. Upgrade to >=1.1.0 before the server rollout; no code changes are required.

Changed

  • When a matched order response carries tradeIDs without transactionsHashes, post_order and post_orders resolve the hashes internally before returning, so response["transactionsHashes"] keeps working as it does today. Resolution is best-effort: it never raises after a successful placement (poll failures are retried, not propagated), and on timeout the response is returned with tradeIDs so the trades can be followed via get_trades or the user websocket channel (#101)
  • Orders posted with defer_exec are returned as-is, unchanged from current behavior