Skip to content

Commit

Permalink
#
Browse files Browse the repository at this point in the history
  • Loading branch information
yutiansut committed Jul 24, 2019
1 parent 6b9bc09 commit 7998853
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion QUANTAXIS/QAARP/QARisk.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ def __init__(
if self.account.market_type == MARKET_TYPE.FUTURE_CN and self.account.allow_margin == True:
print('margin!')
self._assets = (
self.account.daily_frozen +
#self.account.daily_frozen +
self.market_value.sum(axis=1) +
self.account.daily_cash.set_index('date').cash
).dropna()
else:
Expand Down

0 comments on commit 7998853

Please sign in to comment.