Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 22:02
· 10 commits to main since this release
v0.10.0
ead455e

Added

  • Follow Predictions OpenAPI 3.38.0:
    • allowed_leg_misses on Market, RFQ, CreateQuoteRequest, and
      CreateRFQBatchQuoteRequest, and on the rfq_created and rfq_batch_created WebSocket
      messages. It is the number of a combo's legs that may lose while the combo still pays Yes.
      A quote must state it when it is above 0. A combo without it has an unknown rule, not a
      standard one.
    • The failed transfer status, IntraExchangeInstanceTransferStatus::Failed. It read as
      Unknown before.
    • GetPositionsParams::sort_by, which orders event positions by ticker.
  • Error::retry_after holds the wait from a Retry-After header, or from the X-Retry-After
    header of a 409 that pauses quoting.

Changed

  • Fields the spec marks deprecated say so in their documentation, with the replacement when
    the spec names one. Among them are Market::title, Market::subtitle,
    BatchCancelOrdersRequest::ids, and MultivariateEventCollection::is_ordered.
  • RetryingTransport limits a Retry-After wait only by RetryPolicy::max_delay, as
    documented. Before, it also capped the wait at one hour.
  • The fetched Glaze moves to v9.1.0. Its string reader no longer allocates for padding, so
    decoding a page of 1,000 markets makes 41% fewer allocations (17,013 to 10,013) and runs
    9% fewer instructions. KALSHI_USE_SYSTEM_GLAZE=ON still accepts Glaze 8.3 or newer.