Administrator
2025-12-29 c9e423b3d739ccf49508f724bc11ce2f28807cc0
src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListEnum.java
@@ -11,9 +11,11 @@
 */
@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_ONE("上层做空", "2", "3500", "3200", "4", "long", "3500"),
    UP("上层做空", "2", "3200", "3000", "4", "short", "3200"),
    CENTER("中间做空", "2", "3000", "2700", "4", "short", "3000"),
    DOWN("下层做空", "2", "2700", "2200", "4", "short", "2700"),
    DOWN_ONE("下层做多", "2", "2200", "1800", "4", "long", "1800");
    private String name;
    private String xiaoshu_weishu;
@@ -30,7 +32,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 +48,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;
                }
            }