# quote-unstake (/docs/query/quote-unstake)

**Category:** Prices & swaps

## Parameters [#parameters]

| Parameter      | Type    | Description                         |
| -------------- | ------- | ----------------------------------- |
| `netuid`       | integer | Subnet to simulate unstaking from.  |
| `amount_alpha` | number  | Alpha amount to simulate unstaking. |

## CLI [#cli]

```bash
btcli query quote-unstake --netuid <integer> --amount-alpha <number> --json
```

## Python [#python]

Typed namespace method (autocomplete, signature help):

```python
import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.prices.quote_unstake(netuid=1, amount_alpha=1.0)
```

Or dispatch by name, as an agent would:

```python
result = await client.read("quote_unstake", netuid=1, amount_alpha=1.0)
```
