Administrator
1 days ago 31cc693c228f2f2feb23bbda6da43f0f8db5fbe4
src/main/java/com/xcong/excoin/modules/gateApi/gateApi-logic.md
@@ -194,7 +194,7 @@
│   └─ 多仓队列转移:
│       ├─ 以多仓队列首元素(最小价)为种子
│       ├─ 生成 matched.size() 个递减元素: seed × (1 − gridRate × i)
│       ├─ 贴近过滤: |elem − longEntryPrice| < longEntryPrice × gridRate → 跳过
│       ├─ 贴近过滤: |currentPrice − longEntryPrice| < longEntryPrice × gridRate → 跳过
│       └─ 升序排列,截断到 gridQueueSize
└─ processLongGrid: 当前价 > 多仓队列元素(价格涨超了队列中的低价)
@@ -207,7 +207,7 @@
    └─ 空仓队列转移:
        ├─ 以空仓队列首元素(最高价)为种子
        ├─ 生成 matched.size() 个递增元素: seed × (1 + gridRate × i)
        ├─ 贴近过滤: |elem − shortEntryPrice| < shortEntryPrice × gridRate → 跳过
        ├─ 贴近过滤: |currentPrice − shortEntryPrice| < shortEntryPrice × gridRate → 跳过
        └─ 降序排列,截断到 gridQueueSize
```