bangz ohlc issue timeperiod_

Returns the latest DEX trades by token on Solana, where currency mint address is Cxp4mD…pump, side currency mint address is So1111…1112 and block time since 2025-04-20: block time, sum of trade amount, trade price, side currency mint address and count.

By Omkar_BQ · saved 22 April 2025 · run 18 times · Bitquery API v2

What it returns

Filters

The query

query HistoryMinuteOhlcPrice {
  Solana(dataset: combined) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "Block_Timefield"}
      where: {Trade: {Currency: {MintAddress: {is: "Cxp4mDii1qPTTST8NeBWfVYaxKdQDDh2J1BkLaPmpump"}}, Side: {Currency: {MintAddress: {is:"So11111111111111111111111111111111111111112"}}, AmountInUSD: {gt: "10"}}, PriceAsymmetry: {lt: 0.1}}, Block: {Time: {since: "2025-04-20T02:52:00Z", till: "2025-04-20T02:55:00Z"}}}
    ) {
      Block {
        Timefield: Time(interval: {in: minutes, count: 1})
      }
      volume: sum(of: Trade_Amount)
      Trade {
        high: Price(maximum: Trade_Price)
        Side {
          Currency {
            MintAddress
          }
        }
      }
      count
    }
  }
}

Similar queries