diff --git a/pkg/bbgo/trader.go b/pkg/bbgo/trader.go index 540322882..6a4747f57 100644 --- a/pkg/bbgo/trader.go +++ b/pkg/bbgo/trader.go @@ -36,8 +36,6 @@ type CrossExchangeStrategy interface { } type Trader struct { - Notifiability - environment *Environment riskControls *RiskControls diff --git a/pkg/cmd/run.go b/pkg/cmd/run.go index b684db586..6ec231413 100644 --- a/pkg/cmd/run.go +++ b/pkg/cmd/run.go @@ -127,7 +127,6 @@ func runConfig(ctx context.Context, userConfig *bbgo.Config) error { trader := bbgo.NewTrader(environ) - trader.Notifiability = notification if userConfig.RiskControls != nil { trader.SetRiskControls(userConfig.RiskControls)