mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
grid2: update comment
This commit is contained in:
parent
8c09c9668a
commit
273659a870
|
@ -766,7 +766,7 @@ func (s *Strategy) calculateBaseQuoteInvestmentQuantity(quoteInvestment, baseInv
|
|||
// then reduce the numberOfSellOrders
|
||||
numberOfSellOrders := s.BaseGridNum
|
||||
|
||||
// if it's not configured
|
||||
// if it's not configured, calculate the number of sell orders
|
||||
if numberOfSellOrders == 0 {
|
||||
for i := len(pins) - 1; i >= 0; i-- {
|
||||
pin := pins[i]
|
||||
|
|
Loading…
Reference in New Issue
Block a user