Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get stock data in python

# First run 'python -m pip install yahoofinancials'

from yahoofinancials import YahooFinancials

yf = YahooFinancials('WFC')
print(yf.get_current_price())
print(yf.get_prev_close_price())
Source by www.quora.com #
 
PREVIOUS NEXT
Tagged: #stock #data #python
ADD COMMENT
Topic
Name
5+6 =