OHLCV_ok_20250615
Solana OHLCV for given token by interval with limit
Returns the latest 269 DEX trades by token on Solana, where currency mint address is 2ru87k…pump, side currency mint address is So1111…1112 and block time since 2025-01-26: block time, sum of trade amount in USD, sum of trade amount, currency name, currency symbol, currency mint address, side currency name and 8 more fields.
What it returns
- block time
- sum of trade amount in USD
- sum of trade amount
- currency name
- currency symbol
- currency mint address
- side currency name
- side currency symbol
- side currency mint address
- program address
- protocol family
- protocol name
- price in USD
- trade price
- count
Filters
- currency mint address is 2ru87k…pump
- side currency mint address is So1111…1112
- block time since 2025-01-26
- trade price asymmetry is below 0.1
The query
query GetOHLCV(
$mintAddress: String
$interval: OLAP_DateTimeIntervalUnits
$intervalCount: Int
$limit: Int
) {
Solana {
DEXTradeByTokens(
orderBy: { descendingByField: "Block_Time" }
where: { Trade: { Currency: { MintAddress: { is: $mintAddress } }, Side: { Currency: { MintAddress: { is: "So11111111111111111111111111111111111111112" } } }, PriceAsymmetry: { lt: 0.1 } }, Block: { Time: { since: "2025-01-26T11:03:00Z" } } }
limit: { count: $limit }
) {
Block {
Time(interval: { in: $interval, count: $intervalCount })
lastTradeTime: Time(maximum: Block_Time)
firstTradeTime: Time(minimum: Block_Time)
}
volumeUSD: sum(of: Trade_AmountInUSD)
volume: sum(of: Trade_Amount)
Trade {
Currency {
Name
Symbol
MintAddress
}
Side {
Currency {
Name
Symbol
MintAddress
}
}
Dex {
ProgramAddress
ProtocolFamily
ProtocolName
}
highUSD: PriceInUSD(maximum: Trade_Price)
lowUSD: PriceInUSD(minimum: Trade_Price)
openUSD: PriceInUSD(minimum: Block_Slot)
closeUSD: PriceInUSD(maximum: Block_Slot)
high: Price(maximum: Trade_Price)
low: Price(minimum: Trade_Price)
open: Price(minimum: Block_Slot)
close: Price(maximum: Block_Slot)
}
count
}
}
}
Variables
{
"mintAddress": "2ru87k7yAZnDRsnqVpgJYETFgqVApuBcwB2xDb19pump",
"interval": "hours",
"intervalCount": 1,
"limit": 269
}
Similar queries
- ANSEM daily traders, June 16 to 26, 2026 · Solana · DEXTradeByTokens
- Solana SOL/USDC 1-Minute OHLC with DEXTradeByTokens · Solana · DEXTradeByTokens
- FOMO App: Top Tokens Bought, Last Hour (Solana) · Solana · DEXTradeByTokens
- FOMO App: Most Active Wallets, Last Hour (Solana) · Solana · DEXTradeByTokens
- Buys, Sells, BuyVolume, SellVolume, Makers, TotalTradedVolume, PriceinUSD for solana token pair · Solana · DEXTradeByTokens