sub 1s

Streams currencies as they happen, where currency ID is bid:bitcoin and time duration is 1: start, duration, currency ID, currency symbol, currency name, USD, open and 3 more fields.

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

What it returns

Filters

The subscription

subscription TradingViewHistory($resolution: Int, $currencyID: String) {
  Trading {
    Currencies(
      where: {Interval: {Time: {Duration: {eq: $resolution}}}, Currency: {Id: {is: $currencyID}}}
    ) {
      Interval {
        Time {
          Start
          Duration
        }
      }
      Currency {
        Id
        Symbol
        Name
      }
      Volume {
        Usd
      }
      Price {
        Ohlc {
          Open
          Close
          Low
          High
        }
      }
    }
  }
}

Variables

{
  "resolution": 1,
  "currencyID": "bid:bitcoin"
}

Similar queries