grid2: add more parameters to the test strategy

This commit is contained in:
c9s 2022-12-04 17:36:35 +08:00
parent 5344b3d768
commit bec1103a64
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -107,10 +107,14 @@ func newTestStrategy() *Strategy {
BaseCurrency: "BTC",
QuoteCurrency: "USDT",
}
s := &Strategy{
logger: logrus.NewEntry(logrus.New()),
Market: market,
GridProfitStats: newGridProfitStats(market),
UpperPrice: number(20_000),
LowerPrice: number(10_000),
GridNum: 10,
}
return s
}