Administrator
2023-12-27 5e56c1489abfc75cad64cb1996b8fcbb25afa95e
bug修复
2个文件已修改
8 ■■■■ 已修改文件
third_data/code_plate_key_manager.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
third_data/kpl_api.py 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
third_data/code_plate_key_manager.py
@@ -497,6 +497,8 @@
        if high_level_block_codes is None:
            high_level_block_codes = {}
        block_codes = current_limit_up_block_codes_dict.get(block)
        if block_codes is None:
            block_codes = set()
        if not block_codes:
            # 高位板泛化板块中无板块
            if not high_level_block_codes.get(block):
third_data/kpl_api.py
@@ -40,7 +40,7 @@
def daBanList(pidType, page_size=50, index=0):
    data = f"Order=1&a=DaBanList&st={page_size}&c=HomeDingPan&PhoneOSNew=1&DeviceID=a38adabd-99ef-3116-8bb9-6d893c846e23" \
           f"&VerSion=5.8.0.2&Index={index}&Is_st=1&PidType={pidType}&apiv=w32&Type=4&FilterMotherboard=0&Filter=0&FilterTIB=0" \
           "&FilterGem=0 "
           "&FilterGem=0"
    result = __base_request("https://apphq.longhuvip.com/w1/api/index.php", data=data)
    return result
@@ -61,6 +61,10 @@
            return json.dumps(result)
    return None
def getHistoryLimitUpInfo(day):
    data = f"Order=1&a=HisDaBanList&st=19&c=HisHomeDingPan&PhoneOSNew=1&DeviceID=a38adabd-99ef-3116-8bb9-6d893c846e23&VerSion=5.8.0.2&Index=0&Is_st=1&PidType=1&apiv=w32&Type=6&FilterMotherboard=0&Filter=0&FilterTIB=0&Day={day}&FilterGem=0&"
    result = __base_request("https://apphis.longhuvip.com/w1/api/index.php", data=data)
# 市场行情-行业
def getMarketIndustryRealRankingInfo(orderJingE_DESC=True):