Unified prediction market data API, often called the ccxt for prediction markets. Provides a single interface to multiple prediction market exchanges. Current version: 2.48.6, release cadence: frequent (multiple releases per week).
pip install pmxtNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an exchange object for Polkamarkets and fetches ticker and order book data.
Refer to the pmxt documentation for supported methods per exchange (e.g., fetch_ticker, fetch_order_book).
Update imports to 'import pmxt' and use lowercase exchange IDs (e.g., 'polymarket' instead of 'Polymarket'). Replace old method names if necessary.
Set exchange.apiKey, exchange.secret, and possibly exchange.password after creating the exchange object.
Check the list of supported exchanges via pmxt.exchanges. Use the exact exchange ID (lowercase) as provided by the library.
Pass a valid market symbol string to fetch_ticker(), e.g., exchange.fetch_ticker('BTC/USD').Check internet connectivity; if behind a corporate firewall, configure proxy via exchange.proxy or environment variables.
No dependency data recorded yet.