qbtrade/pkg/backtest/exchange_klinec.go

14 lines
292 B
Go
Raw Normal View History

2024-06-27 14:42:38 +00:00
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)
}