Skip to content

Conversation

@nme01
Copy link

@nme01 nme01 commented Oct 16, 2017

The value of self.equity is incremented by the position's P&L. In my opinion there is no need to calculate unrealised P&L once again, since there is already a field for that in the Position class. The field is updated on each Position.update_market_value() call.

@coveralls
Copy link

coveralls commented Oct 16, 2017

Coverage Status

Coverage remained the same at 57.143% when pulling 8265881 on nme01:master into dfa6693 on mhallsmoore:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants