OHLC for a token
Aggregated Price of all tokens in real time on one chain in 1-second time period
What it returns
- start
- end
- open
- high
- low
- close
- base
- USD
Filters
- token address is EPjFWd…Dt1v
- market address is 445fd6…vt8v
- time duration is 1
The query
# Historical data
# The Trading cube covers real time and roughly the last 30 days. For
# anything older, rebuild the same numbers from raw trades with
# DEXTradeByTokens.
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
{
Trading {
Pairs(
limit: {count: 10}
orderBy: {descending: Block_Time}
where: {Interval: {Time: {Duration: {eq: 1}}}, Token: {Address: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}, Market: {Address: {is: "445fd6ffBZqWYsryCgs6wcE8exaLkRsMrefAQ5UHvt8v"}}}
) {
Interval {
Time {
Start
End
}
}
Price {
Ohlc {
Open
High
Low
Close
}
}
Volume {
Base
Usd
}
}
}
}
Similar queries
- Robinhood Chain Aero Slipstream top liquidity pools by volume · Trading (all chains) · Pairs
- Robinhood Chain Ramses top liquidity pools by volume · Trading (all chains) · Pairs
- arc mainnet minara pool price · Trading (all chains) · Pairs
- Arc Mainnet Trading: Latest price of a token (v2) · Trading (all chains) · Pairs
- save with commit · Trading (all chains) · Tokens