Skip to main content

PortfolioStreamConfig

@totemsdk/realtime


@totemsdk/realtime / PortfolioStreamConfig

Interface: PortfolioStreamConfig

Properties​

backend?​

optional backend?: PortfolioBackend

Optional custom backend. When set, all Axia HTTP/WS logic is bypassed. See PortfolioBackend for the interface.


baseUrl?​

optional baseUrl?: string

Axia API base URL. Required when using the default Axia backend. Omit when providing a custom backend.


httpPollInterval?​

optional httpPollInterval?: number


maxCacheAge?​

optional maxCacheAge?: number


projectId?​

optional projectId?: string

Axia project ID sent as x-api-key. Required for the default Axia backend. Omit when providing a custom backend.


reconnectDelays?​

optional reconnectDelays?: number[]


tokenRefreshBuffer?​

optional tokenRefreshBuffer?: number