OptionalauthOptionalackTimeoutMs?: numberOptionalrequireAck?: booleanRequire a positive acknowledgement (default true). Set false only for a proxy build known to answer nothing: the connection then counts as authenticated on transport open, and one AUTH_UNACKNOWLEDGED warning is raised per connection so the missing guarantee is visible rather than silently assumed.
OptionaldepthDefault book depth for subscribeDepth, broker-dependent (5/20/30/50).
Omitted leaves it to the broker, which is what this feed always did.
A per-call opts.depthLevel overrides it.
OptionalfetchInjectable fetch (defaults to global fetch); lets the adapter be tested offline.
Optionalinit: RequestInitOptionalheartbeatOptionalreconnectSocket policy, passed straight to OpenAlgoWsFeed. Present because the
handshake gate, the liveness watchdog and the backoff all have escape
hatches that were otherwise unreachable through this composed feed: a proxy
build that answers nothing needs auth: { requireAck: false }, and a host
with no way to say so would just see a chart that never receives a tick.
OptionalbaseDelayMs?: numberOptionalenabled?: booleanOptionaljitter?: booleanFull jitter on each delay (default true). Off gives the old lockstep timing.
OptionalmaxAttempts?: numberOptionalmaxDelayMs?: numberOptionalrandom?: () => numberInjectable [0,1) source, so a test pins the delay instead of guessing it.
OptionalsocketInject a custom socket (tests, React Native, non-browser runtimes).
OptionaltimezoneZone calendar intervals bucket in (default IST). Should be the chart's configured timezone: a monthly bar opens at local midnight on the first, and that instant differs by exchange.
OptionalvolumeVolume accounting for the live candle builder (default 'ltq-sum').
'day-delta' also selects the wire mode: a cumulative day volume only exists on the Quote stream, so this feed subscribes Quote rather than LTP for it.
WS proxy URL, e.g. ws://127.0.0.1:8765.
Wait for the acknowledgement this long before failing the connection (default 5000).