Explorar el Código

Strategy: QQQ

- fix incorrect proba for SHORT
Alexey Kim hace 5 meses
padre
commit
1ea410bcb1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,