bkrajendra / trader-dss

Automatically exported from code.google.com/p/trader-dss
0 stars 0 forks source link

chart shorts on a different portfolio report #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Shorts need to be charted on their own.

Original issue reported on code.google.com by peter.st...@1ab.ltd.uk on 4 Feb 2010 at 10:42

GoogleCodeExporter commented 9 years ago
No they don't. I'm not quite sure how, but it must be something like this...

value of a short = initial value of purchase + (qty * (buy price - current 
price))

short value = (buy price*abs(volume)) + (abs(volume) * (buy - close))

Original comment by peter.st...@1ab.ltd.uk on 13 Feb 2010 at 11:33

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r229.

Original comment by peter.st...@1ab.ltd.uk on 13 Feb 2010 at 3:31