grid2: update comment

This commit is contained in:
c9s 2023-05-26 14:51:06 +08:00
parent 8c09c9668a
commit 273659a870
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -766,7 +766,7 @@ func (s *Strategy) calculateBaseQuoteInvestmentQuantity(quoteInvestment, baseInv
// then reduce the numberOfSellOrders // then reduce the numberOfSellOrders
numberOfSellOrders := s.BaseGridNum numberOfSellOrders := s.BaseGridNum
// if it's not configured // if it's not configured, calculate the number of sell orders
if numberOfSellOrders == 0 { if numberOfSellOrders == 0 {
for i := len(pins) - 1; i >= 0; i-- { for i := len(pins) - 1; i >= 0; i-- {
pin := pins[i] pin := pins[i]