| | |
| | | except: |
| | | pass |
| | | # L后囊括快照 |
| | | try: |
| | | current_info = LCancelBigNumComputer().statistic_l_down_watch_indexes_info(code) |
| | | last_info = LDownCancelWatchIndexStatisticManager().get_statistic_info(code) |
| | | fdata['l_down_watch_indexes_info'] = {} |
| | |
| | | fdata['l_down_watch_indexes_info']['current'] = current_info |
| | | if last_info: |
| | | fdata['l_down_watch_indexes_info']['last'] = last_info |
| | | except: |
| | | pass |
| | | fdatas.append(fdata) |
| | | except Exception as e: |
| | | logger_debug.exception(e) |
| | |
| | | if total_nums - total_after_num <= 0: |
| | | fresults.append(100.00) |
| | | else: |
| | | fresults.append(round(total_cancel_num * 100 / (total_nums - total_after_num), 2)) |
| | | canceled_info = self.__compute_l_down_canceled_rate(code, total_datas) |
| | | fresults.append(canceled_info[0] * 100) |
| | | rate_info = self.__compute_l_down_canceled_rate(code, total_datas) |
| | | fresults.append(round(rate_info[0]*100, 2)) |
| | | fresults.append(LCancelRateManager.get_cancel_rate(code)[0] * 100) |
| | | return fresults |
| | | |
| | | |