grid2: init filledOrderIDMap for tests

This commit is contained in:
c9s 2023-03-10 17:11:51 +08:00
parent c6609927f2
commit 3eae532e13
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -408,6 +408,8 @@ func newTestStrategy() *Strategy {
GridNum: 11,
historicalTrades: bbgo.NewTradeStore(),
filledOrderIDMap: types.NewSyncOrderMap(),
// QuoteInvestment: number(9000.0),
}
return s