---
id: "T:cAlgo.API.StandardSeriesType"
kind: "enum"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/Indicators/StandardSeriesType/"
---

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

# StandardSeriesType (enum)

An enumeration of the standard data series types of a bar.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public enum StandardSeriesType
```

Available since cAlgo.API 5.9.

## Examples

C#:

```csharp
using cAlgo.API;

namespace cAlgo;

public partial class Test : Indicator
{
    protected override void Initialize()
    {
        var openPrices = Bars.GetSeries(StandardSeriesType.Open);
        Print($"Last Open Price is: {openPrices.LastValue}");
    }

    public override void Calculate(int index)
    {
    }
}
```

Python:

```python
class Test():
    def initialize(self):
        openPrices = api.Bars.GetSeries(StandardSeriesType.Open)
        api.Print(f"Last Open Price is: {openPrices.LastValue}")
```

config.json:

```json
{
  "AccessRights": "None"
}
```

## Values

- `StandardSeriesType.Open` — Bar Open price.
- `StandardSeriesType.High` — Bar High price.
- `StandardSeriesType.Low` — Bar Low price.
- `StandardSeriesType.Close` — Bar close price.
- `StandardSeriesType.TickVolume` — Bar tick volume.
- `StandardSeriesType.Median` — Bar median price.
- `StandardSeriesType.Typical` — Bar typical price.
- `StandardSeriesType.Weighted` — Bar weighted price.
- `StandardSeriesType.Average` — Bar average price.

