Browse Source

feat(time-series): update expected result for ex4 question 3

pull/2315/head
nprimo 12 months ago committed by Niccolò Primo
parent
commit
b57ce9cc28
  1. 6
      subjects/ai/time-series/audit/README.md

6
subjects/ai/time-series/audit/README.md

@ -166,17 +166,19 @@ An example of solution is:
###### For question 3, is the Pnl computed as: signal \* futur_return? Both series should have the same index. ###### For question 3, is the Pnl computed as: signal \* futur_return? Both series should have the same index.
The below result are obtained considering the random strategy with the with `np.random.seed = 2712`
```console ```console
Date Date
1980-12-12 -0.052170 1980-12-12 -0.052170
1980-12-15 -0.073403 1980-12-15 -0.000000
1980-12-16 0.024750 1980-12-16 0.024750
1980-12-17 0.029000 1980-12-17 0.029000
1980-12-18 0.061024 1980-12-18 0.061024
... ...
2021-01-25 0.001679 2021-01-25 0.001679
2021-01-26 -0.007684 2021-01-26 -0.007684
2021-01-27 -0.034985 2021-01-27 -0.000000
2021-01-28 -0.037421 2021-01-28 -0.037421
2021-01-29 NaN 2021-01-29 NaN
Name: PnL, Length: 10119, dtype: float64 Name: PnL, Length: 10119, dtype: float64

Loading…
Cancel
Save