You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: