Skip to content

Spec drift: gemini-titan — new positions@account@1s WebSocket stream not handled #532

@realfishsam

Description

@realfishsam

Summary

Gemini Titan added a new WebSocket subscription stream positions@account@1s that pushes real-time position updates at 1-second intervals. The PMXT Gemini Titan WebSocket handler does not subscribe to or process this stream.

Impact

MEDIUM — PMXT cannot receive real-time position updates from Gemini Titan via WebSocket. Position state must be polled via REST instead, introducing latency.

Details

  • Stream name: positions@account@1s
  • Authentication required: yes (account-level stream)
  • Message format: array of position objects with symbol, size, entryPrice, markPrice, unrealizedPnl, liquidationPrice
  • Current Gemini Titan WebSocket handler: core/src/exchanges/gemini-titan/websocket.ts — does not subscribe to this stream
  • Update frequency: once per second per subscribed symbol set

Required Fix

  1. Add subscription logic for positions@account@1s in the Gemini Titan WebSocket handler
  2. Parse incoming position messages and map them to PMXT's unified position schema
  3. Wire up the stream so position state is updated in real-time rather than requiring REST polling

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec-driftCached OpenAPI spec out of date vs venue's live docs

    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