|
@@ -60,7 +60,7 @@ func (s alpacaQQQ) Handle(market sentio.Market, proba float64) ([]sentio.Strateg
|
|
}
|
|
}
|
|
|
|
|
|
// skip too early trades
|
|
// skip too early trades
|
|
- if t.Hour() == 13 && t.Minute() < 40 {
|
|
|
|
|
|
+ if t.Hour() == 14 && t.Minute() < 40 {
|
|
continue
|
|
continue
|
|
}
|
|
}
|
|
|
|
|
|
@@ -72,7 +72,7 @@ func (s alpacaQQQ) Handle(market sentio.Market, proba float64) ([]sentio.Strateg
|
|
}
|
|
}
|
|
|
|
|
|
// Close positions before market closed
|
|
// Close positions before market closed
|
|
- if ok && t.Hour() == 19 && t.Minute() > 45 {
|
|
|
|
|
|
+ if ok && t.Hour() == 20 && t.Minute() > 45 {
|
|
orders = append(orders, sentio.StrategyOrder{
|
|
orders = append(orders, sentio.StrategyOrder{
|
|
Symbol: symbol,
|
|
Symbol: symbol,
|
|
Action: sentio.OrderSell,
|
|
Action: sentio.OrderSell,
|
|
@@ -104,7 +104,7 @@ func (s alpacaQQQ) Handle(market sentio.Market, proba float64) ([]sentio.Strateg
|
|
}}, nil
|
|
}}, nil
|
|
}
|
|
}
|
|
|
|
|
|
- if t.Hour() == 19 && t.Minute() > 35 {
|
|
|
|
|
|
+ if t.Hour() == 20 && t.Minute() > 35 {
|
|
continue
|
|
continue
|
|
}
|
|
}
|
|
|
|
|