| | |
| | | public class GateWebSocketClientManager { |
| | | |
| | | // ==================== 修改配置只需改这里 =================== |
| | | static final String DEFAULT_API_KEY = "967fe9e50d589621a25d75618a85ba41"; |
| | | static final String DEFAULT_API_SECRET = "9d7a004a5d6b88b38fd6e21e323b0214c4f4e25db071ff45d479c76f0325aabe"; |
| | | static final String DEFAULT_API_KEY = "4de44d064e84e57f045a8c77ba855fbe"; |
| | | static final String DEFAULT_API_SECRET = "afe7bb16f2a8896e1eceb4ca12e9b410e8d6698ddb3320119a04a21c7c543866"; |
| | | // 不可调参数 |
| | | static final String DEFAULT_CONTRACT = "ETH_USDT"; |
| | | static final String DEFAULT_LEVERAGE = "100"; |
| | |
| | | .quantity("2") |
| | | .maxPositionSize(4) |
| | | .stopLossCount(0) |
| | | .priceDriveEnabled(true) |
| | | .rounds(0) |
| | | .build(); |
| | | // 确保配置文件存在 |
| | | persistenceService.ensureExists(DEFAULT_API_KEY, defaults); |