How to get all Ticker symbols and its stock prices(csv format) using python?

Viewed 4693

I wanted all ticker symbols and its stock prices in csv format.

expected output:

enter image description here

Is there any solution to get all data in csv?

Download history stock prices automatically from yahoo finance in python

using this approach we can get data related to one symbol only.

Or using pandas_datareader we have to pass SYMBOL as a input:

panel_data = web.DataReader('SPY', 'yahoo', start_date, end_date)

Is there any way to get all Ticker symbols and its related stock data using python ?

1 Answers
Related