Skip to content

CustomSymbolTradingHoliday.Name

property · CustomSymbolTradingHoliday · cAlgo.API Since 5.3

DesktopCLICloud

Gets the name of the trading holiday.

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 string Name {get;}
customSymbolTradingHoliday.Name: str

Returns string

Examples

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