Ozgay / truetrade

Automatically exported from code.google.com/p/truetrade
0 stars 0 forks source link

Total net profit calculated wrongly in TradeStats view #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Net profit is calculated using following formula:
stats.netProfit += ts.getRealizedPnL();
it should be:
stats.netProfit += ts.getRealizedNetPnL();

Original issue reported on code.google.com by kkazmier...@gmail.com on 21 Jan 2012 at 10:22

GoogleCodeExporter commented 8 years ago
Fixed in r156

Original comment by kkazmier...@gmail.com on 21 Jan 2012 at 10:28