Browse Source

Alpaca: QQQ

- adjust LONG proba
Alexey Kim 5 months ago
parent
commit
27f98d098e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      strategy/alpaca/qqq15/strategy.go

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

@@ -93,7 +93,7 @@ func (s alpacaQQQ) Handle(market sentio.Market, proba float64) ([]sentio.Strateg
 			continue
 		}
 
-		if sentio.LONG == side && proba > 1.001 {
+		if sentio.LONG == side && proba > 1.0015 {
 			if ok && position != nil && position.GetCurrentPrice() > position.GetAvgPrice() {
 				continue
 			}
@@ -105,7 +105,7 @@ func (s alpacaQQQ) Handle(market sentio.Market, proba float64) ([]sentio.Strateg
 					if ok {
 						return .3
 					} else {
-						return .6
+						return .8
 					}
 				}(),
 			})