mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix generateGridSellOrders with ProfitSpread for begining
This commit is contained in:
parent
5ed337926d
commit
056afb577c
|
@ -206,7 +206,7 @@ func (s *Strategy) generateGridSellOrders(session *bbgo.ExchangeSession) ([]type
|
|||
Type: types.OrderTypeLimit,
|
||||
Market: s.Market,
|
||||
Quantity: quantity.Float64(),
|
||||
Price: price.Float64(),
|
||||
Price: price.Float64() + s.ProfitSpread.Float64(),
|
||||
TimeInForce: "GTC",
|
||||
GroupID: s.groupID,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user