TicksSubscribe

TicksSubscribe - subscribe to receive events and hooks related to price database changes.

Example:

{"id": 11, "type":"TicksUnsubscribe", "body": {"symbol":"EURUSD.s,BTCUSD.s"}}

Request Body Fields:

Parameter
Required
Type
Description

symbol

string

comma separated string with a list of instruments for ticks feed subscriptions

interval

int

minimal inerval that should be aplied to send ticket, if a tick recieved early this interval after lasst received tick, it will be ignored (by default 50 ms, to 20 ticks per second)

Responce Type - TicksSubscribe.

Responce Body Fields:

Parameter
Always returned
Type
Description

symbol

string

comma separated string with a list of instruments within subscribed ticks feed

Example:

{"type": "TicksSubscribe", "id":11, "body": {"symbol": "EURUSD.s,BTCUSD.s"}}

If you want to see the example of usage - go here.

Last updated