- decrease order size down to .1 if its after 4pm
@@ -100,6 +100,10 @@ func (s alpacaQQQ) Handle(market sentio.Market, proba float64) ([]sentio.Strateg
Symbol: symbol,
Action: sentio.OrderBuy,
Ratio: func() float64 {
+ if t.Hour() >= 16 {
+ return .1
+ }
+
if ok {
return .4
} else {
@@ -138,6 +142,10 @@ func (s alpacaQQQ) Handle(market sentio.Market, proba float64) ([]sentio.Strateg