Administrator
2025-12-18 f724b7c8249add49a4f9bf4a2b20afa1c5a0afeb
src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListEnum.java
@@ -11,9 +11,12 @@
 */
@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", "3100", "3000", "2", "short", "3100"),
    CENTER("中间做多", "2", "3000", "2900", "2", "long", "2900"),
    CENTER_ONE("中间做空", "2", "2900", "2870", "2", "short", "2870"),
    DOWN("下层做多", "2", "2870", "2850", "2", "long", "2850"),
    DOWN_ONE("下层做多", "2", "2850", "2820", "2", "long", "2820"),
    DOWN_TWO("下层做空", "2", "2820", "2800", "2", "short", "2820");
    private String name;
    private String xiaoshu_weishu;
@@ -30,7 +33,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 +49,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;
                }
            }