bbgo/pkg/backtest/exchange_klinec.go

14 lines
280 B
Go

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