---
id: "P:cAlgo.API.MonteCarloSettings.StartingEquity"
kind: "property"
type: "T:cAlgo.API.MonteCarloSettings"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/Backtesting/MonteCarloSettings/StartingEquity/"
---

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

# MonteCarloSettings.StartingEquity

Member of [MonteCarloSettings](https://help.ctrader.com/ctrader-algo/references/Plugin/Backtesting/MonteCarloSettings/index.md).

## StartingEquity

Gets the starting equity used as the additive base for the simulated equity curves. When it is 0, the default, the initial balance of the backtest is used.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Available to plugins only, and plugins cannot run in the CLI.
- Cloud: Available to plugins only, and plugins cannot run in the cloud.

C#:

```csharp
public double StartingEquity {get; set;}
```

Python:

```python
monteCarloSettings.StartingEquity: float
```

### Returns

`double` — 

Available since cAlgo.API 5.10.

### Examples

C#:

```csharp
var monteCarlo = new MonteCarloSettings(MonteCarloMethod.Bootstrap, @"C:\Temp\montecarlo-result.json") { StartingEquity = 50000 };
Print("Monte Carlo starting equity: {0}", monteCarlo.StartingEquity);
```

Python:

```python
monteCarlo = MonteCarloSettings(MonteCarloMethod.Bootstrap, r"C:\Temp\montecarlo-result.json")
monteCarlo.StartingEquity = 50000
api.Print(f"Monte Carlo starting equity: {monteCarlo.StartingEquity}")
```

