William Cheung

Is economic data available in tick environment only?

Programming


In backtesting, it seems economic data stream is only available in tick environment. 
Is it possible to use econ data for other time intervals? 

 
admin

Hi William, if you are interested in a particular time series, you can use API function "getHistoricalEconstat" (https://algogene.com/TechDoc#QueryHistoryEcon).

This API function is available in non-tick environment as well, which allows data query based on a given economic series ID.

The example below is trying to get an economic timeseries every quarter.


Code:

workflow

Console Result:

workflow

 
William Cheung
Original Posted by - b'admin':

Hi William, if you are interested in a particular time series, you can use API function "getHistoricalEconstat" (https://algogene.com/TechDoc#QueryHistoryEcon).

This API function is available in non-tick environment as well, which allows data query based on a given economic series ID.

The example below is trying to get an economic timeseries every quarter.


Code:

workflow

Console Result:

workflow

Thank you. 
I tested that "getHistoricalNews" is also availiable to query news data for non-tick environment. ^v^