Historical bond yield and duration

Hi

How can i get historical bond yield and duration

Didn't find one under Data Item Browser.

Got those for excel from support

=RHistory("03785EAT1=","DURATION.Timestamp;DURATION.Value","START:01-Dec-2021 END:12-Dec-2021 CODE:ISIN INTERVAL:1D",,"TSREPEAT:NO CH:Fd")

=RHistory("03785EAT1=","BID_YIELD.Timestamp;BID_YIELD.Close","START:01-Dec-2021 END:12-Dec-2021 CODE:ISIN INTERVAL:1D",,"TSREPEAT:NO CH:Fd")

How can i get this data with python?

Thnaks

Best Answer