mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
ignore tmp
This commit is contained in:
parent
51700c951a
commit
0b0c895cd2
|
@ -176,7 +176,7 @@ func (m *StockManager) consume(sell Stock) error {
|
|||
}
|
||||
}
|
||||
|
||||
if !zero(sell.Quantity) {
|
||||
if sell.Quantity > 0.0 {
|
||||
m.PendingSells = append(m.PendingSells, sell)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user