修复 买卖点一致性对齐至chan.py

This commit is contained in:
YuWuKunCheng
2026-05-29 20:42:34 +08:00
parent e50172e923
commit fca62f3141
5 changed files with 64 additions and 41 deletions
+4 -2
View File
@@ -415,7 +415,8 @@ impl 笔 {
let = Arc::clone(.last().unwrap());
// Python line 2330-2335: 清理无效数据
if ...load(Ordering::Relaxed) == ...load(Ordering::Relaxed)
if ...load(Ordering::Relaxed)
== ...load(Ordering::Relaxed)
|| matches!(., :: | ::)
{
Self::(, );
@@ -430,7 +431,8 @@ impl 笔 {
let = Arc::clone(.last().unwrap());
// Python line 2338: 时序检查 — skip out-of-order fractals
if ...load(Ordering::Relaxed) > ...load(Ordering::Relaxed)
if ...load(Ordering::Relaxed)
> ...load(Ordering::Relaxed)
&& ...load(Ordering::Relaxed)
- ...load(Ordering::Relaxed)
> 1