You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
File ".../python3.6/site-packages/twstock/stock.py", line 152, in fetch
self.raw_data = [self.fetcher.fetch(year, month, self.sid)]
File ".../python3.6/site-packages/twstock/stock.py", line 108, in fetch
data['data'] = self.purify(data)
File ".../python3.6/site-packages/twstock/stock.py", line 128, in purify
return [self._make_datatuple(d) for d in original_data['aaData']]
File ".../python3.6/site-packages/twstock/stock.py", line 128, in <listcomp>
return [self._make_datatuple(d) for d in original_data['aaData']]
File ".../python3.6/site-packages/twstock/stock.py", line 116, in _make_datatuple
data[0] = datetime.datetime.strptime(self._convert_date(data[0]), '%Y/%m/%d')
File "/usr/local/lib/python3.6/_strptime.py", line 565, in _strptime_datetime
tt, fraction = _strptime(data_string, format)
File "/usr/local/lib/python3.6/_strptime.py", line 365, in _strptime
data_string[found.end():])
ValueError: unconverted data remains: *
The reason why there is *:
「*」表示該日為該股票上櫃掛牌首日,其掛牌首日之漲跌係以當日收盤價減承銷價計算而得。
We should ignore this suffix.
The text was updated successfully, but these errors were encountered:
symbol: 00694B
date: 106/06/08
eror message:
The reason why there is
*
:We should ignore this suffix.
The text was updated successfully, but these errors were encountered: