mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-16 11:18:11 +08:00
MAINT: deleted duplicate attribute in Portfolio
Deleted duplicate of Portfolio.portfolio_value in zipline.protocol. It was defined on line 75 and line 82.
This commit is contained in:
committed by
Eddie Hebert
parent
2976a0dc5f
commit
c045f3a868
@@ -79,7 +79,6 @@ class Portfolio(object):
|
||||
self.positions = Positions()
|
||||
self.start_date = None
|
||||
self.positions_value = 0.0
|
||||
self.portfolio_value = 0.0
|
||||
|
||||
def __getitem__(self, key):
|
||||
return self.__dict__[key]
|
||||
|
||||
Reference in New Issue
Block a user