Hi, Using the LEAN CLI and a local environment, here it discusses using QCC to purchase data: https://www.quantconnect.com/docs/v2/lean-cli/datasets/costs  

My understand is to use it i just need to either set:

"data-provider": "QuantConnect"or use the --download-data flag. However I get this error when I do that:

20221030 00:12:28.159 ERROR:: Engine.Run(): During the algorithm initialization, the following exception has occurred: ApiDataProvider(): Must be subscribed to map and factor files
to use the ApiDataProvider to download Equity data from QuantConnect. Please visit https://www.quantconnect.com/datasets/quantconnect-security-master for details. in ApiDataProvider.cs:line 
204 ApiDataProvider(): Must be subscribed to map and factor files to use the ApiDataProvider to download Equity data from QuantConnect. Please visit 
https://www.quantconnect.com/datasets/quantconnect-security-master for details.

 

When I change the “data-provider” to "data-provider": "QuantConnect.Lean.Engine.DataFeeds.ApiDataProvider"as described here: https://www.quantconnect.com/tutorials/open-source/using-the-api-file-provider  

I get the same error.

Is it still possible to use QCC to purchase data?

Author