Hi All - Just trying to get to get option adjusted spread for a security using an isin (just a sample of one below).
a) Is OAS history is available through dsws.Datastream() - ie the market_data_provider var below
b) If it is do whats the syntax to get it is it get time series, get_data - whats the data time
market_data_df = market_data_provider.get_data('AU3CB0282028', fields=['OAS'], start=f'{start_date}',end=f'{end_date}', kind=1)
If I cannot get the oas history from dsws above how can I get it - I need an api call.
Thanks,
Adam
start_date = "2020-01-01"
end_date = "2021-08-09"
market_data_provider = dsws.Datastream() #purposely excluding username/password
market_data_df = market_data_provider.get_data('AU3CB0282028', fields=['OAS'], start=f'{start_date}',end=f'{end_date}', kind=1)
market_data_df