Skip to content

Commit

Permalink
binance: fix notional filter
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Mar 13, 2024
1 parent 2a7ca42 commit 51a340e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/exchange/binance/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func toGlobalMarket(symbol binance.Symbol) types.Market {
BaseCurrency: symbol.BaseAsset,
}

if f := symbol.MinNotionalFilter(); f != nil {
if f := symbol.NotionalFilter(); f != nil {
market.MinNotional = fixedpoint.MustNewFromString(f.MinNotional)
market.MinAmount = fixedpoint.MustNewFromString(f.MinNotional)
}
Expand Down

0 comments on commit 51a340e

Please sign in to comment.