Parcourir la source

Strategy: QQQ

- fix incorrect proba for SHORT
Alexey Kim il y a 5 mois
Parent
commit
1ea410bcb1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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,