mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 15:25:14 +00:00
14 lines
264 B
Go
14 lines
264 B
Go
package backtest
|
|
|
|
import (
|
|
"github.com/c9s/bbgo/pkg/bbgo"
|
|
"github.com/c9s/bbgo/pkg/types"
|
|
)
|
|
|
|
type ExchangeDataSource struct {
|
|
C chan types.KLine
|
|
Exchange *Exchange
|
|
Session *bbgo.ExchangeSession
|
|
Callbacks []func(types.KLine, *ExchangeDataSource)
|
|
}
|