get cryptocurrency by volatility
Returns currencies, where time duration is 3600, sorted by volatility, highest first: currency ID, average of price OHLC close, standard deviation of price OHLC close, calculate, start and end.
What it returns
- currency ID
- average of price OHLC close
- standard deviation of price OHLC close
- calculate
- start
- end
Filters
- time duration is 3600
The query
query MyQuery {
Trading {
Currencies(
orderBy: {descendingByField: "volatility", descending: Interval_Time_Start}
where: {Price: {IsQuotedInUsd: true}, Interval: {Time: {Duration: {eq: 3600}}}}
) {
Currency {
Id
}
average(of: Price_Ohlc_Close)
standard_deviation(of: Price_Ohlc_Close)
volatility: calculate(expression: "100 * ( $standard_deviation / $average )")
Interval {
Time {
Start
End
}
}
}
}
}
Similar queries
- Currency Liquidity Across Chains · Trading (all chains) · Currencies
- Latest Bitcoin Price (Trading API) · Trading (all chains) · Currencies
- Arbitrum mcap · Trading (all chains) · Currencies
- btc volume, tokens vs currency cube · Trading (all chains) · Currencies
- tv-currency · Trading (all chains) · Currencies