pivotshort: remove market trade debug

This commit is contained in:
c9s 2022-06-26 19:29:01 +08:00
parent e1a9df0a2d
commit 4d862a4286
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -240,10 +240,6 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
method.Bind(session, s.orderExecutor)
}
session.MarketDataStream.OnMarketTrade(func(trade types.Trade) {
log.Info(trade)
})
session.UserDataStream.OnStart(func() {
lastKLine := s.preloadPivot(s.pivot, store)