From 05c74ca131add20dbcf23dc109e63c21b3e2be29 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 24 Feb 2021 18:11:57 +0800
Subject: [PATCH] Merge branch 'whole_new_trc20' into whole_new
---
src/main/java/com/xcong/excoin/rabbit/pricequeue/PricePriorityQueue.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/rabbit/pricequeue/PricePriorityQueue.java b/src/main/java/com/xcong/excoin/rabbit/pricequeue/PricePriorityQueue.java
index 36cbffa..0555498 100644
--- a/src/main/java/com/xcong/excoin/rabbit/pricequeue/PricePriorityQueue.java
+++ b/src/main/java/com/xcong/excoin/rabbit/pricequeue/PricePriorityQueue.java
@@ -208,7 +208,7 @@
public static Map<String,List<OrderModel>> getOrderMap(String symbol, int type) {
switch (symbol) {
case "BTC/USDT": // 开空止损 开多止盈 开空爆仓 限价开空
- if (type == 12 || type == 9 || type == 7 || type == 3) {
+ if (type == 12 || type == 9 || type == 7 || type == 3 || type == 4) {
if (BTC_MAP_ASC == null) {
BTC_MAP_ASC = new ConcurrentHashMap<String,List<OrderModel>>();
}
@@ -220,7 +220,7 @@
return BTC_MAP_DESC;
}
case "ETH/USDT": // 开多止损 开空止盈 开多爆仓 限价开多
- if (type == 12 || type == 9 || type == 7 || type == 3) {
+ if (type == 12 || type == 9 || type == 7 || type == 3 || type == 4) {
if (ETH_MAP_ASC == null) {
ETH_MAP_ASC = new ConcurrentHashMap<String,List<OrderModel>>();
}
@@ -232,7 +232,7 @@
return ETH_MAP_DESC;
}
case "XRP/USDT": // 开多止损 开空止盈 开多爆仓 限价开多
- if (type == 12 || type == 9 || type == 7 || type == 3) {
+ if (type == 12 || type == 9 || type == 7 || type == 3 || type == 4) {
if (XRP_MAP_ASC == null) {
XRP_MAP_ASC = new ConcurrentHashMap<String,List<OrderModel>>();
}
@@ -244,7 +244,7 @@
return XRP_MAP_DESC;
}
case "LTC/USDT": // 开多止损 开空止盈 开多爆仓 限价开多
- if (type == 12 || type == 9 || type == 7 || type == 3) {
+ if (type == 12 || type == 9 || type == 7 || type == 3 || type == 4) {
if (LTC_MAP_ASC == null) {
LTC_MAP_ASC = new ConcurrentHashMap<String,List<OrderModel>>();
}
@@ -256,7 +256,7 @@
return LTC_MAP_DESC;
}
case "BCH/USDT": // 开多止损 开空止盈 开多爆仓 限价开多
- if (type == 12 || type == 9 || type == 7 || type == 3) {
+ if (type == 12 || type == 9 || type == 7 || type == 3 || type == 4) {
if (BCH_MAP_ASC == null) {
BCH_MAP_ASC = new ConcurrentHashMap<String,List<OrderModel>>();
}
@@ -268,7 +268,7 @@
return BCH_MAP_DESC;
}
case "EOS/USDT": // 开多止损 开空止盈 开多爆仓 限价开多
- if (type == 12 || type == 9 || type == 7 || type == 3) {
+ if (type == 12 || type == 9 || type == 7 || type == 3 || type == 4) {
if (EOS_MAP_ASC == null) {
EOS_MAP_ASC = new ConcurrentHashMap<String,List<OrderModel>>();
}
@@ -280,7 +280,7 @@
return EOS_MAP_DESC;
}
case "ETC/USDT": // 开多止损 开空止盈 开多爆仓 限价开多
- if (type == 12 || type == 9 || type == 7 || type == 3) {
+ if (type == 12 || type == 9 || type == 7 || type == 3 || type == 4) {
if (ETC_MAP_ASC == null) {
ETC_MAP_ASC = new ConcurrentHashMap<String,List<OrderModel>>();
}
--
Gitblit v1.9.1