Hello,
yesterday shortly after 6 PM (CET) I've tried to fetch EURAB6E10Y= last availible values, on one hour interval (code below). Running it on codebook python kernell returned exact values from 6PM, while running it on Python installed in my computer it showed that last availible value is from 5PM.
How is it even possible that the same function, in almost the same time, returns different values?
The same happend few days ago (4.12), when I tried to fetch WIPLNOND= values for 3.12 6PM. In codebook i got 3.12 6PM value as output, but in my python 2.12 6PM. After that I dropped "end=cut_datetime" and "count=2" parameters to see what would happened, and finally value from 3.12 6PM appeared on my screen.
Could You help me to understand why this function is working differently in this two enviorments?
Maybe there is a better way to fetch ecah day last availible at 6PM data for this instruments?
cut_datetime = datetime.datetime(2021,12,6,16,0,1) # 16 is 6PM in my timezone rdp.get_historical_price_summaries("EURAB6E10Y=", rdp.Intervals.ONE_HOUR, end=cut_datetime, count=2, fields=["MID_PRICE"]).iloc[-1]