| | |
| | | def is_too_high(datas): |
| | | limit_up_price = round(datas[0]["close"] * 1.1, 2) |
| | | datas.reverse() |
| | | is_new_high = code_nature_analyse.is_up_too_high_in_10d_with_limit_up(datas) |
| | | is_new_high = code_nature_analyse.is_up_too_high_from_latest_limit_up(datas) |
| | | return is_new_high |
| | | |
| | | |
| | | if __name__ == "__main__": |
| | | code_str = "600748" |
| | | codes = code_str.split(",") |
| | | for code in codes: |
| | | if not tool.is_shsz_code(code): |
| | | continue |
| | | try: |
| | | datas = init_data_util.get_volumns_by_code(code, 120) |
| | | result = code_nature_analyse.__is_yesterday_open_limit_up(datas) |
| | | if result: |
| | | print(code, result) |
| | | except: |
| | | print(code, "出错") |
| | | code = "002167" |
| | | volumes_data = init_data_util.get_volumns_by_code(code, 150) |
| | | volumes_data=volumes_data[0:] |
| | | if code_nature_analyse.is_continue_limit_up_not_enough_fall_dwon(volumes_data): |
| | | print("回踩不够") |