| | |
| | | zylt = kpl_api.getZYLTAmount(code) |
| | | async_log_util.info(logger_l2_codes_subscript, |
| | | f"{request_id} {code}获取自由流通市值耗时-{round((time.time() - __start_time) * 1000)}ms") |
| | | # 保存自由流通股本 |
| | | if zylt: |
| | | ZYLTGBUtil.save_async(code, zylt, price) |
| | | except: |
| | | pass |
| | | if zylt: |
| | |
| | | limit_up_price = gpcode_manager.get_limit_up_price(code) |
| | | if limit_up_price: |
| | | zylt = int(zylt / d[1] * float(limit_up_price)) |
| | | # 保存自由流通股本 |
| | | ZYLTGBUtil.save_async(code, zylt, price) |
| | | global_util.zyltgb_map[code] = int(zylt) |
| | | # 保存今日实时量 |
| | | temp_volumns.append((code, d[3])) |