---
id: "P:cAlgo.API.HistoricalOrder.FilledTime"
kind: "property"
type: "T:cAlgo.API.HistoricalOrder"
url: "https://help.ctrader.com/ctrader-algo/references/Trading/HistoricalOrders/HistoricalOrder/FilledTime/"
---

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

# HistoricalOrder.FilledTime

Member of [HistoricalOrder](https://help.ctrader.com/ctrader-algo/references/Trading/HistoricalOrders/HistoricalOrder/index.md).

## FilledTime

Order filled time.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
DateTime? FilledTime {get;}
```

Python:

```python
historicalOrder.FilledTime: DateTime | None
```

### Returns

`DateTime?` — 

Available since cAlgo.API 5.1.

### Examples

C#:

```csharp
var order = HistoricalOrders.FindLast("myLabel");
if (order != null && order.FilledTime.HasValue)
    Print("Order filled after {0}", order.FilledTime.Value - order.SubmittedTime);
```

Python:

```python
order = api.HistoricalOrders.FindLast("myLabel")
if order is not None and order.FilledTime is not None:
    api.Print(f"Order filled after {order.FilledTime - order.SubmittedTime}")
```

