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

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

# BacktestingProgressChangedEventArgs.Process

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

## Process

Gets the backtesting process that reported progress.

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 BacktestingProcess Process {get;}
```

Python:

```python
backtestingProgressChangedEventArgs.Process: BacktestingProcess
```

### Returns

`BacktestingProcess` — 

### Examples

C#:

```csharp
protected override void OnStart()
{
    Backtesting.ProgressChanged += OnBacktestingProgressChanged;
}

private void OnBacktestingProgressChanged(BacktestingProgressChangedEventArgs args)
{
    if (args.Progress > 50 && !args.Process.IsCompleted)
        Print("Backtesting is more than half done");
}
```

Python:

```python
def on_start(self):
    api.Backtesting.ProgressChanged += self.on_backtesting_progress_changed

def on_backtesting_progress_changed(self, args):
    if args.Progress > 50 and not args.Process.IsCompleted:
        api.Print("Backtesting is more than half done")
```

