Hi Team,

I cloned the code mentioned in Sector Rotation Based On News Sentiment by Derek Melchin - QuantConnect.com

but I cannot run it as it gives error.

to be precised it gives the following errors:
Build Error File: Main.cs Line:71 Column:41 - Cannot implicitly convert type 'System.Collections.Generic.List' to 'System.Collections.Generic.List'

7

 

|

2:25:48

:

Build Error File: Main.cs Line:111 Column:66 - Cannot implicitly convert type 'System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.IEnumerable'. An explicit conversion exists (are you missing a cast?)

those are the lines with error:

AddUniverse<BrainSentimentIndicatorUniverse>(

                "BrainSentimentIndicatorUniverse", Resolution.Daily,

                altCoarse =>

                {

                    _brainUniverseData = altCoarse.ToList();

                    return Enumerable.Empty<Symbol>();

                });

 

end:
 AddUniverse(Universe.ETF(etfSymbol, Market.USA, UniverseSettings,

                    constituents =>

                    {

                        _etfConstituentsDataBySymbol[etfSymbol] = constituents;

                        return Enumerable.Empty<Symbol>();

                    })

                );

 

could you check? I was expecting the code mentioned in the research sections to work