Fetching Intraday Data

How can I fetch the intraday data (say, 1 hour or 1 minute) for a given RIC (ex- '1SN4^1'). I tried the below code snippet, but it appears to be incorrect. Please help me figure out this issue.

req = ek.get_timeseries(["1SN4^1"], start_date="2013-04-17T00:00:00", end_date="2014-07-10T00:00:00", interval="minute")

Best Answer

  • aramyan.h
    Answer ✓

    Hi @chirag.arora ,


    Your code looks correct, however please note that Eikon Data API provides intraday (eg minute) data back to 1 year.


    Best regards,

    Haykaz

Answers

  • Okay. Is there's any way to fetch the historical intraday data apart from using Eikon Data API?
    I want the data according to the below code snippet.

    req = ek.get_timeseries(["1SN4^1"], start_date="2014-01-01T00:00:00", end_date="2014-04-15T00:00:00", interval="minute")


  • Hi @chirag.arora ,


    You could use LSEG Tick History API, particularly on Demand Intraday bars which is a different API proposition. You can check the details with your account manager.


    Best regards,

    Haykaz