Skip to content

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1100717 committed Apr 25, 2017
1 parent c464042 commit 574156c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rqalpha/model/account/future_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def _settlement(self, event):
else:
position.apply_settlement()
self._total_cash = self._total_cash + (old_margin - self.margin) + old_daily_pnl
self._transaction_cost = 0

self._backward_trade_set.clear()

Expand Down

0 comments on commit 574156c

Please sign in to comment.