mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
examples/max-eqmaker: fix log format call
This commit is contained in:
parent
52ac0b13e1
commit
9111cc700b
|
@ -210,7 +210,7 @@ func generateOrders(symbol, side string, price, priceTick, baseVolume fixedpoint
|
||||||
|
|
||||||
// skip order less than 10usd
|
// skip order less than 10usd
|
||||||
if volume*price.Float64() < 10.0 {
|
if volume*price.Float64() < 10.0 {
|
||||||
log.Warn("amount too small (< 10usd). price=%f volume=%f amount=%f", price, volume, volume*price.Float64())
|
log.Warnf("amount too small (< 10usd). price=%f volume=%f amount=%f", price, volume, volume*price.Float64())
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user