'How to use TokenDayData in Uniswap

I am using uniswap v2 subgraph to get data. TokenDayData lets you search historically. I'm trying to query historical data for a token with this query:

{
  tokenDayData(id: "0x56143e2736c1b7f8a7d8c74707777850b46ac9af-19086.058842592593") {
    token {
      id
    }
  }
}

and getting the response:

  "data": {
    "tokenDayData": null
  }

How can I get real data?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source