| | |
| | | time.sleep(1.5) |
| | | |
| | | if __name__ == "__main__": |
| | | codes = gpcode_manager.FirstGPCodesManager().get_first_gp_codes() |
| | | codes = ["002270"] # gpcode_manager.FirstGPCodesManager().get_first_gp_codes() |
| | | for code in codes: |
| | | volumes_data = inited_data.get_volumns_by_code(code, 150) |
| | | print(code, code_nature_analyse.is_up_too_high(volumes_data)) |
| | | volumes_data = volumes_data[1:] |
| | | print(code, code_nature_analyse.is_up_too_high_in_120d(volumes_data)) |
| | | # try: |
| | | # global_data_loader.load_zyltgb() |
| | | # limit_up_price = float(gpcode_manager.get_limit_up_price(code)) |