From eee4a9fdb1e87d25b39d9c08a7b43b09642df5ad Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 19 Aug 2020 15:19:20 +0800 Subject: [PATCH] finish closing order --- src/main/java/com/xcong/excoin/configurations/RabbitMqConfig.java | 37 +++++++++++++++++++++++++------------ 1 files changed, 25 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/xcong/excoin/configurations/RabbitMqConfig.java b/src/main/java/com/xcong/excoin/configurations/RabbitMqConfig.java index 7be7a45..0a791bf 100644 --- a/src/main/java/com/xcong/excoin/configurations/RabbitMqConfig.java +++ b/src/main/java/com/xcong/excoin/configurations/RabbitMqConfig.java @@ -21,36 +21,35 @@ @Configuration public class RabbitMqConfig { - public static final String EXCHANGE_ONE = "excoin-exchange-one"; + public static final String EXCHANGE_ONE = "biue-exchange-one"; public static final String QUEUE_TEST = "test-queue"; public static final String ROUTING_KEY_TEST = "test-routingKey"; - public static final String EXCHANGE_A = "biyi-exchange-A"; + public static final String EXCHANGE_A = "biue-exchange-A"; // 开多止盈队列 - public static final String QUEUE_MOREPRO = "QUEUE_MOREPRO"; + public static final String QUEUE_MOREPRO = "QUEUE_MOREPRO_NEW"; // 开空止盈队列 - public static final String QUEUE_LESSPRO = "QUEUE_LESSPRO"; + public static final String QUEUE_LESSPRO = "QUEUE_LESSPRO_NEW"; // 开多止损队列 - public static final String QUEUE_MORELOSS = "QUEUE_MORELOSS"; + public static final String QUEUE_MORELOSS = "QUEUE_MORELOSS_NEW"; // 开空止损队列 - public static final String QUEUE_LESSLOSS = "QUEUE_LESSLOSS"; + public static final String QUEUE_LESSLOSS = "QUEUE_LESSLOSS_NEW"; // 限价委托 public static final String QUEUE_LIMIT = "QUEUE_LIMIT_NEW"; // 爆仓队列 - public static final String QUEUE_COINOUT = "QUEUE_COINOUT"; + public static final String QUEUE_COINOUT = "QUEUE_COINOUT_NEW"; //价格操作 - public static final String QUEUE_PRICEOPERATE = "QUEUE_PRICEOPERATE"; + public static final String QUEUE_PRICEOPERATE = "QUEUE_PRICEOPERATE_NEW"; // 平仓队列 - public static final String QUEUE_CLOSETRADE = "QUEUE_CLOSETRADE"; - + public static final String QUEUE_CLOSETRADE = "QUEUE_CLOSETRADE_NEW"; // 开多止盈路由键 @@ -118,9 +117,9 @@ } - /** * 开多止盈队列 + * * @return */ @Bean @@ -131,6 +130,7 @@ /** * 开空止盈队列 + * * @return */ @Bean @@ -141,6 +141,7 @@ /** * 开多止损 + * * @return */ @Bean @@ -151,6 +152,7 @@ /** * 开空止损 + * * @return */ @Bean @@ -161,6 +163,7 @@ /** * 限价委托 + * * @return */ @Bean @@ -171,6 +174,7 @@ /** * 爆仓 + * * @return */ @Bean @@ -180,6 +184,7 @@ /** * 价格操作 + * * @return */ @Bean @@ -189,6 +194,7 @@ /** * 价格操作 + * * @return */ @Bean @@ -197,9 +203,9 @@ } - /** * 开多止盈 + * * @return */ @Bean @@ -209,6 +215,7 @@ /** * 开空止盈 + * * @return */ @Bean @@ -218,6 +225,7 @@ /** * 开多止损 + * * @return */ @Bean @@ -227,6 +235,7 @@ /** * 开空止损 + * * @return */ @Bean @@ -237,6 +246,7 @@ /** * 委托 + * * @return */ @Bean @@ -247,6 +257,7 @@ /** * 爆仓 + * * @return */ @Bean @@ -257,6 +268,7 @@ /** * 价格操作 + * * @return */ @Bean @@ -266,6 +278,7 @@ /** * 平仓绑定 + * * @return */ @Bean -- Gitblit v1.9.1