mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
binance: fix notional filter
This commit is contained in:
parent
2a7ca4233d
commit
51a340e922
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user