I would like to collect certain firms outstanding bonds and get the average historical yield using python api.
For example Swedish publicly traded firms in real estate sector, get their bonds that are in principal currency SEK and margin over index as type. I would like to get all active and non-active bonds' average bid yield on weekly data