Closed GitHubUser97 closed 3 months ago
Addressed here (https://github.com/QuantConnect/Lean.DataSource.CryptoCoarseFundamentalUniverse/pull/13)
ETA 30min - thank you for the report.
Thank you Jared. I've got an answer on discord. For anyone else encountering, I attach an example implementation vs old one. Also a working example by quantconnect team: https://github.com/QuantConnect/Lean.DataSource.CryptoCoarseFundamentalUniverse/blob/master/CryptoCoarseFundamentalUniverseSelectionAlgorithm.py
old:
uniSettings = UniverseSettings(Resolution.Hour, 1, True, False, timedelta(days=0))
self.AddUniverse(CryptoCoarseFundamentalUniverse(Market.Binance, uniSettings, self.CoarseSelectionFunction))
new:
uniSettings = UniverseSettings(Resolution.Hour, 1, True, False, timedelta(days=0))
self.UniverseSettings = uniSettings
self.AddUniverse(CryptoUniverse.Binance(self.CoarseSelectionFunction) ) ```
As in the title, lean cli forced an update on itself, then CryptoCoarseFundamentalUniverse stopped working. I get name 'CryptoCoarseFundamentalUniverse' is not defined now.