hedge fund demo query 2

Returns currencies, where currency ID is bid:solana:Ei4SDTjdgpYjd2bru93sNdNqBdZbZnvG5wS6aw3hRWgD and time duration is 3600, sorted by interval time start: estimate, weighted simple moving, open, high, low, close, USD and 2 more fields.

By Kshitij Mahajan · saved 11 November 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Trading {
    Currencies(
      where: {Currency: {Id: {is: "bid:solana:Ei4SDTjdgpYjd2bru93sNdNqBdZbZnvG5wS6aw3hRWgD"}}, Interval: {Time: {Duration: {eq: 3600}}}, Block: {Time: {since_relative: {hours_ago: 24}}}}
      orderBy: {ascending: Interval_Time_Start}
    ) {
      Price {
        Average {
          Estimate
          WeightedSimpleMoving
        }
        Ohlc {
          Open
          High
          Low
          Close
        }
      }
      Volume {
        Usd
      }
      Interval {
        Time {
          Start
          End
        }
      }
    }
  }
}

Similar queries