GetTickHistory

GetTickHistory - getting quotes by a symbol in the specified time range.

Request Body Fields:

Parameter
Required
Type
Description

symbol

string

the name of the symbol to get quotes for

from

u_int64

starting date of the request for quotes. Shown in the number of ms since 01/01/1970

to

u_int64

end date for the request for quotes. Shown in the number of ms since 01/01/1970

Responce Type - TicksHistory

Responce Body Fields:

Parameter
Always returned
Type
Description

symbol

string

name of symbols

time

unit32

unix time in ms of the tick

ask

float

ask price of the tick

bid

float

bid proces of the tick

Example:

{
    "type": "TicksHistory",
    "id": 11,
    "body": [
        {
            "symbol": "EURUSD.s",
            "time": 1687441358031,
            "ask": 1.09781,
            "bid": 1.09781
        },
        {
            "symbol": "EURUSD.s",
            "time": 1687441358133,
            "ask": 1.09783,
            "bid": 1.09783
        },
        {
            "symbol": "EURUSD.s",
            "time": 1687441358243,
            "ask": 1.09783,
            "bid": 1.09783
        },
        {
            "symbol": "EURUSD.s",
            "time": 1687441358535,
            "ask": 1.09783,
            "bid": 1.09783
        },
        {
            "symbol": "EURUSD.s",
            "time": 1687441358645,
            "ask": 1.09783,
            "bid": 1.09783
        },
        {
            "symbol": "EURUSD.s",
            "time": 1687441358929,
            "ask": 1.09783,
            "bid": 1.09783
        }
    ]

Last updated