examples/max-eqmaker: fix arg type

This commit is contained in:
c9s 2020-10-10 12:31:27 +08:00
parent 0271137188
commit 0ddab38dc5

View File

@ -210,7 +210,7 @@ func generateOrders(symbol, side string, price, priceTick, baseVolume fixedpoint
// skip order less than 10usd
if volume*price.Float64() < 10.0 {
log.Warnf("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.Float64(), volume, volume*price.Float64())
continue
}