mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 00:05:15 +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)
|
|
}
|