qbtrade/pkg/backtest/exchange_klinec.go
2024-06-27 22:42:38 +08:00

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)
}