---
id: "P:cAlgo.API.Internals.IAccount.Margin"
kind: "property"
type: "T:cAlgo.API.Internals.IAccount"
url: "https://help.ctrader.com/ctrader-algo/references/Account/IAccount/Margin/"
---

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

# IAccount.Margin

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

## Margin

Represents the margin of the current account.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double Margin {get;}
```

Python:

```python
api.Account.Margin: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
Print("The margin of this account is: {0}", Account.Margin);
```

Python:

```python
api.Print(f"The margin of this account is: {api.Account.Margin}")
```

