---
id: "P:cAlgo.API.RobotAttribute.DefaultTimeFrame"
kind: "property"
type: "T:cAlgo.API.RobotAttribute"
url: "https://help.ctrader.com/ctrader-algo/references/Attributes/RobotAttribute/DefaultTimeFrame/"
---

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

# RobotAttribute.DefaultTimeFrame

Member of [RobotAttribute](https://help.ctrader.com/ctrader-algo/references/Attributes/RobotAttribute/index.md).

## DefaultTimeFrame

Not used. cTrader applies no default time frame to a cBot: a new instance runs on the time frame of the chart it is added to, which the cBot reads from TimeFrame.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public string DefaultTimeFrame {get; set;}
```

Python:

```python
robotAttribute.DefaultTimeFrame: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
protected override void OnStart()
{
    Print("Instance time frame: {0}", TimeFrame);
}
```

Python:

```python
def on_start(self):
    api.Print(f"Instance time frame: {api.TimeFrame}")
```

