Default: true Attach default event listeners, which will console log any high level events (opened/reconnecting/reconnected/etc). If you disable this, you should set your own event listeners on the embedded WS Client wsApiClient.getWSClient().on(....).
keepMarginListenTokenRefreshed
boolean
Default: true If true, the SDK will proactively refresh the margin listen token before it expires, to help ensure a more seamless experience for users who want to maintain a continuous user data stream connection in margin mode.
muteLatencyWarning
boolean
Default: false If true, suppress the latency warning when using HMAC/RSA keys, which require per-request signing and therefore may have higher latency than Ed25519 keys. This warning is only relevant if you are making WS API requests, and not relevant if you are only using the user data stream. If you are latency sensitive, consider using Ed25519 keys instead. For more information refer to the readme.
resubscribeUserDataStreamAfterReconnect
boolean
Default: true If requestSubscribeUserDataStream() was used, automatically resubscribe if reconnected
resubscribeUserDataStreamDelaySeconds
number
Default: 2 seconds Delay automatic userdata resubscribe by x seconds.