pmxt
pmxt copied to clipboard
CCXT for prediction markets. PMXT is a unified API for trading on Polymarket, Kalshi, and more.
## Summary - Add `wallet_address` and `signer` to the Python SDK `ExchangeOptions` TypedDict. - Aligns the Python public option type with the TypeScript `ExchangeOptions` fields for hosted wallet/signer flows. Fixes...
## Summary - Map hosted v0 order provenance and fill metadata into the TypeScript `Order` object. - Covers `filled_shares`, `fee_rate_bps`, `tx_hash`, `chain`, and `block_number`, with camelCase fallbacks for already-normalized payloads....
## Gap In core, `watchPrices`, `watchUserPositions`, and `watchUserTransactions` are implemented exclusively on `LimitlessExchange`. The Python SDK incorrectly adds all three methods to the base `Exchange` class, meaning every exchange subclass...
## Summary TypeScript `ExchangeOptions` defines `walletAddress` and `signer` as constructor options on the base `Exchange` class, making them uniformly available across all venue clients. The Python `ExchangeOptions` TypedDict in `models.py`...
## Gap The Kalshi API spec defines `AmendOrder` (`POST /portfolio/orders/{order_id}/amend`), which updates the max-fillable quantity and/or price of an existing resting order. `KalshiExchange` in core has no `amendOrder()` method, and...
## Gap The Limitless internal order client (`core/src/exchanges/limitless/client.ts:322`) implements `cancelAllOrders(marketSlug: string)` which cancels all of the authenticated user's open orders in a given market. This method is never exposed as...
## Gap The Polymarket CLOB API spec defines two bulk order-cancellation endpoints that are not implemented in `PolymarketExchange` (core) and have no wrapper in either SDK: - `DELETE /cancel-all` —...
## Gap The Myriad API spec defines `POST /markets/claim` which retrieves a trade claim and the transaction calldata needed to claim winnings for a resolved market. `MyriadExchange` in core has...
## Inconsistency `createOrder` takes a single `CreateOrderParams` object instead of CCXT's six positional arguments `(symbol, type, side, amount, price, params)`. ## Current (PMXT) `core/src/BaseExchange.ts`: ```typescript async createOrder(params: CreateOrderParams): Promise //...
## Inconsistency The `since` time-filter parameter is typed as `Date` in the TypeScript core but as `int` (Unix milliseconds) in the Python SDK. CCXT uses `Int` (Unix milliseconds) universally in...