Giter Club home page Giter Club logo

Comments (7)

ticruz38 avatar ticruz38 commented on August 17, 2024

you can query volumeUSD under the ticks field

from v3-subgraph.

huyutao3550346 avatar huyutao3550346 commented on August 17, 2024

Thank you for answering my questions.
I have tried but the volumeUSD under the ticks fiels also get 0...
I query in this url:https://thegraph.com/explorer/subgraph/ianlapham/uniswap-v3-prod
here is my sql:
fragment ticksfield on Tick {
id
volumeUSD

} query {
ticks(first: 10, orderBy: volumeUSD, orderDirection: desc) {
...ticksfield
}
}

and result is:
image

I noticed that the volumeUSD of tick is always set to ZERO_BD in https://github.com/Uniswap/uniswap-v3-subgraph/blob/main/src/utils/tick.ts
image

you can query volumeUSD under the ticks field

from v3-subgraph.

ticruz38 avatar ticruz38 commented on August 17, 2024

indeed, I do have 0 for each tick as well

from v3-subgraph.

TonyZhangkz avatar TonyZhangkz commented on August 17, 2024

same issue here - I don't seem to be able to find any data regarding ticks

from v3-subgraph.

jarry-xiao avatar jarry-xiao commented on August 17, 2024

Bumping this issue. This is basically the whole point of having UniV3, so accessing this volumeUSD field is pretty important

from v3-subgraph.

sydneyhenrard avatar sydneyhenrard commented on August 17, 2024

I think it's not yet implemented see https://github.com/Uniswap/uniswap-v3-subgraph/blob/main/src/mappings/core.ts#L145

from v3-subgraph.

huyutao3550346 avatar huyutao3550346 commented on August 17, 2024

also see dune.
https://dune.xyz/yulesa/Liquidity-Distribution

from v3-subgraph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.