Skip to content

feat(predict): adds RTDS WebSocket connection for live crypto price streaming#28553

Draft
ghgoodreau wants to merge 1 commit intomainfrom
feat/rtds-websocket-crypto-prices
Draft

feat(predict): adds RTDS WebSocket connection for live crypto price streaming#28553
ghgoodreau wants to merge 1 commit intomainfrom
feat/rtds-websocket-crypto-prices

Conversation

@ghgoodreau
Copy link
Copy Markdown
Contributor

Add third WebSocket connection type to WebSocketManager for Polymarket's RTDS stream (wss://ws-live-data.polymarket.com).
Subscribes to crypto_prices topic with configurable symbol filters, sends heartbeat every 5s, throttles callbacks to ~60fps via buffer/flush, reconnects with exponential backoff, and pauses on app background.
Wired through provider and controller layers with a new useLiveCryptoPrices hook.

Description

Changelog

CHANGELOG entry:

Related issues

Fixes:

Manual testing steps

Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

…reaming

Add third WebSocket connection type to WebSocketManager for Polymarket's
RTDS stream (wss://ws-live-data.polymarket.com). Subscribes to
crypto_prices topic with configurable symbol filters, sends heartbeat
every 5s, throttles callbacks to ~60fps via buffer/flush, reconnects
with exponential backoff, and pauses on app background. Wired through
provider and controller layers with a new useLiveCryptoPrices hook.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot metamaskbot added the team-swaps-and-bridge Swaps and Bridge team label Apr 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

🔍 Smart E2E Test Selection

⏭️ Smart E2E selection skipped - draft PR

All E2E tests pre-selected.

View GitHub Actions results

@github-actions github-actions bot added the size-L label Apr 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

E2E Fixture Validation — Schema is up to date
15 value mismatches detected (expected — fixture represents an existing user).
View details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size-L team-swaps-and-bridge Swaps and Bridge team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants