You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line causes an initial artificial drawdown the size of the maximum cumulative PL to happen at the start of drawdown series. I think this line can be removed without any consequences.
It is there to force the scale of the cumPL and Drawdowns panels to be the same. I think we put it in before there was a reliable ylim mechanism for panels in chart_Series. I think that with plot.xts we could probably do something smarter to evaluate ylim for the panels, though @rossb34 would know for sure.
blotter/R/chart.Posn.R
Line 67 in bc75cf5
This line causes an initial artificial drawdown the size of the maximum cumulative PL to happen at the start of drawdown series. I think this line can be removed without any consequences.
For an example of this, run the demo code
https://github.com/R-Finance/blotter/blob/master/demo/longtrend.R
up to line 117 where chart.Posn is called.
The text was updated successfully, but these errors were encountered: