1 sec

Returns currencies, where currency ID is bid:bitcoin, time start since 2025-08-13 and time start till 2025-08-14, sorted by interval time start: start, duration, currency ID, currency symbol, currency name, USD, open and 3 more fields.

By Nadia · saved 14 August 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query TradingViewHistory($from: DateTime, $to: DateTime, $resolution: Int, $currencyID: String) {
  Trading {
    Currencies(
      orderBy: {ascending: Interval_Time_Start}
      where: {Interval: {Time: {Duration: {eq: $resolution}, Start: {since: $from, till: $to}}}, Currency: {Id: {is: $currencyID}}}
    ) {
      Interval {
        Time {
          Start
          Duration
        }
      }
      Currency {
        Id
        Symbol
        Name
      }
      Volume {
        Usd
      }
      Price {
        Ohlc {
          Open
          Close
          Low
          High
        }
      }
    }
  }
}

Variables

{
  "resolution": 1,
  "from": "2025-08-13T09:19:09Z",
  "to": "2025-08-14T09:19:09Z",
  "currencyID": "bid:bitcoin"
}

Similar queries