Skip to content

IAccount.Equity

property · IAccount · cAlgo.API.Internals

DesktopCLICloud

Represents the equity of the current account (balance minus Unrealized Net Loss plus Unrealized Net Profit plus Bonus).

Definition

double Equity {get;}
api.Account.Equity: float

Returns double

Examples

Print("The equity of this account is: {0}", Account.Equity);
api.Print(f"The equity of this account is: {api.Account.Equity}")