Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missed renaming of data-queue-handler #419

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lean/commands/live/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _get_configurable_modules_from_environment(lean_config: Dict[str, Any], envi
environment = lean_config["environments"][environment_name]
for key in ["live-mode-brokerage", "data-queue-handler"]:
if key not in environment:
raise MoreInfoError(f"The '{environment_name}' environment does not specify a {key}",
raise MoreInfoError(f"The '{environment_name}' environment does not specify a {'data-provider-live' if key == 'data-queue-handler' else key}",
"https://www.lean.io/docs/v2/lean-cli/live-trading/algorithm-control")

brokerage = environment["live-mode-brokerage"]
Expand Down Expand Up @@ -343,7 +343,7 @@ def deploy(project: Path,
lean_environment = lean_config["environments"][environment_name]
for key in ["live-mode-brokerage", "data-queue-handler"]:
if key not in lean_environment:
raise MoreInfoError(f"The '{environment_name}' environment does not specify a {key}",
raise MoreInfoError(f"The '{environment_name}' environment does not specify a {'data-provider-live' if key == 'data-queue-handler' else key}",
"https://www.lean.io/docs/v2/lean-cli/live-trading/algorithm-control")

brokerage = lean_environment["live-mode-brokerage"]
Expand Down
Loading