| | |
| | | if k_format and not k_format[13]: |
| | | has_limit_up_in_60 = False |
| | | volume = self.get_max_volume_in_5days(code) |
| | | if volume * limit_up_price >= 3.14e8 and has_limit_up_in_60: |
| | | if volume * limit_up_price >= 9e8 and has_limit_up_in_60: |
| | | return volume |
| | | return int(self.get_reference_volume_as_money_y(code) * 1e8 / limit_up_price) |
| | | |
| | |
| | | _volumn = global_util.today_volumn.get(code) |
| | | if _volumn is None: |
| | | _volumn = RedisUtils.get(self.__redis_manager.getRedis(), "volumn_today-{}".format(code)) |
| | | return _volumn |
| | | return int(_volumn) |
| | | |
| | | # 获取今日量 |
| | | def get_today_volumn_cache(self, code): |