Default price adapter: oracle → FIN book mid-price fallback.
Summary
Functions
Memoized FIN-derived price: mid-price of the asset's default pair (a stable pair when one exists, otherwise the first pair quoting that asset), multiplied by the quote asset's USD price.
Memoized oracle price lookup.
Functions
Memoized FIN-derived price: mid-price of the asset's default pair (a stable pair when one exists, otherwise the first pair quoting that asset), multiplied by the quote asset's USD price.
Invalidate with Memoize.invalidate(Rujira.Prices.Default, :fin_price, [ticker]).
Memoized oracle price lookup.
Invalidate with Memoize.invalidate(Rujira.Prices.Default, :oracle_price, [ticker]).