toomore / grs

📈 台灣上市上櫃股票價格擷取(Fetch Taiwan Stock Exchange data)含即時盤、台灣時間轉換、開休市判斷。
http://pypi.python.org/pypi/grs
MIT License
430 stars 164 forks source link

Fixed Realtime, closed #25, #27, #35 #40

Closed yhsiang closed 3 years ago

yhsiang commented 7 years ago

用新 API endpoint,其中一個需要帶 Cookie 來取得 value。

joey0430 commented 7 years ago

bug report and fix In grs/realtime2.py line:30 self._exchange = 'tse' It's not correct. It will always define "self._exchange" to tse, it will have problem on otc data. So, line:30 must be deleted.