---
id: "P:cAlgo.API.Internals.Symbol.Spread"
kind: "property"
type: "T:cAlgo.API.Internals.Symbol"
url: "https://help.ctrader.com/ctrader-algo/references/MarketData/Symbols/Symbol/Spread/"
---

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

# Symbol.Spread

Member of [Symbol](https://help.ctrader.com/ctrader-algo/references/MarketData/Symbols/Symbol/index.md).

## Spread

Gets the current spread of this symbol.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double Spread {get;}
```

Python:

```python
api.Symbol.Spread: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
protected override void OnTick()
{
    Print("The Spread of the symbol is: {0}", Symbol.Spread);
}
```

Python:

```python
def on_tick(self):
    print(f"The Spread of the symbol is: {api.Symbol.Spread}")
```

