diff --git a/stocklake/__init__.py b/stocklake/__init__.py index 67bdf3c..10694a6 100644 --- a/stocklake/__init__.py +++ b/stocklake/__init__.py @@ -1,4 +1,4 @@ # SPDX-FileCopyrightText: 2023-present tsugumi-sys # # SPDX-License-Identifier: MIT -__version__ = "0.0.13" +__version__ = "0.0.14" diff --git a/stocklake/wiki_sp500/data_loader.py b/stocklake/wiki_sp500/data_loader.py index 8b0a64a..5351e0f 100644 --- a/stocklake/wiki_sp500/data_loader.py +++ b/stocklake/wiki_sp500/data_loader.py @@ -63,15 +63,15 @@ def download(self) -> List[RawWikiSP500Data]: symbol_data_content["company"] = self._replace_new_line_code( symbol_data.text.replace("\n", "") ) - if td_count == 3: + if td_count == 2: symbol_data_content["sector"] = self._replace_new_line_code( symbol_data.text.replace("\n", "") ) - if td_count == 4: + if td_count == 3: symbol_data_content["industry"] = self._replace_new_line_code( symbol_data.text.replace("\n", "") ) - if td_count == 5: + if td_count == 4: symbol_data_content["headquarters"] = self._replace_new_line_code( symbol_data.text.replace("\n", "") )