diff --git a/oracle/provider/finv2.go b/oracle/provider/finv2.go index 7b2a752..2925026 100644 --- a/oracle/provider/finv2.go +++ b/oracle/provider/finv2.go @@ -135,11 +135,11 @@ func (p *FinV2Provider) Poll() error { high = base } - spread := high.Sub(low) - if high.GT(low.Mul(floatToDec(1.1))) { + spread := high.Sub(low).Quo(low) p.logger.Error(). Str("spread", spread.String()). + Str("symbol", symbol). Msg("spread too large") continue }