HS stock options crawler with CSV output 新浪期权数据爬虫
- python 3.6+
git clone https://github.com/HudsonStreet/sina-stock-crawler.git && cd sina-stock-crawler
Make sure you have python3 installed and execute the main.py
with
python3 main.py
Depends on you network, it might take up to a few minutes, be patient.
After crawling, you will get a CSV file named sina_stock_data.csv
with columns:
'RowID', 'Date', '买量', '买价bid', '最新价last', '卖价ask', '卖量', '振幅%change', '涨跌幅change','行权strike', '买量', '买价', '最新价', '卖价', '卖量', '振幅', '涨跌幅'
- MIT
- Under the Anti 996 License. See the Anti 996 LICENSE file for details.