Administrator
2025-12-20 e1288c60a418079186da08606e469b5d05dc8f72
src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListEnum.java
@@ -11,9 +11,10 @@
 */
@Getter
public enum WangGeListEnum {
    UP("上层做空", "2", "3000", "3200", "10", "short", "3214"),
    CENTER("中间指定一个方向", "2", "3000", "2700", "5", "long", "2986"),
    DOWN("下层做多", "2", "2500", "2700", "10", "long", "2586");
    UP("上层做空", "2", "3200", "3000", "4", "short", "3100"),
    CENTER("中间做空", "2", "3000", "2700", "4", "short", "2700"),
    DOWN("下层做多", "2", "2700", "2500", "4", "long", "2500"),
    DOWN_ONE("下层做空", "2", "2500", "2200", "4", "short", "2500");
    private String name;
    private String xiaoshu_weishu;
@@ -30,7 +31,7 @@
        this.jiage_xiaxian = jiage_xiaxian;
        this.jian_ju = jian_ju;
        this.fang_xiang = fang_xiang;
        this.fang_xiang = zhi_sun_dian;
        this.zhi_sun_dian = zhi_sun_dian;
    }
    /**
@@ -46,7 +47,7 @@
            // 确保上限大于下限
            if (upperLimit.compareTo(lowerLimit) > 0) {
                // 检查价格是否在区间内
                if (price.compareTo(lowerLimit) >= 0 && price.compareTo(upperLimit) <= 0) {
                if (price.compareTo(lowerLimit) > 0 && price.compareTo(upperLimit) <= 0) {
                    return grid;
                }
            }