| | |
| | | |
| | | @classmethod |
| | | def __get_buy1_price_info(cls, code): |
| | | data = cls.__get_redis().get(f"buy1_price_limit_up_info-{code}") |
| | | data = RedisUtils.get(cls.__get_redis(), f"buy1_price_limit_up_info-{code}") |
| | | if not data: |
| | | return None, None |
| | | data = json.loads(data) |
| | |
| | | |
| | | @classmethod |
| | | def __get_buy1_price(cls, code): |
| | | return cls.__get_redis().get(f"buy1_price-{code}") |
| | | return RedisUtils.get(cls.__get_redis(), f"buy1_price-{code}") |
| | | |
| | | # 设置炸板后的最低价 |
| | | @classmethod |
| | |
| | | |
| | | @classmethod |
| | | def __get_open_limit_up_lowest_price(cls, code): |
| | | return cls.__get_redis().get(f"open_limit_up_lowest_price-{code}") |
| | | return RedisUtils.get(cls.__get_redis(), f"open_limit_up_lowest_price-{code}") |
| | | |
| | | @classmethod |
| | | def set_open_limit_up_lowest_price(cls, code, price): |