title: How to get all Ticker symbols and its stock prices(csv format) using python?
body: <p>I wanted all ticker symbols and its stock prices in csv format.</p>
  
  <p>expected output:</p>
  
  <p><a href="https://i.stack.imgur.com/JGYmg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JGYmg.png" alt="enter image description here"></a></p>
  
  <p>Is there any solution to get all data in csv?</p>
  
  <p><a href="https://stackoverflow.com/questions/12433076/download-history-stock-prices-automatically-from-yahoo-finance-in-python">Download history stock prices automatically from yahoo finance in python</a></p>
  
  <p>using this approach we can get data related to one symbol only.</p>
  
  <p>Or using <code>pandas_datareader</code> we have to pass SYMBOL as a input:</p>
  
  <p><code>panel_data = web.DataReader('SPY', 'yahoo', start_date, end_date)</code></p>
  
  <p>Is there any way to get all Ticker symbols and its related stock data using python ?</p>