Skip to content

Symbol.UnrealizedGrossProfit

property · Symbol · cAlgo.API.Internals

DesktopCLICloud

Gets the sum of the unrealized Gross profits of the positions of this Symbol

Definition

double UnrealizedGrossProfit {get;}
api.Symbol.UnrealizedGrossProfit: float

Returns double

Examples

Print("Unrealized gross profit of {0} positions: {1}", SymbolName, Symbol.UnrealizedGrossProfit);
api.Print(f"Unrealized gross profit of {api.SymbolName} positions: {api.Symbol.UnrealizedGrossProfit}")