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

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

# Symbol.SwapLong

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

## SwapLong

Gets the SWAP charge for long positions of the symbol.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double SwapLong {get;}
```

Python:

```python
api.Symbol.SwapLong: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
Print("Swap long: {0} ({1})", Symbol.SwapLong, Symbol.SwapCalculationType);
```

Python:

```python
api.Print(f"Swap long: {api.Symbol.SwapLong} ({api.Symbol.SwapCalculationType})")
```

