mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
fix fee calculation
This commit is contained in:
parent
78be592fee
commit
80f50ecb19
|
@ -98,7 +98,6 @@ func (m *StockManager) consume(sell Stock) error {
|
|||
m.mu.Lock()
|
||||
defer m.mu.Unlock()
|
||||
|
||||
|
||||
if len(m.Stocks) == 0 {
|
||||
m.PendingSells = append(m.PendingSells, sell)
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user