From 41d3c7262739a8fa5342199678735313e09a4250 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Tue, 26 Mar 2013 22:33:19 -0400 Subject: [PATCH] MAINT: Removes unused currentValue method on Position object. This method became unused when vectorizing position totals. --- zipline/finance/performance.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/zipline/finance/performance.py b/zipline/finance/performance.py index 3eb3355a..9fad92fc 100644 --- a/zipline/finance/performance.py +++ b/zipline/finance/performance.py @@ -410,9 +410,6 @@ class Position(object): self.cost_basis = total_cost / total_shares self.amount = self.amount + txn.amount - def currentValue(self): - return self.amount * self.last_sale_price - def __repr__(self): template = "sid: {sid}, amount: {amount}, cost_basis: {cost_basis}, \ last_sale_price: {last_sale_price}"