Hi all

I'm using FRED data in my algorithm like so:

self.high_yield=self.add_data(Fred, Fred.ICEBofAML.US_HIGH_YIELD_MASTER_II_OPTION_ADJUSTED_SPREAD , Resolution.DAILY).symbol

and later on:

if data.ContainsKey(self.high_yield):
           self.high_yield_value = data[self.high_yield].Value

But I'm getting this error on Live trading:

Error downloading custom data source file, skipped: RemoteFile: UnfoldingCollection https://api.stlouisfed.org/fred/series/observations?file_type=json&observation_start=1998-01-01&api_key=&series_id=bamlh0a0hym2 Error: The reader was empty for source: $https://api.stlouisfed.org/fred/series/observations?file_type=json&observation_start=1998-01-01&api_key=&series_id=bamlh0a0hym2

Can someone please help/advise on how to use this data correctly for live trading? It works in back testing, just not live trading. I know there's an missing API key, what is the easiest way to supply that for live trading

appreciate your help

cheers

V