admin
2025-05-30 fad33dc10aac4a77c56c6fcf6485594202d6604b
1.有强度逻辑分支 新增 当日当时涨幅需 >=1%
1个文件已修改
4 ■■■■ 已修改文件
strategy/buying_strategy.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
strategy/buying_strategy.py
@@ -561,9 +561,9 @@
                                        if last_volume_to_growth_ratio < 1:
                                            logger_info(
                                                f"【有强度 有小量换大涨幅】瞬时量幅比< 1 !瞬时量幅比:{round(last_volume_to_growth_ratio, 2)}%,最新价: {current_price},瞬时涨幅:{round(tick_growth, 2)}%,当日当时涨幅:{today_growth}%,当前时间:{current_created_at}。")
                                            if tick_growth >= 1:
                                            if tick_growth >= 1 and today_growth >= 1:
                                                logger_info(
                                                    f"【有强度 有小量换大涨幅 有强拉】瞬时涨幅 > 1% !瞬时涨幅:{round(tick_growth, 2)}%")
                                                    f"【有强度 有小量换大涨幅 有强拉】瞬时涨幅 >= 1% 且 当日当时涨幅 >=1!瞬时涨幅:{round(tick_growth, 2)}%, 当日当时涨幅:{round(today_growth, 2)}%")
                                                if limit_up_day < 1:
                                                    logger_info(
                                                        f"【不利】冷票 !不买!!,瞬时量幅比:{round(last_volume_to_growth_ratio, 2)}%,90天内涨停天数:{limit_up_day}")