x bot query

Query to be used for x bot query

Returns currencies, where time duration is 3600 and volume USD is above 10000, sorted by change, highest first: open, close, USD, currency ID, currency name, currency symbol and calculate.

By Kshitij Mahajan · saved 12 September 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Trading {
    Currencies(
      where: {Interval: {Time: {Duration: {eq: 3600}}}, Volume: {Usd: {gt: 10000}}}
      orderBy: {descendingByField: "change"}
    ) {
      Price {
        Ohlc {
          Open
          Close
        }
      }
      Volume {
        Usd
      }
      Currency {
        Id
        Name
        Symbol
      }
      change: calculate(
        expression: "100 * ( $Price_Ohlc_Close - $Price_Ohlc_Open ) / $Price_Ohlc_Open"
      )
    }
  }
}

Similar queries