When the futures mode is enabled and with bbgo run command, MinNotionalFilter() of go-binance returns a nil value, but other filter functions like LotSizeFilter() and PriceFilter() work fine.
I disabled markets cache in .env.local using DISABLE_MARKETS_CACHE=true.
Then run the "bbgo run" command
in the toGlobalFuturesMarket() function of pkg/exchange/binance/convert.go, the following code snippet's f shows nil:
if f := symbol.MinNotionalFilter(); f != nil {
market.MinNotional = fixedpoint.MustNewFromString(f.Notional)
market.MinAmount = fixedpoint.MustNewFromString(f.Notional)
}
I think market.MinNotional and market.MinAmount are not being set correctly, causing me to always get 0 from s.Market.MinNotional and s.Market.MinAmount in my strategy.
When the futures mode is enabled and with bbgo run command, MinNotionalFilter() of go-binance returns a nil value, but other filter functions like LotSizeFilter() and PriceFilter() work fine.
I disabled markets cache in .env.local using DISABLE_MARKETS_CACHE=true.
Then run the "bbgo run" command in the toGlobalFuturesMarket() function of pkg/exchange/binance/convert.go, the following code snippet's f shows nil:
I think market.MinNotional and market.MinAmount are not being set correctly, causing me to always get 0 from s.Market.MinNotional and s.Market.MinAmount in my strategy.