14 lines
292 B
Go
14 lines
292 B
Go
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)
|
|
}
|