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

Use this to compute a safe `limit_price_rao` for the `add_stake_limit` intent.

**Category:** Prices & swaps

## Parameters [#parameters]

| Parameter    | Type    | Description                      |
| ------------ | ------- | -------------------------------- |
| `netuid`     | integer | Subnet to simulate staking into. |
| `amount_tao` | number  | TAO amount to simulate staking.  |

## CLI [#cli]

```bash
btcli query quote-stake --netuid <integer> --amount-tao <number> --json
```

## Python [#python]

```python
import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.read("quote_stake", netuid=1, amount_tao=1.0)
```
