Net flow (buys - sells) per token symbol
Returns 100 trades, where market network is Solana, sorted by net flow, highest first: count, average of amounts in USD quote, sum of amounts in USD quote, calculate, pool address, market address, program and 8 more fields.
What it returns
- count
- average of amounts in USD quote
- sum of amounts in USD quote
- calculate
- pool address
- market address
- program
- network
- token address
- token ID
- is native
- token symbol
- quote token address
- quote token ID
- quote token symbol
Filters
- market network is Solana
The query
{
Trading {
Trades(
limit:{count:100}
orderBy: {descendingByField: "net_flow"}
where: {Block: {Time: {since_relative: {hours_ago: 1}}}, Pair: {Market: {Network: {is: "Solana"}}}}
) {
count
average_trade_size: average(of: AmountsInUsd_Quote)
total_volume:sum(of:AmountsInUsd_Quote)
buy_volume:sum(of:AmountsInUsd_Quote if:{Side:{is:"Buy"}})
sell_volume:sum(of:AmountsInUsd_Quote if:{Side:{is:"Sell"}})
buys:count(if:{Side:{is:"Buy"}})
sells:count(if:{Side:{is:"Sell"}})
net_flow:calculate(expression:"$buys -$sells")
Pair {
Pool {
Address
}
Market {
Address
Program
Network
}
Token {
Address
Id
IsNative
Symbol
TokenId
Network
}
QuoteToken {
Address
Id
IsNative
Symbol
TokenId
Network
}
}
}
}
}
Similar queries
- Trading API: Solana Trades with Transaction Hash · Trading (all chains) · Trades
- Elysium latest trades of one token (WHYPE) · Trading (all chains) · Trades
- FOMO App: Trades per Day (Trading API) · Trading (all chains) · Trades
- save with commit · Trading (all chains) · Tokens