mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 16:21:09 +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
|
// 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]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user