Skip to content

Bitcoin / U.S. dollar #70

@Horlabrainmoore

Description

@Horlabrainmoore
var settings = {
   "url": "https://streaming.bitquery.io/graphql",
   "method": "POST",
   "timeout": 0,
   "headers": {
      "Content-Type": "application/json",
      "Authorization": "Bearer undefined"
   },
   "data": JSON.stringify({
      "query": "query TradingViewHistory($from: DateTime!, $to: DateTime!, $resolution: Int!, $currencyID: String!) {\n  Trading {\n    Currencies(\n      orderBy: {ascending: Interval_Time_Start}\n      where: {Interval: {Time: {Duration: {eq: $resolution}, Start: {since: $from, till: $to}}}, Currency: {Id: {is: $currencyID}}}\n    ) {\n      Interval {\n        Time {\n          Start\n          Duration\n        }\n      }\n      Currency {\n        Id\n        Symbol\n        Name\n      }\n      Volume {\n        Usd\n      }\n      Price {\n        Ohlc {\n          Open\n          Close\n          Low\n          High\n        }\n      }\n    }\n  }\n}\n",
      "variables": "{\n  \"currencyID\": \"bid:bitcoin\",\n  \"resolution\": 60,\n  \"from\": \"2026-01-11T22:06:32Z\",\n  \"to\": \"2026-01-11T22:35:32Z\"\n}"
   }),
};

$.ajax(settings).done(function (response) {
   console.log(response);
});

[createraw_tx_template.json](https://github.com/user-attachments/files/24557006/createraw_tx_template.json)
[Daily_Volumes__processed_.csv](https://github.com/user-attachments/files/24557005/Daily_Volumes__processed_.csv)
[BigHBrain_Wall_104B$(BTC).json](https://github.com/user-attachments/files/24557004/BigHBrain_Wall_104B.BTC.json)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions