What is the longest history data for 1min frequency I can get using get_history()

Hello friends,

I'm using the python code below to retrieve 1min historical data, and got error.

data1 =ld.get_history(
universe=["EUR=","JPY=","AUD=","CAD=","GBP=","CHF=","NZD="],
fields=["BID", "ASK","MID_PRICE"],
interval="1min",
start="2020-01-01",
end="2025-01-01"
)

I guess it is because the time period is beyond the longest historical data I can get.

So may I know what is the longest history data for 1min frequency I can get using get_history()?

Thanks & Regards,

Dan

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @Dan_Li2025

    Thank you for reaching out to us.

    I found this in the Historical Pricing API document.

     The Intraday time series database only stores up to 1 year of history. The Commodities Curves database could store more than 1 year of history.