Skip to content

IAccount.IsLive

property · IAccount · cAlgo.API.Internals

DesktopCLICloud

Defines if the account is Live or Demo. True if the Account is Live, False if it is a Demo.

Definition

bool IsLive {get;}
api.Account.IsLive: bool

Returns bool

Examples

if (Account.IsLive)
    Print("Live Account");
else
    Print("Demo Account");
if api.Account.IsLive:
    api.Print("Live Account")
else:
    api.Print("Demo Account")