Skip to content

Commit

Permalink
remove: duplication of validate market name
Browse files Browse the repository at this point in the history
  • Loading branch information
Romazes committed May 2, 2024
1 parent cb28414 commit 7247504
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lean/commands/data/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,10 +615,7 @@ def download(ctx: Context,
QCResolution.get_all_members(),
"resolutions")
data_provider_support_markets = _get_download_specification_from_config(data_provider_config_json,
[market], "markets")
# take default market
if not data_provider_support_markets:
data_provider_support_markets = ["USA"]
["USA"], "markets")

security_type = _get_user_input_or_prompt(security_type, data_provider_support_security_types,
data_provider_historical, "Select a Ticker's security type")
Expand Down

0 comments on commit 7247504

Please sign in to comment.