Hi,

I gave the following command:

  1. lean data generate --start=20100101 --symbol-count=1

and got the error that follows:

  1. Symbol[1]: KYQ 2T Progress: 100.0% - Symbol data generation and output completed
  2. Random data generation has completed.
  3. Launching coarse data generator...
  4. 20210702 18:03:06.133 TRACE:: Config.Get(): Configuration key not found. Key: reserved-words-prefix - Using default
  5. value: quantconnect-
  6. 20210702 18:03:06.202 TRACE:: CoarseUniverseGeneratorProgram.ProcessDailyFolder(): Processing:
  7. /Lean/Data/equity/usa/daily
  8. Unhandled exception. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
  9. (Parameter 'MaxDegreeOfParallelism')
  10. at System.Threading.Tasks.ParallelOptions.set_MaxDegreeOfParallelism(Int32 value)
  11. at QuantConnect.ToolBox.CoarseUniverseGenerator.CoarseUniverseGeneratorProgram.Run() in /LeanCloud/CI.Builder/bin/De
  12. bug/src/QuantConnect/Lean/ToolBox/CoarseUniverseGenerator/CoarseUniverseGeneratorProgram.cs:line 134
  13. at QuantConnect.ToolBox.CoarseUniverseGenerator.CoarseUniverseGeneratorProgram.CoarseUniverseGenerator() in /LeanClo
  14. ud/CI.Builder/bin/Debug/src/QuantConnect/Lean/ToolBox/CoarseUniverseGenerator/CoarseUniverseGeneratorProgram.cs:line 65
  15. at QuantConnect.ToolBox.RandomDataGenerator.RandomDataGeneratorProgram.RandomDataGenerator(String startDateString,
  16. String endDateString, String symbolCountString, String market, String securityTypeString, String resolutionString,
  17. String dataDensityString, String includeCoarseString, String quoteTradeRatioString, String randomSeed, String
  18. hasIpoPercentageString, String hasRenamePercentageString, String hasSplitsPercentageString, String
  19. hasDividendsPercentageString, String dividendEveryQuarterPercentageString) in
  20. /LeanCloud/CI.Builder/bin/Debug/src/QuantConnect/Lean/ToolBox/RandomDataGenerator/RandomDataGeneratorProgram.cs:line 66
  21. at QuantConnect.ToolBox.Program.Main(String[] args) in
  22. /LeanCloud/CI.Builder/bin/Debug/src/QuantConnect/Lean/ToolBox/Program.cs:line 266
  23. Error: Something went wrong while running the random data generator, see the logs above for more information
+ Expand

The data seems to be correctly generated, but I wonder what is the meaning of this error.

Any idea?

Thanks!

Author

Giuseppe Mazza

July 2021