---
id: "F:cAlgo.API.TimeFrame.Daily"
kind: "field"
type: "T:cAlgo.API.TimeFrame"
url: "https://help.ctrader.com/ctrader-algo/references/Period/TimeFrame/Daily/"
---

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

# TimeFrame.Daily

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

## Daily

Daily / D1

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public static TimeFrame Daily;
```

Python:

```python
TimeFrame.Daily: TimeFrame
```

### Returns

`TimeFrame` — 

### Examples

C#:

```csharp
var dailyBars = MarketData.GetBars(TimeFrame.Daily);
Print("Yesterday's high: {0}, low: {1}", dailyBars.HighPrices.Last(1), dailyBars.LowPrices.Last(1));
```

Python:

```python
dailyBars = api.MarketData.GetBars(TimeFrame.Daily)
api.Print(f"Yesterday's high: {dailyBars.HighPrices.Last(1)}, low: {dailyBars.LowPrices.Last(1)}")
```

