w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
stock prices from yahoo finance

I think the best way to do this is to use 'pandas'.

from pandas.io.data import DataReader
data = DataReader('AAPL','yahoo',start = '1950-1-1', end = '2013-12-1')

The data object is a pandas DataFrame which is very easy to manipulate and work with

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.