Browse Source

Strategy: QQQ

- fix incorrect proba for SHORT
Alexey Kim 5 months ago
parent
commit
1ea410bcb1
1 changed files with 1 additions and 1 deletions
  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,