Interface IDEXPositionEvent

When the positions subscription provides an update

interface IDEXPositionEvent {
    type: "positions";
    data: IDEXPositionEventData;
}

Hierarchy (view full)

Properties

Properties

type: "positions"

The type property is used to determine the shape of the data property of the update event.

  • Subscription update events will match IDEXSubscriptionEventBase with the subscription name as the value for the type property.
  • Otherwise the type will be:
    • subscriptions if you requested a list of all current subscriptions
    • error if your request resulted in a server error