Skip to content

Releases: pmxt-dev/pmxt

v2.3.0

14 Feb 20:19

Choose a tag to compare

Features

  • Outcome Shorthand for Trading: You can now pass a MarketOutcome object directly to createOrder (TS) or create_order (Python) instead of manually specifying marketId and outcomeId.
  • marketId in MarketOutcome: Market outcome objects now include the marketId they belong to, enabling the new shorthand functionality and better data traceability.

Changed

  • Improved Type Safety: Enhanced input validation for order creation to ensure consistent behavior across different parameter combinations.
  • Documentation & Examples: Updated trading examples to demonstrate the new recommended shorthand pattern.

Installation

npm:

npm install pmxtjs@2.3.0

PyPI:

pip install pmxt==2.3.0

Links

Full Changelog: v2.2.0f...v2.3.0f

v2.2.0

14 Feb 19:35

Choose a tag to compare

Features

  • MarketList Convenience Class: Introduced a new MarketList class to simplify market discovery and filtering. This provides a more ergonomic way to search and interact with collections of markets across different exchanges.
  • Developer Experience: Added npm run dev command to support streamlined local development with automatic rebuilding and sidecar management.

Documentation

  • Architecture Overview: Added a comprehensive ARCHITECTURE.md guide explaining the project's internal structure and core principles.
  • Exchange Contribution Guide: Created core/ADDING_AN_EXCHANGE.md to provide clear instructions for developers looking to integrate new prediction markets.
  • Improved Onboarding: Updated CONTRIBUTING.md with detailed monorepo structure and prerequisites. Added .env.example to simplify local environment setup.
  • Node.js Environment: Explicitly defined supported Node.js versions in package.json to ensure development environment consistency.

Installation

npm:

npm install pmxtjs@2.2.0

PyPI:

pip install pmxt==2.2.0

Links

Full Changelog: v2.1.3f...v2.2.0f

v2.1.3

14 Feb 11:17

Choose a tag to compare

Features

  • Polymarket Performance Optimization:
    • Implemented preWarmMarket in the PolymarketExchange class. This allows for caching market metadata (such as tokenAddress and negRisk status) before placing orders, significantly reducing latency during critical execution moments.
    • Streamlined the createOrder workflow by removing redundant inferTickSize logic and delegating default handling to the Polymarket SDK.
  • API Enhancements: Added support for the negRisk parameter in CreateOrderParams, enabling more granular control over order types on Polymarket. <-- not in openapi schema yet
  • Developer Experience: Added a new benchmarking script core/scripts/test-order-speed.ts for measuring end-to-end order placement latency.

Installation

npm:

npm install pmxtjs@2.1.3

PyPI:

pip install pmxt==2.1.3

Links

Full Changelog: v2.1.2f...v2.1.3f

v2.1.2

13 Feb 16:50

Choose a tag to compare

Fixed

  • Kalshi Pagination: Implemented recursive pagination for Kalshi search, enabling the retrieval of up to 10,000 results per query (previously hard-limited to 200).
  • Kalshi 'All' Status: Enhanced the 'all' status filter to simultaneously fetch from open, closed, and settled endpoints, providing a truly comprehensive view of Kalshi events.
  • Polymarket Status Verification: Added strict client-side status verification for Polymarket search to prevent "active" events from leaking into "closed" queries, ensuring high search precision.
  • Limitless Status Filtering: Standardized status filtering for Limitless to correctly distinguish between active, expired, and resolved markets within search results.

Changed

  • Unified Status Terminology: Introduced 'inactive' as a universal alias for 'closed' across all exchange methods to provide a more intuitive API for non-binary market states.
  • Improved Documentation: Enriched JSDoc metadata for fetchMarkets and fetchEvents with exchange-specific implementation details and usage examples.

Installation

npm:

npm install pmxtjs@2.1.2

PyPI:

pip install pmxt==2.1.2

Links

Full Changelog: v2.1.1f...v2.1.2f

v2.1.1

13 Feb 15:34

Choose a tag to compare

Changed

  • Increased Default Limits: The default limit for fetching markets and events has been increased to 10,000 results across all exchanges (Polymarket, Kalshi, Limitless) to provide more comprehensive search results by default.
  • Polymarket Search Optimization: Migrated fetchEvents search to use the high-performance Gamma public-search endpoint with parallel pagination, significantly improving discovery for high-volume markets.
  • OpenAPI Specification: Updated openapi.yaml to reflect the new default limit of 10,000 for market and event queries.

Added

  • CI/CD Automation: Integrated automated GitHub release creation and unified publishing logic in publish.yml.
  • Search Verification Tooling: Added core/verify_search.ts script for easy testing and verification of search performance and accuracy.
  • Improved Metadata: Updated readme.md with cross-linked documentation and refreshed project statistics.

Fixed

  • Workflow Reliability: Resolved YAML syntax errors in GitHub Actions and removed redundant scripts to streamline the deployment process.

Installation

npm:

npm install pmxtjs@2.1.1

PyPI:

pip install pmxt==2.1.1

Links

Full Changelog: v2.1.0f...v2.1.1f

v2.1.0

13 Feb 08:15

Choose a tag to compare

Release 2.1.0


Installation

npm:

npm install pmxtjs@2.1.0

PyPI:

pip install pmxt==2.1.0

Links


This release was automatically generated from historical tags.

v2.0.11

13 Feb 08:15

Choose a tag to compare

Release 2.0.11


Installation

npm:

npm install pmxtjs@2.0.11

PyPI:

pip install pmxt==2.0.11

Links


This release was automatically generated from historical tags.

v2.0.10

13 Feb 08:15

Choose a tag to compare

Release 2.0.10


Installation

npm:

npm install pmxtjs@2.0.10

PyPI:

pip install pmxt==2.0.10

Links


This release was automatically generated from historical tags.

v2.0.9

13 Feb 08:15

Choose a tag to compare

Release 2.0.9


Installation

npm:

npm install pmxtjs@2.0.9

PyPI:

pip install pmxt==2.0.9

Links


This release was automatically generated from historical tags.

v2.0.8

13 Feb 08:15

Choose a tag to compare

Release 2.0.8


Installation

npm:

npm install pmxtjs@2.0.8

PyPI:

pip install pmxt==2.0.8

Links


This release was automatically generated from historical tags.