personal python stock historical data analysis script