diff --git a/bbgo/context.go b/bbgo/context.go index aeab60788..2c00bc505 100644 --- a/bbgo/context.go +++ b/bbgo/context.go @@ -19,6 +19,7 @@ type TradingContext struct { Balances map[string]types.Balance Quota map[string]types.Balance ProfitAndLossCalculator *ProfitAndLossCalculator + StockManager *StockManager } func (c *TradingContext) SetCurrentPrice(price float64) {