volume and trades for a pancake token
Returns DEX trades by token on BNB Chain, where currency smart contract is 0x0e09…ce82 and DEX owner address is 0x0bfb…1865: currency name, currency symbol, smart contract, sum of trade side amount in USD, count, unique of trade buyer, unique of trade seller and 2 more fields.
What it returns
- currency name
- currency symbol
- smart contract
- sum of trade side amount in USD
- count
- unique of trade buyer
- unique of trade seller
- standard deviation of trade price in USD
- average of trade price in USD
Filters
- currency smart contract is 0x0e09…ce82
- DEX owner address is 0x0bfb…1865
The query
query MyQuery($currency: String) {
EVM(network: bsc) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: $currency}}, Dex: {OwnerAddress: {is: "0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865"}}, Success: true}, Block: {Time: {since_relative: {hours_ago: 24}}}}
) {
Trade {
Currency {
Name
Symbol
SmartContract
}
}
volumer: sum(of: Trade_Side_AmountInUSD)
trades: count
buyers: uniq(of: Trade_Buyer,)
sellers: uniq(of: Trade_Seller)
volatility:standard_deviation(of: Trade_PriceInUSD)
average_price: average(of: Trade_PriceInUSD)
}
}
}
Variables
{
"currency": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"
}
Similar queries
- bStocks 3am: QQQB 30-day DEX volume · BNB Chain · DEXTradeByTokens
- bStocks 3am: tokenized Tesla 30-day volume · BNB Chain · DEXTradeByTokens
- bsc token ohlcv · BNB Chain · DEXTradeByTokens
- optimized query to get pools data · Ethereum · DEXTradeByTokens
- KTI_primeiros_trades · BNB Chain · DEXTradeByTokens