Releases: pmxt-dev/pmxt
Releases · pmxt-dev/pmxt
v2.3.0
Features
- Outcome Shorthand for Trading: You can now pass a
MarketOutcomeobject directly tocreateOrder(TS) orcreate_order(Python) instead of manually specifyingmarketIdandoutcomeId. marketIdinMarketOutcome: Market outcome objects now include themarketIdthey 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.0PyPI:
pip install pmxt==2.3.0Links
Full Changelog: v2.2.0f...v2.3.0f
v2.2.0
Features
- MarketList Convenience Class: Introduced a new
MarketListclass 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 devcommand to support streamlined local development with automatic rebuilding and sidecar management.
Documentation
- Architecture Overview: Added a comprehensive
ARCHITECTURE.mdguide explaining the project's internal structure and core principles. - Exchange Contribution Guide: Created
core/ADDING_AN_EXCHANGE.mdto provide clear instructions for developers looking to integrate new prediction markets. - Improved Onboarding: Updated
CONTRIBUTING.mdwith detailed monorepo structure and prerequisites. Added.env.exampleto simplify local environment setup. - Node.js Environment: Explicitly defined supported Node.js versions in
package.jsonto ensure development environment consistency.
Installation
npm:
npm install pmxtjs@2.2.0PyPI:
pip install pmxt==2.2.0Links
Full Changelog: v2.1.3f...v2.2.0f
v2.1.3
Features
- Polymarket Performance Optimization:
- Implemented
preWarmMarketin thePolymarketExchangeclass. This allows for caching market metadata (such astokenAddressandnegRiskstatus) before placing orders, significantly reducing latency during critical execution moments. - Streamlined the
createOrderworkflow by removing redundantinferTickSizelogic and delegating default handling to the Polymarket SDK.
- Implemented
- API Enhancements: Added support for the
negRiskparameter inCreateOrderParams, 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.tsfor measuring end-to-end order placement latency.
Installation
npm:
npm install pmxtjs@2.1.3PyPI:
pip install pmxt==2.1.3Links
Full Changelog: v2.1.2f...v2.1.3f
v2.1.2
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 fromopen,closed, andsettledendpoints, 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
fetchMarketsandfetchEventswith exchange-specific implementation details and usage examples.
Installation
npm:
npm install pmxtjs@2.1.2PyPI:
pip install pmxt==2.1.2Links
Full Changelog: v2.1.1f...v2.1.2f
v2.1.1
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
fetchEventssearch to use the high-performance Gammapublic-searchendpoint with parallel pagination, significantly improving discovery for high-volume markets. - OpenAPI Specification: Updated
openapi.yamlto 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.tsscript for easy testing and verification of search performance and accuracy. - Improved Metadata: Updated
readme.mdwith 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.1PyPI:
pip install pmxt==2.1.1Links
Full Changelog: v2.1.0f...v2.1.1f
v2.1.0
Release 2.1.0
Installation
npm:
npm install pmxtjs@2.1.0PyPI:
pip install pmxt==2.1.0Links
This release was automatically generated from historical tags.
v2.0.11
Release 2.0.11
Installation
npm:
npm install pmxtjs@2.0.11PyPI:
pip install pmxt==2.0.11Links
This release was automatically generated from historical tags.
v2.0.10
Release 2.0.10
Installation
npm:
npm install pmxtjs@2.0.10PyPI:
pip install pmxt==2.0.10Links
This release was automatically generated from historical tags.
v2.0.9
Release 2.0.9
Installation
npm:
npm install pmxtjs@2.0.9PyPI:
pip install pmxt==2.0.9Links
This release was automatically generated from historical tags.
v2.0.8
Release 2.0.8
Installation
npm:
npm install pmxtjs@2.0.8PyPI:
pip install pmxt==2.0.8Links
This release was automatically generated from historical tags.