Running copy/pasted samples from documentation gives different results than those presented in the documentation
For instance for the sample "Our First Strategy", I get different results than those presented. Explicitly, I get :
2000-12-26, Close, 30.94 2000-12-27, Close, 30.69 2000-12-28, Close, 31.06 2000-12-29, Close, 29.06 Final Portfolio Value: 100000.00
When the documentation says I should get :
2000-12-26T00:00:00, Close, 29.17 2000-12-27T00:00:00, Close, 28.94 2000-12-28T00:00:00, Close, 29.29 2000-12-29T00:00:00, Close, 27.41 Final Portfolio Value: 100000.00
Is the difference due to differences in the imported data? In this case, why is the data different? I simply git cloned the master branch and use its data to try the samples in the doc.
@backtrader Hum alright, thank you, so what have I to do to get the same results as the documentation? I would like to continue my quick start having exactly the same results :s.
Get a copy of the data which matches the data back when the documentation was 1st written, which you can do by looking at old commits.
@backtrader Perfect, thank you very much!