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

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

# CustomSymbolFuturesSettings.LastTradeTime

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

## LastTradeTime

Gets the last trade time of future contract.

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 DateTime LastTradeTime {get;}
```

Python:

```python
customSymbolFuturesSettings.LastTradeTime: DateTime
```

### Returns

`DateTime` — 

Available since cAlgo.API 5.3.

### Examples

C#:

```csharp
var futuresSettings = new CustomSymbolFuturesSettings(new DateTime(2025, 12, 19, 20, 0, 0), new DateTime(2025, 12, 22), 500);
Print("Last trade time: {0}", futuresSettings.LastTradeTime);
```

Python:

```python
from System import DateTime
futuresSettings = CustomSymbolFuturesSettings(DateTime(2025, 12, 19, 20, 0, 0), DateTime(2025, 12, 22), 500)
api.Print(f"Last trade time: {futuresSettings.LastTradeTime}")
```

