This repository is for data scraping of TW stock information from Taiwan Stock Exchange and Taipei Exchange. I used requests, pandas, os, matplotlib, and plotly for this scraping project, and carculate GVI per share.
##Functions
get_BVPS(year,season) # ex: get_BVPS(110, 1) ; year: Common Era - 1911 //pythonget_EPS(year,season) # ex: get_EPS(110, 1) ; year: Common Era - 1911 //pythonget_stockinf(year,season) # ex: get_stockinf(110, 1) ; year: Common Era - 1911 //pythonget_stockprice(Date) # ex: get_stockinf(20200212) ; Date: Common Era+ Month+ date //pythonget_GVI(year,season,Date) # ex: get_GVI(110,1,20210215) //python[台灣證券交易所](https://www.twse.com.tw/zh/)[證券櫃檯買賣中心](https://www.tpex.org.tw/web/index.php?l=zh-tw)
僅供作為參考,不作為商業用途。若因資料不正確或其他原因等疏漏造成損失,本人不負任何法律責任。