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

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

# BacktestingBar.Volume

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

## Volume

Volume Amount

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 long Volume {get; set;}
```

Python:

```python
backtestingBar.Volume: int
```

### Returns

`long` — 

Available since cAlgo.API 5.3.

