QuantConnect / lean-cli

CLI for running the LEAN engine locally and in the cloud
https://www.lean.io/cli
Apache License 2.0
189 stars 101 forks source link

Error: 1 validation error for QCProject liveResults field required #435

Closed RyanRTJJ closed 3 months ago

RyanRTJJ commented 3 months ago

Hi team, I've been using lean for quite some time now with no problem, but now, after 2 weeks of not using it, and trying to do lean cloud backtest "Sample" --push --open as per normal (where "Sample" is the name of my strategy dir), I suddenly get this error:

Error: 1 validation error for QCProject
liveResults
  field required (type=value_error.missing)

I know that the field liveResults is missing from my config, but:

Thank you!

Martin-Molinero commented 3 months ago

Hey @RyanRTJJ! The field was removed some time ago already https://github.com/QuantConnect/lean-cli/pull/306/files. Please update your lean cli to the latest version to solve this issue pip install --upgrade lean 👍. If the issue persists please report back running the command with --verbose and sharing the complete output so we can debug it better