Event info
Info
Some events require an active subscription.
Make sure you subscribe to the required channels before receiving event updates.
Subscription examples¶
Subscribe (merge with existing subscriptions)¶
This command adds the specified channels to the current subscription list
without removing existing ones.
{
"command": "Subscribe",
"extId": "vgvg556",
"data": {
"chanels": ["EURUSD", "BTCUSD"]
}
}
SubscribeSync (replace subscriptions)¶
Use this command if you want to subscribe only to the specified channels. All previously active subscriptions will be removed.
{
"command": "SubscribeSync",
"extId": "vgvg556",
"data": {
"chanels": ["EURUSD", "BTCUSD"]
}
}
Unsubscribe from specific channels¶
Removes the specified channels from the active subscriptions.
{
"command": "Unsubscribe",
"extId": "vgvg5776",
"data": {
"chanels": ["EURUSD"]
}
}
Unsubscribe from all channels¶
Stops receiving updates from all subscribed channels.
{
"command": "UnsubscribeAll",
"extId": "vgvg5776",
"data": {}
}