binance: fix notional filter

This commit is contained in:
c9s 2024-03-13 18:14:24 +08:00
parent 2a7ca4233d
commit 51a340e922
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -24,7 +24,7 @@ func toGlobalMarket(symbol binance.Symbol) types.Market {
BaseCurrency: symbol.BaseAsset, BaseCurrency: symbol.BaseAsset,
} }
if f := symbol.MinNotionalFilter(); f != nil { if f := symbol.NotionalFilter(); f != nil {
market.MinNotional = fixedpoint.MustNewFromString(f.MinNotional) market.MinNotional = fixedpoint.MustNewFromString(f.MinNotional)
market.MinAmount = fixedpoint.MustNewFromString(f.MinNotional) market.MinAmount = fixedpoint.MustNewFromString(f.MinNotional)
} }