mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
pivotshort: call BindTradeStats
This commit is contained in:
parent
6cae9e7449
commit
c80fe1af33
|
@ -204,6 +204,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
|
|||
s.orderExecutor = bbgo.NewGeneralOrderExecutor(session, s.Symbol, ID, instanceID, s.Position)
|
||||
s.orderExecutor.BindEnvironment(s.Environment)
|
||||
s.orderExecutor.BindProfitStats(s.ProfitStats, s.Notifiability.Notify)
|
||||
s.orderExecutor.BindTradeStats(s.TradeStats)
|
||||
s.orderExecutor.Bind(s.Notifiability.Notify)
|
||||
|
||||
store, _ := session.MarketDataStore(s.Symbol)
|
||||
|
|
Loading…
Reference in New Issue
Block a user