trading volume buy volume sell volume of the Meta xStock per pool
Returns 100 trades, where market network is Solana and token ID is bid:solana:Xsa62P5mvPszXL1krVUnU5ar38bBSVcWAB6fmPCo5Zu, sorted by traded volume USD, highest first: protocol, market address, token name, token symbol, token address, quote token name, quote token symbol and 4 more fields.
What it returns
- protocol
- market address
- token name
- token symbol
- token address
- quote token name
- quote token symbol
- quote token address
- count
- sum of amounts in USD quote
- sum of amounts base
Filters
- market network is Solana
- token ID is bid:solana:Xsa62P5mvPszXL1krVUnU5ar38bBSVcWAB6fmPCo5Zu
The query
query MyQuery {
Trading {
Trades(
limit: { count: 100 }
orderBy: { descendingByField: "traded_volume_USD" }
where: {
Block: { Time: { since_relative: { hours_ago: 24 } } }
Pair: {
Market: { Network: { is: "Solana" } }
Token: {
Id: { is: "bid:solana:Xsa62P5mvPszXL1krVUnU5ar38bBSVcWAB6fmPCo5Zu" }
}
}
}
) {
Pair {
Market {
Protocol
Address
}
Token {
Name
Symbol
Address
}
QuoteToken {
Name
Symbol
Address
}
}
trades: count
traded_volume_USD: sum(of: AmountsInUsd_Quote)
traded_volume: sum(of: Amounts_Base)
buy_volume: sum(of: Amounts_Base, if: { Side: { is: "Buy" } })
sell_volume: sum(of: Amounts_Base, if: { Side: { is: "Sell" } })
}
}
}
Similar queries
- Elysium latest trades of one token (WHYPE) · Trading (all chains) · Trades
- Elysium DEX protocols by trade count · Trading (all chains) · Trades
- FOMO App: Trades per Day (Trading API) · Trading (all chains) · Trades
- save with commit · Trading (all chains) · Tokens