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

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

# Symbol.SwapShort

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

## SwapShort

Gets the SWAP charge for short positions of the symbol.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double SwapShort {get;}
```

Python:

```python
api.Symbol.SwapShort: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var cheaperSide = Symbol.SwapLong > Symbol.SwapShort ? TradeType.Buy : TradeType.Sell;
Print("Swap short: {0}, side with the better swap: {1}", Symbol.SwapShort, cheaperSide);
```

Python:

```python
cheaperSide = TradeType.Buy if api.Symbol.SwapLong > api.Symbol.SwapShort else TradeType.Sell
api.Print(f"Swap short: {api.Symbol.SwapShort}, side with the better swap: {cheaperSide}")
```

