mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 09:37:54 +08:00
ending values for portfolio, equity, and cash in cumulative were removed, because they are redundant to the same values in daily. Also removed starting cash, as it is unchanging and equal to the capital base.
This commit is contained in:
+2
-6
@@ -636,8 +636,8 @@ def PERF_FRAME(perf):
|
||||
'date' : EPOCH(date),
|
||||
'returns' : tp['returns'],
|
||||
'pnl' : tp['pnl'],
|
||||
'market_value' : cp['ending_value'],
|
||||
'portfolio_value' : cp['portfolio_value'],
|
||||
'market_value' : tp['ending_value'],
|
||||
'portfolio_value' : tp['portfolio_value'],
|
||||
'starting_cash' : tp['starting_cash'],
|
||||
'ending_cash' : tp['ending_cash'],
|
||||
'capital_used' : tp['capital_used']
|
||||
@@ -653,10 +653,6 @@ def PERF_FRAME(perf):
|
||||
'max_drawdown' : risk['max_drawdown'],
|
||||
'total_returns' : cp['returns'],
|
||||
'pnl' : cp['pnl'],
|
||||
'market_value' : cp['ending_value'],
|
||||
'portfolio_value' : cp['portfolio_value'],
|
||||
'starting_cash' : cp['starting_cash'],
|
||||
'ending_cash' : cp['ending_cash'],
|
||||
'capital_used' : cp['capital_used']
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user