API ReferenceNamespacesstrategyFunctionsopenProfitOn this pageFunction: openProfit() openProfit(): f64 Unrealized profit of the open position at the bar close. Returns f64