MAINT: Removes unused currentValue method on Position object.

This method became unused when vectorizing position totals.
This commit is contained in:
Eddie Hebert
2013-03-26 22:33:19 -04:00
parent 736a4babf0
commit 41d3c72627
-3
View File
@@ -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}"