Error code -1|Timed out - We are experiencing this issue on European power spot day ahead auction...

... prices (i.e., ‚EHLDE01“ for Germany and for other markets and hours as well).

The last RICs requested was for Spain I believe, here are the RICs:

OMELES01

OMELES02

OMELES03

OMELES04

OMELES05

OMELES06

api-error.png


The start and end date for this instance was from 18/06/2023 to 03/07/2023.


What is odd in my case is that this code runs this query for multiple countries, always one at a time and for each hour of the day. As I have been checking the countries that get_history() has been successful within each code run and this number varied. Meaning that first I run the code, the error came after 3 countries have been queried (in for loop one country at the time), then the second time 5 countries were successful, then 2, and so on. Error was still the same just different amounts of countries were obtained.

I am using Refinitv.data library in python. I ran rd.open_session() with my Refinitiv Eikon app logged on and then rd.get_history() method as you can see.\


Thank you in advance.

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @jeremiemae.celajes

    It is a Refinitiv Data Library configuration file (refinitiv-data.config.json).

    To use it, please refer to the example on GitHub.

    You can also try to increase the timeout.

    {
        "http": {        
            "request-timeout": 60        
    },

      "logs": {
        "level": "debug",
        "transports": {
          "console": {
            "enabled": false
          },
          "file": {
            "enabled": true,
            "name": "refinitiv-data-lib.log"
          }
        }
      },
      "sessions": {
        "default": "desktop.workspace",
    ...

    Please make sure that you are using the latest version of Refinitiv Data Library (refinitiv-data 1.3.0).

Answers