Symbol.UnrealizedNetProfit
property · Symbol · cAlgo.API.Internals
DesktopCLICloud
Gets the sum of the unrealized Net profits of the positions of this Symbol.
Definition
double UnrealizedNetProfit {get;}
api.Symbol.UnrealizedNetProfit: float
Returns double
Examples
Print("Unrealized net profit of {0} positions: {1}", SymbolName, Symbol.UnrealizedNetProfit);
api.Print(f"Unrealized net profit of {api.SymbolName} positions: {api.Symbol.UnrealizedNetProfit}")