Skip to content

Probable market lookup by external ID (Polymarket/BSC) not implemented #1608

Description

@realfishsam

Gap

Probable's spec defines two convenience lookups for resolving a Probable market from an external identifier — a Polymarket market ID, or a raw BSC on-chain question ID — but neither is wired into core's market-fetching logic.

Core

  • core/src/exchanges/probable/api.ts:376-411GET /public/api/v1/markets/polymarket/{polymarketId} and GET /public/api/v1/markets/bsc/{bscQuestionId}.
  • core/src/exchanges/probable/fetcher.ts:274-318 (fetchRawMarketByIdOrSlug) — only handles numeric Probable IDs and slug/search lookups; confirmed via grep that neither polymarket/{id} nor bsc/{id} path is referenced anywhere in the probable directory.

TypeScript SDK

Missing — no corresponding lookup method on the Probable class in sdks/typescript/pmxt/client.ts.

Python SDK

Missing — no corresponding lookup method on the Probable class in sdks/python/pmxt/_exchanges.py.

Evidence

core/src/exchanges/probable/api.ts:376-411 defines both endpoints; core/src/exchanges/probable/fetcher.ts:274-318 is the only market-by-id resolution logic in the codebase, and it doesn't reference either path.

Impact

Users who have a Polymarket market ID or a raw BSC question ID cannot resolve the corresponding Probable market directly through pmxt — they would need to search/list markets and match manually instead of using the venue's dedicated cross-reference lookup.


Found by automated Core-to-SDK surface coverage audit

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions