mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
rename st = store
This commit is contained in:
parent
fc0457cefe
commit
4b08e93758
|
@ -208,9 +208,9 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
|
|||
s.tradeCollector.BindStream(session.UserDataStream)
|
||||
|
||||
iw := types.IntervalWindow{Window: s.PivotLength, Interval: s.Interval}
|
||||
st, _ := session.MarketDataStore(s.Symbol)
|
||||
store, _ := session.MarketDataStore(s.Symbol)
|
||||
s.pivot = &indicator.Pivot{IntervalWindow: iw}
|
||||
s.pivot.Bind(st)
|
||||
s.pivot.Bind(store)
|
||||
|
||||
s.LastLow = fixedpoint.Zero
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user