---
title: "lean cloud live liquidate"
description: "API reference for the command `lean cloud live liquidate` in command line console."
canonical: https://www.quantconnect.com/docs/v2/lean-cli/api-reference/lean-cloud-live-liquidate
markdown: https://www.quantconnect.com/docs/v2/lean-cli/api-reference/lean-cloud-live-liquidate.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/05%20Lean%20CLI/99%20API%20Reference/08%20lean%20cloud%20live%20liquidate
modified: 2026-11-01
index: https://www.quantconnect.com/llms.txt
---

# lean cloud live liquidate

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Lean CLI](https://www.quantconnect.com/docs/v2/lean-cli.md) > [API Reference](https://www.quantconnect.com/docs/v2/lean-cli/api-reference.md) > lean cloud live liquidate

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

## Introduction

Stops live trading and liquidates existing positions for a certain project.

```
$ lean cloud live liquidate [OPTIONS] PROJECT
```

To use the CLI, you must be a member in an [organization](https://www.quantconnect.com/docs/v2/cloud-platform/organizations/tier-features.md) on a paid tier.

## Description

Stops live trading for the given cloud project and liquidates all existing positions. The `<project>` argument accepts either the project name or its numeric ID.

If you only want to stop trading without liquidating positions, use [`lean cloud live stop`](https://www.quantconnect.com/docs/v2/lean-cli/api-reference/lean-cloud-live-stop.md) instead.

## Arguments

The `lean cloud live liquidate` command expects the following arguments:

| Argument | Description |
| --- | --- |
| `<project>` | The name or Id of the project to liquidate. |

## Options

The `lean cloud live liquidate` command supports the following options:

| Option | Description |
| --- | --- |
| `--verbose` | Enable debug logging |
| `--help` | Display the help text of the `lean cloud live liquidate` command and exit |
