Skip to content

Plugin.Server

property · Plugin · cAlgo.API

DesktopCLICloud

Server related information.

Environment behaviour

CLI — not supported. Plugins cannot run in the CLI: ctrader-cli runs cBots only.

Cloud — not supported. Plugins cannot run in the cloud: it runs cBots only.

Definition

public IServer Server {get;}
api.Server: IServer

Returns IServer

Examples

Print($"The server time is: {Server.Time}");
print(f"The server time is: {api.Server.Time}")