Administrator
2024-07-25 9d39b293bde97f31f522010373aad1dd3f654c07
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