Skip to content

Limitless.watchPrices() is in core and Python SDK but missing from TypeScript SDK #473

@realfishsam

Description

@realfishsam

Gap

LimitlessExchange exposes watchPrices(marketAddress, callback) — a Limitless-specific WebSocket subscription that streams live price updates for a given market address. The method is implemented in the Python SDK but is entirely absent from the TypeScript SDK.

Core

File: core/src/exchanges/limitless/index.ts line 472

async watchPrices(marketAddress: string, callback: (data: any) => void): Promise<void>

Delegates to LimitlessWebSocket.watchPrices (core/src/exchanges/limitless/websocket.ts line 188). A dedicated example ships at core/examples/api-reference/exchange-specific/limitless-watchPrices.ts.

TypeScript SDK

Missing — sdks/typescript/pmxt/client.ts has no watchPrices method. The Limitless subclass defined near line 2442 of that file is a constructor-only extension of Exchange with no additional methods. Searching the entire sdks/typescript/ tree for watchPrices returns zero results.

Python SDK

Present — sdks/python/pmxt/client.py line 2119:

def watch_prices(self, market_address: str, callback: Optional[Any] = None) -> Any

Calls the sidecar's /watchPrices endpoint and is part of the Python SDK's public surface.

Evidence

grep -rn "watchPrices" sdks/typescript/ returns zero results. grep -n "watch_prices" sdks/python/pmxt/client.py returns line 2119. grep -n "watchPrices" core/src/exchanges/limitless/index.ts returns line 472. The example file core/examples/api-reference/exchange-specific/limitless-watchPrices.ts exists and documents the intended SDK usage pattern.

Impact

TypeScript SDK users building Limitless integrations cannot subscribe to live price streams for a market address. They must either use the Python SDK, call the sidecar's /watchPrices endpoint via raw HTTP/WebSocket, or use the lower-level callApi with no type safety. The Python SDK parity gap means TypeScript users have a materially reduced Limitless streaming experience compared to Python users.


Found by automated Core-to-SDK surface coverage audit

Metadata

Metadata

Assignees

No one assigned

    Labels

    core-sdk-gapCore engine capabilities not exposed in SDKs

    Type

    No type
    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