Skip to content

Releases: pawsengineer/polymarket-rs

v0.2.0

Choose a tag to compare

@pawsengineer pawsengineer released this 10 Dec 02:33
b8f9cd8

Release Notes - v0.2.0

Change logs

  • Implement Gamma API client with market data retrieval
  • Add comprehensive type definitions for Gamma events and markets
  • Add query parameters with pagination and sorting support
  • Include example usage in gamma_markets.rs

v0.1.6

Choose a tag to compare

@pawsengineer pawsengineer released this 06 Dec 02:29
9c8a4c2

Release Notes - v0.1.6

Change logs

  • added get_market_by_slug method to fetch markets by their slug identifier.
  • added Fill and Kill (FAK) order support for immediate execution orders.
  • added methods to check if order book is empty and sort bids/asks.
  • fixed rounding strategy for price calculations to use ToZero to prevent prices from rounding to 1.0, which is invalid for prediction markets on Polymarket.

v0.1.5

Choose a tag to compare

@pawsengineer pawsengineer released this 24 Nov 07:59
95dc9ad

Release Notes - v0.1.5

Change logs

  • added support for posting multiple orders in a single API call with the new post_orders method.
  • updated examples/websocket_market.rs to demonstrate automatic reconnection handling.
  • consolidated duplicate PriceLevel and OrderSummary types for better API consistency.
    • Unified into single PriceLevel type in types::order module
    • Used across both order book summaries and WebSocket events
    • Breaking Change: OrderSummary renamed to PriceLevel

⚠️ This library is under active development. Breaking changes may occur in future updates. Not recommended for production use yet. See the README and examples/ directory for usage documentation.

v0.1.4

Choose a tag to compare

@pawsengineer pawsengineer released this 23 Nov 09:22
032a405

Release Notes - v0.1.4

Change logs

  • fix: missing next_cursor parameter on get_markets

⚠️ This library is under active development. Breaking changes may occur in future updates. Not recommended for production use yet. See the README and examples/ directory for usage documentation.

v0.1.2

Choose a tag to compare

@pawsengineer pawsengineer released this 22 Nov 06:13
26d78db

Release Notes - v0.1.2

Improvements

  • Prevent token amount overflow by using u64 instead of u32
  • Fix market order amounts calculation

⚠️ This library is under active development. Breaking changes may occur in future updates. Not recommended for production use yet. See the README and examples/ directory for usage documentation.

v0.1.1

Choose a tag to compare

@pawsengineer pawsengineer released this 21 Nov 15:42
0cc113e

Release Notes - v0.1.1

Improvements

  • Market Price Calculation: Fixed calculate_market_price to return weighted average price across order book levels instead of just the tick price
    • Now correctly accumulates shares (not cost) when walking the order book
    • Supports Side parameter for buy/sell order direction
    • Buy orders walk asks (lowest → highest), sell orders walk bids (highest → lowest)

v0.1.0

Choose a tag to compare

@pawsengineer pawsengineer released this 19 Nov 10:01
0e80540

Initial alpha release of polymarket-rs, a modern, type-safe Rust client library for the Polymarket CLOB and Data API.

Features

  • Full Authentication Support - L1 (EIP-712) and L2 (HMAC) authentication for trading operations
  • WebSocket Streaming - Real-time market data and user events with automatic reconnection
  • Multiple Client Types - Modular clients for different operations:
    • ClobClient - Public market data queries
    • AuthenticatedClient - API key management and account operations
    • TradingClient - Order creation, cancellation, and trade queries
    • DataClient - Position and portfolio data
  • Builder Pattern - Fluent APIs for configuration and order creation
  • Async/Await - Built on tokio for high-performance operations
  • Decimal Precision - Accurate financial calculations with rust_decimal

Installation

[dependencies]
polymarket-rs = { git = "https://github.com/pawsengineer/polymarket-rs.git" }

⚠️ This library is under active development. Breaking changes may occur in future updates. Not recommended for production use yet. See the README and examples/ directory for usage documentation.