src/main/java/com/xcong/excoin/modules/gateApi/GateConfigDTO.java
@@ -53,6 +53,8 @@ private String unrealizedPnlPriceMode; /** 是否为生产环境 */ private boolean isProduction; /** 价格驱动开关:true=启用K线推送中的价格驱动逻辑,false=禁用。null=未设置(默认true) */ private Boolean priceDriveEnabled; /** * 从 GateConfig 构建 DTO(不暴露 apiSecret)。 @@ -78,6 +80,7 @@ .unrealizedPnlPriceMode(config.getUnrealizedPnlPriceMode() != null ? config.getUnrealizedPnlPriceMode().name() : "LAST_PRICE") .isProduction(config.isProduction()) .priceDriveEnabled(config.isPriceDriveEnabled()) .build(); } }