Skip to content

Interface: WsTopicRequest<TWSTopic extends string = string, TWSPayload = any> ​

Normalised internal format for a request (subscribe/unsubscribe/etc) on a topic, with optional parameters.

  • Topic: the topic this event is for
  • Payload: the parameters to include, optional. E.g. auth requires key + sign. Some topics allow configurable parameters.

Type Parameters ​

Type ParameterDefault type
TWSTopic extends stringstring
TWSPayloadany

Properties ​

PropertyType
payload?TWSPayload
topicTWSTopic

Built by Siebly. Open source SDKs for exchange APIs.