Administrator
2024-11-06 a53ab43591e80223e736261a3cd6fbebb7ae4e55
third_data/kpl_api.py
@@ -55,6 +55,7 @@
def getLimitUpInfoNew():
    pids = [(1, "首板"), (2, "2连板"), (3, "3连板"), (4, "4连板"), (5, "")]
    fresults = []
    day = ''
    for pid_info in pids:
        results = []
        for i in range(100):
@@ -75,7 +76,7 @@
                    r[i] = kpl_util.filter_block(r[i])
        fresults.extend(results)
    return json.dumps({"errcode": 0, "list": fresults})
    return json.dumps({"errcode": 0, "list": fresults, "day": day})
def getLimitUpInfo():
@@ -269,7 +270,7 @@
if __name__ == "__main__":
    # print(getLimitUpInfoNew())
    print(getLimitUpInfoNew())
    # __getConceptBK("300564")
    data = (getMarketJingXuanRealRankingInfo(False))