---
id: "P:cAlgo.API.Internals.Algo.Ask"
kind: "property"
type: "T:cAlgo.API.Internals.Algo"
url: "https://help.ctrader.com/ctrader-algo/references/General/Algo/Ask/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# Algo.Ask

Member of [Algo](https://help.ctrader.com/ctrader-algo/references/General/Algo/index.md).

## Ask

Gets the symbol ask price.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public double Ask {get;}
```

Python:

```python
api.Ask: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
Print("Ask: {0}, spread: {1}", Ask, Ask - Bid);
```

Python:

```python
api.Print(f"Ask: {api.Ask}, spread: {api.Ask - api.Bid}")
```

