mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
emit start callback for backtest
This commit is contained in:
parent
3501e8f5fd
commit
61ad2b6567
|
@ -53,6 +53,7 @@ func (s *Stream) Connect(ctx context.Context) error {
|
|||
|
||||
go func() {
|
||||
s.EmitConnect()
|
||||
s.EmitStart()
|
||||
|
||||
klineC, errC := s.exchange.srv.QueryKLinesCh(s.exchange.startTime, s.exchange.endTime, s.exchange, symbols, intervals)
|
||||
numKlines := 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user