Browse Source

持仓分析郑州分类

xyxie 1 year ago
parent
commit
8444f091f5
1 changed files with 8 additions and 0 deletions
  1. 8 0
      services/trade_analysis/trade_analysis.go

+ 8 - 0
services/trade_analysis/trade_analysis.go

@@ -223,6 +223,14 @@ func getZhengzhouClassifyName(code string) (name string) {
 		name = "苹果"
 		return
 	}
+	if strings.HasPrefix(code, "PX") {
+		name = "PX"
+		return
+	}
+	if strings.HasPrefix(code, "SH") {
+		name = "烧碱"
+		return
+	}
 	return
 }