In the current pnls returned from simulator and passed to evaluator are the sum of instruments in each day.
In the notation now, results.pnl[0] means the total pnl of first simulation day.
It would be changed into liked results.pnl[0]['USD'] means the pnl of USD in the first simulation day.
Thus, the line 58 in evaluator.py should be changed.
@hcshen916
In the current pnls returned from simulator and passed to evaluator are the sum of instruments in each day. In the notation now,
results.pnl[0]
means the total pnl of first simulation day. It would be changed into likedresults.pnl[0]['USD']
means the pnl of USD in the first simulation day.Thus, the line 58 in
evaluator.py
should be changed. @hcshen916