OptimizationDateOnlyParameter.Min
property · OptimizationDateOnlyParameter · cAlgo.API Since 5.9
DesktopCLICloud
Gets the inclusive minimum of the range.
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 DateOnly Min {get;}
optimizationDateOnlyParameter.Min: DateOnly
Returns DateOnly
Examples
var parameter = new OptimizationDateOnlyParameter("TradingStartDate", new DateOnly(2025, 1, 1), new DateOnly(2025, 3, 1), TimeSpan.FromDays(7));
Print("Range starts at {0}", parameter.Min);
from System import DateOnly, TimeSpan
parameter = OptimizationDateOnlyParameter("TradingStartDate", DateOnly(2025, 1, 1), DateOnly(2025, 3, 1), TimeSpan.FromDays(7))
api.Print(f"Range starts at {parameter.Min}")