admin
2025-06-06 cfa156648b381ccfc2e592719ae78c93754ec6eb
1.
2.充分交易量公式 优化 计算公式
1个文件已修改
2 ■■■ 已修改文件
strategy/basic_methods.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
strategy/basic_methods.py
@@ -211,7 +211,7 @@
# 充分交易量公式 用于计算日内涨幅段理论的安全交易量值
def sufficient_volume(current_volume, yesterday_volume, today_growth):
    if today_growth > 0 and round(current_volume / yesterday_volume, 2) >= 0.01:
        if current_volume > yesterday_volume * (today_growth/10):
        if current_volume > yesterday_volume * (today_growth/10) * 0.5:
            return True
        else:
            return False