bbgo_origin/pkg/backtest/exchange_klinec.go

14 lines
264 B
Go

package backtest
import (
"github.com/c9s/bbgo/pkg/bbgo"
"github.com/c9s/bbgo/pkg/types"
)
type ExchangeDataSource struct {
C chan types.KLine
Exchange *Exchange
Session *bbgo.ExchangeSession
Callbacks []func(types.KLine, *ExchangeDataSource)
}