TicksFilteredSubscribe

TicksFilteredSubscribe- subscription to receive prices for instruments filtered by time.

Example:

{"id": 11, "type":"TicksFilteredSubscribe", "body": {"symbol":["EURUSD.s”,”BTCUSD.s"], “override“: true}} 

Request Body Fields:

Parameter
Required
Type
Description

symbol

[]string

json array of strings with a list of instruments for ticks feed subscriptions that filltered by time according parameters from env variables

override

bool

an optional boolean flag to overried allready subscribed list of instrument with a newly provided, if the flag is not provided the symbols will be added to alrady subscribed instruments. Note: In case the flag set to true and symbol has an empty array the system will unsubscribe from all instruments

Response Type - TicksFilteredSubscribe.

Response Body Fields:

Parameter
Always returned
Type
Description

symbol

[]string

json array of strings with a list of instruments within subscribed filtered ticks feed

Example:

{"type": "TicksFilteredSubscribe", "id":11, "body": {"symbol": ["EURUSD.s","BTCUSD.s"]}}

Last updated