Skip to content

polymarket-client: v0.20.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 15:16
6d85439

0.20.0 (2026-11-16)

⚠ BREAKING CHANGES

  • account: Filtering open orders by asset_id or the deprecated token_id alias now requires a nonblank market condition ID in market. Asset-only queries raise UserInputError when the paginator fetches a page, for both sync and async clients. Unfiltered and market-only queries remain supported. This breaking change uses a minor release on the 0.x line.

    - client.list_open_orders(asset_id=asset_id)
    + client.list_open_orders(asset_id=asset_id, market=condition_id)

Bug Fixes

  • account: Prepare for the December 14 order-query changes (28a253f). associate_trades is deprecated and defaults to an empty tuple when absent, while preserving legacy values. Track cumulative fills with size_matched or individual fills with list_account_trades(), matching taker_order_id or maker_orders[].order_id to the order ID. An empty associate_trades tuple does not mean an order has no fills.