From 3c884ab3a371e42a5a2bab0b8431c7e7ed2c6e78 Mon Sep 17 00:00:00 2001 From: admin <admin@example.com> Date: 星期三, 04 六月 2025 14:15:30 +0800 Subject: [PATCH] 1.有概念逻辑分支 修改 【不利】进入次数参数 2.充分交易量公式 优化 计算公式 3.修改下单最低价格 --- strategy/basic_methods.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/strategy/basic_methods.py b/strategy/basic_methods.py index 1d88b88..3cd35eb 100644 --- a/strategy/basic_methods.py +++ b/strategy/basic_methods.py @@ -210,8 +210,8 @@ # 鍏呭垎浜ゆ槗閲忓叕寮� 鐢ㄤ簬璁$畻鏃ュ唴娑ㄥ箙娈电悊璁虹殑瀹夊叏浜ゆ槗閲忓�� def sufficient_volume(current_volume, yesterday_volume, today_growth): - if today_growth > 0 and round(current_volume / yesterday_volume / 100, 2) >= 0.01: - if current_volume > yesterday_volume * 0.5 * (today_growth/100): + if today_growth > 0 and round(current_volume / yesterday_volume, 2) >= 0.01: + if current_volume > yesterday_volume * (today_growth/10): return True else: return False -- Gitblit v1.8.0