Administrator
2024-06-12 1ce9035fa89764c80e2764f877b6eef7efae8266
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