PortfolioStreamConfig
@totemsdk/realtime / PortfolioStreamConfig
Interface: PortfolioStreamConfig
Properties
backend?
optionalbackend?:PortfolioBackend
Optional custom backend. When set, all Axia HTTP/WS logic is bypassed.
See PortfolioBackend for the interface.
baseUrl?
optionalbaseUrl?:string
Axia API base URL. Required when using the default Axia backend.
Omit when providing a custom backend.
httpPollInterval?
optionalhttpPollInterval?:number
maxCacheAge?
optionalmaxCacheAge?:number
projectId?
optionalprojectId?:string
Axia project ID sent as x-api-key. Required for the default Axia backend.
Omit when providing a custom backend.
reconnectDelays?
optionalreconnectDelays?:number[]
tokenRefreshBuffer?
optionaltokenRefreshBuffer?:number