I'm trying to get historical mids for inflation swaps in Python. My current code is
ek.get_timeseries("GBRPIZ1Y=", start_date="2023-08-01", end_date="2023-08-04", interval='daily')
However, this gives bid values not mids.
Is there a way to get mids instead?
I can get them in Eikon Excel using
=RHistory("GBRPIZ1Y=","MID_PRICE.Timestamp;MID_PRICE.Close","START:01-aug-2023 END:04-Aug-2023 INTERVAL:1D",,"TSREPEAT:NO CH:Fd",I2)