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

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

# IAccount.Credit

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

## Credit

Gets the credit of the current account.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double Credit {get;}
```

Python:

```python
api.Account.Credit: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
Print("Credit: {0}, Balance: {1}", Account.Credit, Account.Balance);
```

Python:

```python
api.Print(f"Credit: {api.Account.Credit}, Balance: {api.Account.Balance}")
```

