Raydium_pools_0_30min_ohlcv

Extract minute-by-minute OHLCV data from m0 to m+30 in Raydium pools

Returns 30 DEX trades by token on Solana, where currency mint address is 6gh8b2…pump, side currency mint address is So1111…1112 and DEX protocol family contains Raydium, sorted by block timefield: block time, sum of trade amount, trade price, currency name, side currency name and count.

By SH · saved 20 December 2024 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query Raydium_pools_0_30min_ohlcv {
  Solana(dataset: archive) {
    DEXTradeByTokens(
      orderBy: {ascendingByField: "Block_Timefield"}
      where: {Trade: {Currency: {MintAddress: {is: "6gh8b2mqUrVb6Ew8Mwt89tNyN9keCDNstzT5cdp5pump"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}, Dex: {ProtocolFamily: {includes: "Raydium"}}}}
      limit: {count: 30}
    ) {
      Block {
        Timefield: Time(interval: {in: minutes, count: 1})
      }
      volume: sum(of: Trade_Amount)
      Trade {
        high: Price(maximum: Trade_Price)
        low: Price(minimum: Trade_Price)
        open: Price(minimum: Block_Slot)
        close: Price(maximum: Block_Slot)
        Currency {
          Name
        }
        Side {
          Currency {
            Name
          }
        }
      }
      count
    }
  }
}

Similar queries