dynamic optimisation sensitivity to start_date #530
-
Hello, [nav] In [22]: index = -4
...: print(c[index].config().start_date)
...: c[index].positions(10)
2015-1-19
Out[22]:
BBCOMM BITCOIN CORN DOW EUROSTX GASOILINE GOLD_micro IRON RUSSELL SP500_micro V2X VIX VNKI
2022-01-19 2 -1 1 1 1.0 1 0.0 1 0.0 1.0 -1 -1 -2
2022-01-20 2 -1 1 1 1.0 1 0.0 1 0.0 1.0 -1 -1 -2
2022-01-21 2 -1 1 1 0.0 1 1.0 1 -1.0 0.0 -1 -1 -2
2022-01-24 2 -1 1 1 0.0 1 1.0 1 -1.0 0.0 -1 -1 -2
2022-01-25 2 -1 1 1 0.0 1 1.0 1 -1.0 0.0 -1 -1 -2
2022-01-26 2 -1 1 1 0.0 1 1.0 1 -1.0 0.0 -1 -1 -2
2022-01-27 2 -1 1 1 0.0 1 1.0 1 -1.0 0.0 -1 -1 -2
2022-01-28 2 -1 1 1 0.0 1 1.0 1 -1.0 0.0 -1 -1 -2
2022-01-31 2 -1 1 1 0.0 1 1.0 1 -1.0 0.0 -1 -1 -2
2022-02-01 2 -1 1 1 0.0 1 1.0 1 -1.0 0.0 -1 -1 -2
[nav] In [23]: index = -2
...: print(c[index].config().start_date)
...: c[index].positions(10
...:
...:
...: )
2010-1-19
Out[23]:
BBCOMM BITCOIN CORN DOW EDOLLAR EUROSTX GOLD_micro HEATOIL IRON SP500_micro V2X VIX VNKI
2022-01-19 3 -1 1 2 1 1.0 1.0 1 1 1.0 -2 -1 -3
2022-01-20 3 -1 1 2 1 1.0 1.0 1 1 1.0 -2 -1 -3
2022-01-21 3 -1 1 2 1 1.0 1.0 1 1 1.0 -2 -1 -3
2022-01-24 3 -1 1 2 1 1.0 1.0 1 1 1.0 -2 -1 -3
2022-01-25 3 -1 1 2 1 1.0 1.0 1 1 1.0 -2 -1 -3
2022-01-26 3 -1 1 2 1 1.0 1.0 1 1 1.0 -2 -1 -3
2022-01-27 4 -1 1 1 1 0.0 0.0 1 1 0.0 -2 -1 -3
2022-01-28 4 -1 1 1 1 0.0 0.0 1 1 0.0 -2 -1 -3
2022-01-31 4 -1 1 1 1 0.0 0.0 1 1 0.0 -2 -1 -3
2022-02-01 4 -1 1 1 1 0.0 0.0 1 1 0.0 -2 -1 -3
[nav] In [24]: index = -1
...: print(c[index].config().start_date)
...: c[index].positions(10
...:
...:
...: )
2005-1-19
Out[24]:
BBCOMM BITCOIN CORN CRUDE_W_mini DAX DOW EDOLLAR EUROSTX GOLD_micro IRON KOSDAQ MXP RUSSELL SP500_micro V2X VIX VNKI
2022-01-19 4 0.0 1 1 1.0 3 1 1 0.0 1 0.0 1 1.0 2.0 -1 -1 -1
2022-01-20 4 0.0 1 1 1.0 3 1 1 0.0 1 0.0 1 0.0 2.0 -1 -1 -1
2022-01-21 5 0.0 1 1 1.0 3 1 1 0.0 1 0.0 1 0.0 1.0 -1 -1 -1
2022-01-24 5 0.0 1 1 1.0 3 1 1 0.0 1 0.0 1 0.0 1.0 -1 -1 -1
2022-01-25 5 0.0 1 1 1.0 2 1 1 0.0 1 0.0 1 0.0 1.0 -1 -1 -1
2022-01-26 5 0.0 1 1 1.0 1 1 1 0.0 1 0.0 1 0.0 1.0 -1 -1 -1
2022-01-27 5 0.0 1 1 1.0 1 1 1 0.0 1 0.0 1 0.0 1.0 -1 -1 -1
2022-01-28 5 0.0 1 1 1.0 1 1 1 0.0 1 0.0 1 0.0 1.0 -1 -1 -1
2022-01-31 6 0.0 1 1 1.0 1 1 1 0.0 1 0.0 1 0.0 1.0 -1 -1 -1
2022-02-01 5 -1.0 1 1 0.0 1 1 1 -1.0 2 -1.0 1 0.0 0.0 -1 -1 -2
[nav] In [25]: index = -3
...: print(c[index].config().start_date)
...: c[index].positions(10
...:
...:
...: )
2000-1-19
Out[25]:
BBCOMM BITCOIN CAD CORN CRUDE_W_mini DAX DOW EDOLLAR EUROSTX IRON MXP NIKKEI SP500_micro V2X VIX VNKI
2022-01-19 4 0.0 1 1 1 1.0 3 1 1 1 0.0 1.0 1.0 -1 -1 -2
2022-01-20 4 0.0 1 1 1 1.0 3 1 1 1 0.0 1.0 1.0 -1 -1 -2
2022-01-21 5 0.0 1 1 1 1.0 3 1 1 1 0.0 1.0 1.0 -1 -1 -2
2022-01-24 5 0.0 1 1 1 1.0 3 1 1 1 0.0 1.0 1.0 -1 -1 -2
2022-01-25 6 -1.0 1 1 1 0.0 1 1 1 1 1.0 0.0 0.0 -1 -1 -2
2022-01-26 6 -1.0 1 1 1 0.0 1 1 1 1 1.0 0.0 0.0 -1 -1 -2
2022-01-27 6 -1.0 1 1 1 0.0 1 1 1 1 1.0 0.0 0.0 -1 -1 -2
2022-01-28 5 -1.0 1 1 1 0.0 1 1 1 1 1.0 0.0 0.0 -1 -1 -2
2022-01-31 6 -1.0 1 1 1 0.0 1 1 1 1 1.0 0.0 0.0 -1 -1 -2
2022-02-01 5 -1.0 1 1 1 0.0 1 1 1 1 1.0 0.0 0.0 -1 -1 -2
[nav] In [26]: Curious, right? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
What's the correlation of account curves between these different experiments; eg are the differences meaningful? You could also reduce costs to zero to satisfy yourself that if you do that the differences will probably vanish. |
Beta Was this translation helpful? Give feedback.
What's the correlation of account curves between these different experiments; eg are the differences meaningful?
You could also reduce costs to zero to satisfy yourself that if you do that the differences will probably vanish.