strategy.netprofit

Closed P&L of all trades so far, net of commission, in dollars.

strategy.netprofit() -> float

Example

plot(strategy.netprofit, "Net profit")