소스 검색

Strategy: QQQ

- fix incorrect proba for SHORT
Alexey Kim 9 달 전
부모
커밋
1ea410bcb1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,