Skip to main content

INFRONT.GETTICKDATA function

The INFRONT.GETSELECTION function allows to retrieve intraday tick-by-tick data for an instrument

Function syntax

VB
INFRONT.GETTICKDATA( <instrument identifier>, <datetime start>, <datetime end>, <options>)


Parameters

Instrument identifier

See GETFIELD function

Datetime start

The start date and time from the period for which you want the intraday data.  
Format should be <year>-<month>-<day>T<hour>:<minutes>:<seconds>  eg 2023-02-01T09:00:00

Datetime end

The start date and time from the period for which you want the intraday data.  
Format should be <year>-<month>-<day>T<hour>:<minutes>:<seconds>  eg 2023-02-01T09:00:00

Options

The options are supposed to be provided as JSON, however it seems you can only provide parameters as string from Excel and parse it as JSON. That means the quotes inside the JSON string have to be double quoted for valid JSON.

Example

CODE
=INFRONT.GETTICKDATA("DTR0CK.ETR", "2022-11-21T12:00:00", "2022-11-21T13:00:00", "{""intradayType"":""BID""}")

Optional parameter

Description

sorting

Sorting of the tick prices. Default is ASC (oldest prices first).

Possible values

  • ASC
  • DESC

Example

CODE
=INFRONT.GETTICKDATA("DTR0CK.ETR", "2022-11-21 12:00:00", "2022-11-21 13:00:00", "{""tickAggregation"":""5"", ""sorting"":""DESC""}")
convertTo

ISO currency code which indicates to which currency the value should be converted.  

Example

CODE
=INFRONT.GETTICKDATA("710000.ETR", "2022-12-08 10:00:00", "2022-12-08 10:05:00", "{""convertTo"":""JPY""}")
tickAggregation

The number of ticks to aggregate. Default is 0.

Possible values: 0, 5, 10, 20, 50, 100

Example

CODE
=INFRONT.GETTICKDATA("DTR0CK.ETR", "2022-11-21T12:00:00", "2022-11-21T13:00:00", "{""tickAggregation"":""5""}")
intradayType

Decide what price type you want to show.

Possible values

  • LAST
  • BID
  • ASK

Example

CODE
=INFRONT.GETTICKDATA("DTR0CK.ETR", "2022-11-21T12:00:00", "2022-11-21T13:00:00", "{""intradayType"":""BID""}")
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.