bbgo_origin/pkg/backtest/exchange_klinec.go

14 lines
264 B
Go
Raw Permalink Normal View History

2022-05-06 11:16:15 +00:00
package backtest
2022-05-11 05:59:44 +00:00
import (
"github.com/c9s/bbgo/pkg/bbgo"
"github.com/c9s/bbgo/pkg/types"
)
2022-05-06 11:16:15 +00:00
type ExchangeDataSource struct {
C chan types.KLine
Exchange *Exchange
Session *bbgo.ExchangeSession
Callbacks []func(types.KLine, *ExchangeDataSource)
2022-05-06 11:16:15 +00:00
}