I am trying to connect to TM3 and download the MMD curve data using a python api, what is the best way to do this? What would be the data service to use? Thank you.
@bryan_wilson Thanks for your question - I think this data is available in Workspace via API (LSEG Data Library. - for desktop use cases) and also on the LSEG Data Platform (LSEG Data Library - for Feeds use cases). I checked on my Workspace and saw that an example of an mmd curve was available 0#MMDPABMK= : which is the MMD curve for PA - sadly I don't have permission for that third party content. But if I had permission then it would be very easy to download - here I am doing it for the EU Benchmark curve so you can see:
import lseg.data as ld from lseg.data.discovery import Chain
ld.open_session()
eubmk = Chain(name="0#EUBMK=")
print(eubmk.constituents)
ld.get_data(eubmk, ['RT_YIELD_1', 'SEC_YLD_1','PRIMACT_1','SEC_ACT_1'])
So the process will be exactly the same - you just need to request access to the third party content for your credentials. Let me know if this is ok for you. I hope this can help.