【【公开课】Python股票自动交易从零开始~】https://www.bilibili.com/video/BV1SW411A7Ab?p=6&vd_source=056bd9dc74b57a861c5ac342ecab8bbc
1 import requests 2 import pandas 3 import io 4 5 url='https://www.nasdaq.com/screenering/screeing/companies-by-industry.aspx?exchange=NASDAQ&render=download' 6 7 dataString=requests.get(url).content 8 9 tickerRawData=pandas.read_csv(io.StringIO(dataString.decode('utf-8'))) 10 11 tickers=tickerRawData['Symbol'].tolist() 12 print(tickerRawData)
标签:www,Python,tickerRawData,dataString,从零开始,自动,import From: https://www.cnblogs.com/redufa/p/17860527.html