Skip to content

TypeScript SDK Limitless class missing watchPrices, watchUserPositions, watchUserTransactions #969

@realfishsam

Description

@realfishsam

Gap

LimitlessExchange in core exposes three Limitless-specific streaming methods that have no equivalent in the TypeScript SDK:

  • watchPrices(marketAddress: string, callback) — core limitless/index.ts:495
  • watchUserPositions(callback) — core limitless/index.ts:506
  • watchUserTransactions(callback) — core limitless/index.ts:518

Current state

Core (core/src/exchanges/limitless/index.ts:495–522): all three methods implemented and registered on LimitlessExchange.

TypeScript SDK (sdks/typescript/pmxt/client.ts:2618–2622): the Limitless class is a single-line subclass that only calls super("limitless", options). None of the three streaming methods are added.

// sdks/typescript/pmxt/client.ts:2618
export class Limitless extends Exchange {
    constructor(options: ExchangeOptions = {}) {
        super("limitless", options);
    }
    // watchPrices / watchUserPositions / watchUserTransactions — absent
}

Python SDK: watch_prices, watch_user_positions, watch_user_transactions are present, but incorrectly placed on the base Exchange class rather than a Limitless subclass — tracked separately in #862.

Expected behaviour

The TypeScript Limitless class should expose typed watchPrices, watchUserPositions, and watchUserTransactions methods that proxy to the corresponding sidecar endpoints at /api/limitless/watchPrices, /api/limitless/watchUserPositions, and /api/limitless/watchUserTransactions.

Impact

TypeScript SDK users cannot stream Limitless price feeds, user positions, or user transactions at all.

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