question

Upvotes
Accepted
1 0 0 1

TRTH Python API- Adding "wait" mechanism to the process

Is there a way to introduce datacheck to the code where the script keeps on trying until all symbols are made available?


I am trying to fetch T+1 futures historical data for different ric roots coming from different exchange. Can we run the python API provided, in such a way that it downloads data as soon as it is made available.
For instance , to get Asian market's data earlier(since they are ahead in time) and later for US by a single process run?

pythontick-history-rest-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
17.2k 47 13 19

The data is subject to embargo period wait. If you post a request where some of the instruments are in embargo, then the result (Wait or Partial delivery) will depend on your preference settings.

See these questions for more information:

https://community.developers.refinitiv.com/questions/34083/at-what-time-datascope-has-intraday-data-available.html

https://community.developers.refinitiv.com/questions/10260/dss-webinar-dec-7-christaan-metioned-embargo-handl.html

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.