Skip to content

Robot.Stop

method · Robot · cAlgo.API

DesktopCLICloud

Stops the cBot. cBot will be completely stopped and will not send/receive any signals.

Definition

public void Stop()
api.Stop() -> None

Examples

if (Account.Balance < 1000)
{
    Print("Balance is below 1000, stopping the cBot");
    Stop();
}
if api.Account.Balance < 1000:
    api.Print("Balance is below 1000, stopping the cBot")
    api.Stop()