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