From ad615df734b4d82f9a83a7d1805ac9fabdf01a53 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 21 八月 2025 18:27:39 +0800
Subject: [PATCH] 200元股价以下的不足4手算4手/撤单率设置为100%不计算L后后半段撤单

---
 trade/trade_manager.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/trade/trade_manager.py b/trade/trade_manager.py
index c9c28e2..f8f85c6 100644
--- a/trade/trade_manager.py
+++ b/trade/trade_manager.py
@@ -448,6 +448,8 @@
                 money = continue_buy_money
 
             count = tool.get_buy_volume_by_money(price, money)
+            if count < 4 and float(price) < 200:
+                count = 4
 
             # if mode == OrderBeginPosInfo.MODE_RADICAL:
             #     # 婵�杩涗拱鍏ラ噾棰濅负1鎵�

--
Gitblit v1.8.0