Skip to content

Function: getWsKeyForProductGroup() ​

ts
function getWsKeyForProductGroup(market: "spot" | "usdm" | "coinm", topic: string): WsKey;

Used by the legacy subscribe* utility methods to determine which wsKey to route the subscription to.

Parameters ​

ParameterType
market"spot" | "usdm" | "coinm"
topicstring

Returns ​

WsKey

Built by Siebly. Open source SDKs for exchange APIs.