Skip to content

Commit

Permalink
fix:bug: if provider has more than 2 download providers
Browse files Browse the repository at this point in the history
  • Loading branch information
Romazes committed Apr 18, 2024
1 parent 7d17631 commit ba050bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lean/commands/data/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def download(ctx: Context,
run_options["working_dir"] = downloader_data_provider_path_dll

dll_arguments = ["dotnet", "QuantConnect.Lean.DownloaderDataProvider.dll",
"--data-provider", data_provider.get_config_value_from_name(MODULE_DATA_DOWNLOADER),
"--data-provider", data_provider.get_settings()[MODULE_DATA_DOWNLOADER],
"--destination-dir", DATA_FOLDER_PATH,
"--data-type", data_type,
"--start-date", start_date.value.strftime("%Y%m%d"),
Expand Down

0 comments on commit ba050bf

Please sign in to comment.