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

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

# IAccount.TotalMarginCalculationType

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

## TotalMarginCalculationType

Type of total margin requirements per Symbol.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
TotalMarginCalculationType TotalMarginCalculationType {get;}
```

Python:

```python
api.Account.TotalMarginCalculationType: TotalMarginCalculationType
```

### Returns

`TotalMarginCalculationType` — 

### Examples

C#:

```csharp
Print("Total margin calculation type: {0}", Account.TotalMarginCalculationType);
```

Python:

```python
api.Print(f"Total margin calculation type: {api.Account.TotalMarginCalculationType}")
```

