Skip to content

CustomSymbolFuturesSettings.LastTradeTime

property · CustomSymbolFuturesSettings · cAlgo.API Since 5.3

DesktopCLICloud

Gets the last trade time of future contract.

Environment behaviour

CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.

Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.

Definition

public DateTime LastTradeTime {get;}
customSymbolFuturesSettings.LastTradeTime: DateTime

Returns DateTime

Examples

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);
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}")