Skip to content

Function: getWsKeyForMarket() ​

ts
function getWsKeyForMarket(
   market: APIMarket, 
   isPrivate: boolean, 
   isBusinessChannel: boolean
): WsKey;

Returns wsKey for product group. Demo resolution is handled in URL lookup function, separately.

Parameters ​

ParameterType
marketAPIMarket
isPrivateboolean
isBusinessChannelboolean

Returns ​

WsKey

Built by Siebly. Open source SDKs for exchange APIs.