---
id: "P:cAlgo.API.CustomSymbolTradingSession.StartTime"
kind: "property"
type: "T:cAlgo.API.CustomSymbolTradingSession"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/Symbol/Custom/CustomSymbolTradingSession/StartTime/"
---

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

# CustomSymbolTradingSession.StartTime

Member of [CustomSymbolTradingSession](https://help.ctrader.com/ctrader-algo/references/Plugin/Symbol/Custom/CustomSymbolTradingSession/index.md).

## StartTime

Time when trading session starts

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 TimeSpan StartTime {get;}
```

Python:

```python
customSymbolTradingSession.StartTime: TimeSpan
```

### Returns

`TimeSpan` — 

Available since cAlgo.API 5.3.

### Examples

C#:

```csharp
var session = new CustomSymbolTradingSession(DayOfWeek.Monday, DayOfWeek.Friday, TimeSpan.FromHours(8), TimeSpan.FromHours(17));
Print("Session opens at {0}", session.StartTime);
```

Python:

```python
from System import DayOfWeek, TimeSpan
session = CustomSymbolTradingSession(DayOfWeek.Monday, DayOfWeek.Friday, TimeSpan.FromHours(8), TimeSpan.FromHours(17))
api.Print(f"Session opens at {session.StartTime}")
```

