Trying to retrive the max price of a token but I'm getting a really High Value

Hi there! I’m trying to get the max price of, for instance, the Uniswap token.

The query I’m using is the following, trying to get the UNI/WETH pair.

{
  ethereum(network: ethereum) {
    dexTrades(
      baseCurrency: {is: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"}
      quoteCurrency: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}
    ) {
      quotePrice(calculate: any)
    }
  }
}

Computing then the value with the current price of WETH would seems to give me the right price when I’m using “any”, but I get really high values when I select “maximum”.

Is there something I’m doing wrong?

Include a date criteria (between, after, before, anything…) to get the correct result.
Use maximum(of: quote_price, get: quote_price) to get max value.

See the below query for example

{
  ethereum(network: ethereum) {
    dexTrades(
      baseCurrency: {is: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"}
      quoteCurrency: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}
      date: {after: "2023-01-24"}
     
    ) {
      maximum(of: quote_price, get: quote_price)
      date {
        date
      }
      quotePrice
      quoteCurrency {
        name
        symbol
      }
    }
  }
}