Skip to content

AKShare 接口问题报告-stock_board_concept_hist_em使用代码会报错 #7215

@chanmankong

Description

@chanmankong

a = akshare.stock_board_concept_hist_em(symbol="BK1676")
Traceback (most recent call last):
File "", line 1, in
File "/root/momentum-strategy/.venv/lib/python3.11/site-packages/akshare/stock/stock_board
_concept_em.py", line 256, in stock_board_concept_hist_em
stock_board_code = stock_board_concept_em_map[
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/momentum-strategy/.venv/lib/python3.11/site-packages/pandas/core/arrays/_mixin
s.py", line 293, in getitem
result = self._ndarray[key]
~~~~~~~~~~~~~^^^^^
IndexError: index 0 is out of bounds for axis 0 with size 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions