bscOHLC
Returns 100000 DEX trades on Ethereum and BNB Chain, where base currency is 0x81f7…894a, quote currency is 0xbb4c…095c and exchange name is Pancake v2, sorted by time interval minute: minute, quote price, minimum of block and maximum of block.
What it returns
- minute
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0x81f7…894a
- quote currency is 0xbb4c…095c
- exchange name is Pancake v2
- date since 2022-01-01
The query
query bscOHLC (
$network: EthereumNetwork!
$limit: Int!
$exchangeName: String!
$date_since: ISO8601DateTime!
$baseCurrency: String!
$quoteCurrency: String!
$timeInterval: Int=5
)
{
ethereum(network: $network) {
dexTrades(
options: {limit: $limit, asc: "timeInterval.minute"}
date: {since: $date_since}
exchangeName: {is: $exchangeName}
baseCurrency: {is: $baseCurrency}
quoteCurrency: {is: $quoteCurrency}
) {
timeInterval {
minute(count: $timeInterval)
}
maximum_price: quotePrice(calculate: maximum)
minimum_price: quotePrice(calculate: minimum)
open_price: minimum(of: block, get: quote_price)
close_price: maximum(of: block, get: quote_price)
}
}
}
Variables
{
"network": "bsc",
"limit": 100000 ,
"exchangeName": "Pancake v2" ,
"baseCurrency": "0x81f7bbfc362994badcdcae1b38d426be4d82894a" ,
"quoteCurrency": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c" ,
"date_since": "2022-01-01" ,
"timeInterval": 15
}
Similar queries
- Latest DODO DEX swaps on BSC · BNB Chain · DEXTrades
- Top DODO liquidity pools by 24h volume on BSC · BNB Chain · DEXTrades
- trades · Ethereum · DEXTrades
- metric_v1_bsc · BNB Chain · DEXTrades
- bsc_tessera · BNB Chain · DEXTrades