Skip to content

CustomSymbolTradingHoliday.IsRecurring

property · CustomSymbolTradingHoliday · cAlgo.API Since 5.3

DesktopCLICloud

Gets a value indicating whether the trading holiday is recurring.

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 bool IsRecurring {get;}
customSymbolTradingHoliday.IsRecurring: bool

Returns bool

Examples

var holiday = new CustomSymbolTradingHoliday("Christmas", new DateTime(2025, 12, 25), new DateTime(2025, 12, 26), true);
Print("Repeats every year: {0}", holiday.IsRecurring);
from System import DateTime
holiday = CustomSymbolTradingHoliday("Christmas", DateTime(2025, 12, 25), DateTime(2025, 12, 26), True)
api.Print(f"Repeats every year: {holiday.IsRecurring}")