| | |
| | | current_count = 0 |
| | | start = None |
| | | # 确保不会出现除以零的报错 |
| | | if current_yesterday_volume == 0: |
| | | current_yesterday_volume = 1 |
| | | if current_yesterday_volume != 0: |
| | | if round(current_today_volume / current_yesterday_volume, 2) > 1.1: |
| | | # print(f"i=={i} {it_K_line[i]['bob']} {round(current_today_volume/current_yesterday_volume,2)} 【放量】") |
| | | if current_today_growth > 0: |
| | |
| | | else: |
| | | it_K_line[i]['today_volume_shape'] = 'remained_balance' |
| | | # print(f"i=={i} {it_K_line[i]['bob']} 【平量平收】") |
| | | else: |
| | | logger.info(f"{symbol} 的 昨日成交量 为 0,报错!!") |
| | | |
| | | if current_open - previous_close > 0: |
| | | # print(f"i=={i} {it_K_line[i]['bob']} 成交总量:{today_volume},,,成交总金额:{today_amount}") |