2
0
Prechádzať zdrojové kódy

QQQ15

- adjust ATR stoploss params
Alexey Kim 1 týždeň pred
rodič
commit
de07ec68e2

+ 3 - 3
strategy/alpaca/qqq15/strategy.go

@@ -9,9 +9,9 @@ import (
 
 const (
 	ATR_MULTIPLIER         = 1.5
-	ATR_PERIOD             = 14
-	ATR_HHV                = 10
-	ATR_STOPLOSS_THRESHOLD = .998
+	ATR_PERIOD             = 5
+	ATR_HHV                = 4
+	ATR_STOPLOSS_THRESHOLD = 1
 
 	EXTRA_POSITION_THRESHOLD = 1.002
 )

+ 3 - 3
strategy/alpaca/qqq15_nodelay/strategy.go

@@ -9,9 +9,9 @@ import (
 
 const (
 	ATR_MULTIPLIER         = 1.5
-	ATR_PERIOD             = 14
-	ATR_HHV                = 10
-	ATR_STOPLOSS_THRESHOLD = .998
+	ATR_PERIOD             = 5
+	ATR_HHV                = 4
+	ATR_STOPLOSS_THRESHOLD = 1
 
 	EXTRA_POSITION_THRESHOLD = 1.002
 )