Эх сурвалжийг харах

参数调整,降低被误止损概率

skyffire 1 жил өмнө
parent
commit
54d7697ca8
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      十面埋伏分析.js

+ 2 - 2
十面埋伏分析.js

@@ -259,8 +259,8 @@ async function main() {
     let synProfit = NumKit.getSubFloat(expFakeProfit + expRealProfit, 2)
     let avgProfit = NumKit.getSubFloat(synProfit / (realLength + fakeLength), 2)
     let isStopLoss = false
-    if (avgProfit < -0.7 || btcKlineDownRate > 1) {
-      avgProfit = -1.0
+    if (avgProfit < -2 || btcKlineDownRate > 2) {
+      avgProfit = -2
       isStopLoss = true
     }