Logo

    TRACK_PRICES

    Description

    Provides streaming data containing the price of the specified currencies to the assigned stream data port (default: 8778)

    Important

    After sending the command to the assigned command port (default 8777), the streaming data will be sent to the incoming stream port (default 8778). You can use a secondary terminal (e.g. PuTTY Telnet port 8778) to receive streaming data.

    Example

    {"MSG": "TRACK_PRICES","SYMBOLS":["EURUSD","GBPUSD"]}

    Reply

    {
    "MSG": "TRACK_PRICES",
    "SUCCESS": [
    "EURUSD",
    "GBPUSD"
    ],
    "ERROR_ID": 0,
    "ERROR_DESCRIPTION": "The operation completed successfully"
    }

    Stream Data

    {
    "MSG": "TRACK_PRICES",
    "TIME": "2025.09.19 10:36:13",
    "SYMBOL": "EURUSD",
    "ASK": 1.17744,
    "BID": 1.17737,
    "TICK_VOLUME": 1,
    "VOLUME_REAL": 0,
    "FLAGS": 6
    }
    {
    "MSG": "TRACK_PRICES",
    "TIME": "2025.09.19 10:36:16",
    "SYMBOL": "GBPUSD",
    "ASK": 1.3509,
    "BID": 1.35086,
    "TICK_VOLUME": 2,
    "VOLUME_REAL": 0,
    "FLAGS": 6
    }
    {
    "MSG": "TRACK_PRICES",
    "TIME": "2025.09.19 10:36:16",
    "SYMBOL": "EURUSD",
    "ASK": 1.17741,
    "BID": 1.17734,
    "TICK_VOLUME": 3,
    "VOLUME_REAL": 0,
    "FLAGS": 6
    }
    {
    "MSG": "TRACK_PRICES",
    "TIME": "2025.09.19 10:36:16",
    "SYMBOL": "GBPUSD",
    "ASK": 1.35086,
    "BID": 1.35082,
    "TICK_VOLUME": 4,
    "VOLUME_REAL": 0,
    "FLAGS": 6
    }
    {
    "MSG": "TRACK_PRICES",
    "TIME": "2025.09.19 10:36:17",
    "SYMBOL": "EURUSD",
    "ASK": 1.17744,
    "BID": 1.17737,
    "TICK_VOLUME": 5,
    "VOLUME_REAL": 0,
    "FLAGS": 6
    }
    {
    "MSG": "TRACK_PRICES",
    "TIME": "2025.09.19 10:36:18",
    "SYMBOL": "EURUSD",
    "ASK": 1.17744,
    "BID": 1.17736,
    "TICK_VOLUME": 6,
    "VOLUME_REAL": 0,
    "FLAGS": 2
    }
    {
    "MSG": "TRACK_PRICES",
    "TIME": "2025.09.19 10:36:18",
    "SYMBOL": "EURUSD",
    "ASK": 1.17745,
    "BID": 1.17737,
    "TICK_VOLUME": 7,
    "VOLUME_REAL": 0,
    "FLAGS": 6
    }
    Stopping the stream

    Send a simple command without any parameters.

    To Stop the Stream

    {"MSG": "TRACK_MBOOK"}

    Reply

    {
    "MSG": "TRACK_PRICES",
    "SUCCESS": [],
    "ERROR_ID": 0,
    "ERROR_DESCRIPTION": "Price tracking stopped"
    }