Get Historical Prices from Bond ISIN

Good morning. I have the ISIN of a bond, for example "XS2029623191", and I want to extract its historical price between two selected dates. I managed to do that on Excel with the following formula, but I am not able to do the same on Python.

RHistory("XS1380394806";"MID_PRICE.Timestamp;MID_PRICE.Close";"START:2021-01-15 END:2021-01-19 CODE:ISIN INTERVAL:1D";;"TSREPEAT:NO CH:Fd";S5)

I tried to get the RIC (which is, in this case, 'IT202962319=') and I followed the example shown in this thread: https://community.developers.refinitiv.com/questions/57879/bond-yields-and-duration.html. However, this is not working.

Thank you very much for your help!

Best Answer

Answers