2
0
Quellcode durchsuchen

Strategy: QQQ

- fix incorrect proba for SHORT
Alexey Kim vor 5 Monaten
Ursprung
Commit
1ea410bcb1
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      strategy/alpaca/qqq15/strategy.go

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

@@ -80,7 +80,7 @@ func (s alpacaQQQ) Handle(market sentio.Market, proba float64) ([]sentio.Strateg
 			continue
 		}
 
-		if ok && sentio.SHORT == side && proba > .999 {
+		if ok && sentio.SHORT == side && proba > .9999 {
 			orders = append(orders, sentio.StrategyOrder{
 				Symbol: symbol,
 				Action: sentio.OrderSell,