@qtsurfer/sdk
    Preparing search index...

    Class LiveConnection

    A managed connection to one Live Execution signal channel.

    The official Centrifugo client handles reconnects, pings and token-refresh scheduling. This wrapper supplies fresh QTSurfer connection tokens and maps the QTSurfer channel and RPC contracts to typed SDK methods.

    Index
    • Stop reconnecting and close the WebSocket.

      Returns void

    • Read the signals retained on this subscribed channel, oldest first. Only sandbox signals are held (up to 300, until five minutes after the last sandbox signal). Subscribing and reconnecting do not replay them. A lost stream position rejects with Centrifugo error 112; retry without since, and use REST getLiveSignals() for anything no longer retained.

      Parameters

      Returns Promise<LiveSignalHistory>