Alexey Kim преди 2 седмици
родител
ревизия
cee412b1ec
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      strategy/alpaca/qqq15/strategy.go
  2. 1 1
      strategy/alpaca/qqq15_nodelay/strategy.go

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

@@ -65,7 +65,7 @@ func (s alpacaQQQ) Handle(market sentio.Market, ts time.Time, proba float64) ([]
 	for side, symbol := range s.PositionSymbols() {
 		var (
 			position sentio.Position
-			quote    sentio.Quote
+			quote    *sentio.Quote
 			bars     []sentio.Bar
 			sl       float64
 			ok       bool

+ 1 - 1
strategy/alpaca/qqq15_nodelay/strategy.go

@@ -65,7 +65,7 @@ func (s alpacaQQQ) Handle(market sentio.Market, ts time.Time, proba float64) ([]
 	for side, symbol := range s.PositionSymbols() {
 		var (
 			position sentio.Position
-			quote    sentio.Quote
+			quote    *sentio.Quote
 			bars     []sentio.Bar
 			sl       float64
 			ok       bool