| | |
| | | # 获取60天最大记录 |
| | | for code in codes: |
| | | need_get_volumn = False |
| | | if code not in global_util.max60_volumn or global_util.max60_volumn.get(code) is None: |
| | | if code not in global_util.max60_volumn or global_util.max60_volumn.get(code) is None or code_nature_analyse.CodeNatureRecordManager().get_k_format_cache(code) is None: |
| | | need_get_volumn = True |
| | | # if not need_get_volumn and code_nature_analyse.CodeNatureRecordManager.get_nature_cache( |
| | | # code) is None: |
| | |
| | | if not current_price: |
| | | raise Exception("没有获取到L1现价") |
| | | price = tool.get_buy_min_price(current_price) |
| | | if limit_down_price and price > round(float(limit_down_price), 2): |
| | | if limit_down_price and price < round(float(limit_down_price), 2): |
| | | price = round(float(limit_down_price), 2) |
| | | elif price_type == 1: |
| | | if not limit_down_price: |