CustomTimeFrame.Name
property · CustomTimeFrame · cAlgo.API Since 5.3
DesktopCLICloud
Gets Custom time frame unique name.
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
string Name {get;}
customTimeFrame.Name: str
Returns string
Examples
foreach (var customTimeFrame in TimeFrameManager.Custom)
Print("Custom time frame: {0}", customTimeFrame.Name);
for customTimeFrame in api.TimeFrameManager.Custom:
api.Print(f"Custom time frame: {customTimeFrame.Name}")