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

Invalid argument for `lean cloud status` #468

Open AlexCatarino opened 1 week ago

AlexCatarino commented 1 week ago

I created a project on QC Cloud and deploy it, then I pulled the project from QC Cloud (so it has a projected).

I get Error: Invalid argument

GET https://www.quantconnect.com/api/v2/live/read with data:
{
    "start": 86400,
    "end": 1718889068
}

the parameters are incorrect or the endpoint. The endpoint should probably be /live/list, because if I replace it I get the correct results:

Project id: 18370084
Project name: Pensive Black Sheep
Project url: https://www.quantconnect.com/project/18370084
Live status: Running
Live id: L-027e845c413982f26ce492ce7021d5dd
Live url: https://www.quantconnect.com/project/18370084/live
Brokerage: PaperBrokerage
Launched: 2024-06-20 13:01:21 UTC