OHLCV of a trends fun token
Returns the latest 10 currencies, where currency ID is bid:solana:CY1P83KnKwFYostvjQcoR2HJLyEJWRBRaVQmYyyD3cR8 and time duration is 1: currency ID, currency name, currency symbol, block date, block time, timestamp, start and 16 more fields.
What it returns
- currency ID
- currency name
- currency symbol
- block date
- block time
- timestamp
- start
- duration
- end
- base
- base attributed to USD
- quote
- USD
- is quoted in USD
- open
- high
- low
- close
- estimate
- exponential moving
- mean
- simple moving
- weighted simple moving
Filters
- currency ID is bid:solana:CY1P83KnKwFYostvjQcoR2HJLyEJWRBRaVQmYyyD3cR8
- time duration is 1
The query
{
Trading {
Currencies(
where: {
Currency: { Id: { is: "bid:solana:CY1P83KnKwFYostvjQcoR2HJLyEJWRBRaVQmYyyD3cR8" } },
Interval: { Time: { Duration: { eq: 1 } } }
},
limit: { count: 10 },
orderBy: { descending: Block_Time }
) {
Currency {
Id
Name
Symbol
}
Block {
Date
Time
Timestamp
}
Interval {
Time {
Start
Duration
End
}
}
Volume {
Base
BaseAttributedToUsd
Quote
Usd
}
Price {
IsQuotedInUsd #The price is shown in USD (`IsQuotedInUsd: true` by default).
Ohlc {
Open # Earliest price across chains in the interval
High # Highest price across chains in the interval
Low # Lowest price across chains in the interval
Close # Latest price across chains in the interval
}
Average {
Estimate
ExponentialMoving
Mean
SimpleMoving
WeightedSimpleMoving
}
}
}
}
}
Similar queries
- Currency Liquidity Across Chains · Trading (all chains) · Currencies
- Latest Bitcoin Price (Trading API) · Trading (all chains) · Currencies
- Arbitrum mcap · Trading (all chains) · Currencies
- btc volume, tokens vs currency cube · Trading (all chains) · Currencies
- tv-currency · Trading (all chains) · Currencies