Administrator
2024-05-31 c09dd858ba2d6894d1ded8e8da5a46b9b16b05d5
code_attribute/history_k_data_util.py
@@ -115,9 +115,9 @@
    def get_juejin_code_list_with_prefix(cls, codes):
        list = []
        for d in codes:
            if d[0:2] == '00':
            if tool.get_market_type(d) == tool.MARKET_TYPE_SZSE:
                list.append("SZSE.{}".format(d))
            elif d[0:2] == '60':
            elif tool.get_market_type(d) == tool.MARKET_TYPE_SSE:
                list.append("SHSE.{}".format(d))
        return list