mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
fix: move sourceselector to bbgo folder
This commit is contained in:
parent
b35bce1afd
commit
67e57b49eb
|
@ -1,4 +1,4 @@
|
|||
package strategy
|
||||
package bbgo
|
||||
|
||||
import (
|
||||
"strings"
|
|
@ -19,7 +19,6 @@ import (
|
|||
"github.com/c9s/bbgo/pkg/fixedpoint"
|
||||
"github.com/c9s/bbgo/pkg/indicator"
|
||||
"github.com/c9s/bbgo/pkg/interact"
|
||||
"github.com/c9s/bbgo/pkg/strategy"
|
||||
"github.com/c9s/bbgo/pkg/types"
|
||||
"github.com/c9s/bbgo/pkg/util"
|
||||
)
|
||||
|
@ -43,7 +42,7 @@ type Strategy struct {
|
|||
bbgo.StrategyController
|
||||
types.Market
|
||||
types.IntervalWindow
|
||||
strategy.SourceSelector
|
||||
bbgo.SourceSelector
|
||||
|
||||
*bbgo.Environment
|
||||
*types.Position `persistence:"position"`
|
||||
|
|
|
@ -14,7 +14,6 @@ import (
|
|||
"github.com/c9s/bbgo/pkg/datatype/floats"
|
||||
"github.com/c9s/bbgo/pkg/fixedpoint"
|
||||
"github.com/c9s/bbgo/pkg/indicator"
|
||||
"github.com/c9s/bbgo/pkg/strategy"
|
||||
"github.com/c9s/bbgo/pkg/types"
|
||||
"github.com/c9s/bbgo/pkg/util"
|
||||
"github.com/sirupsen/logrus"
|
||||
|
@ -38,8 +37,8 @@ type Strategy struct {
|
|||
Symbol string `json:"symbol"`
|
||||
|
||||
bbgo.StrategyController
|
||||
bbgo.SourceSelector
|
||||
types.Market
|
||||
strategy.SourceSelector
|
||||
Session *bbgo.ExchangeSession
|
||||
|
||||
Interval types.Interval `json:"interval"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user