Examples / Everyday
Days AAPL traded three times its normal volume
Level 2 · EverydayPOST/v1/query
What it answers
Evaluates expressions over AAPL's full history and keeps only the days where volume was more than three times its 20-day average, newest first.
Request
Input
POST /v1/query{ "symbol": "AAPL", "select": [ "close", "ret as day_return", "rvol(20) as rel_volume", "close / sma(200) - 1 as dist_200d" ], "where": "rvol(20) > 3", "limit": 10 }
Live output billed to your account
Response
Output 200 OK
{ "ok": true, "data": { "symbol": "AAPL", "columns": [ "date", "close", "day_return", "rel_volume", "dist_200d" ], "rows_matched": 116, "sort": "date", "order": "desc", "rows": [ { "date": "2026-06-26", "close": 283.54, "day_return": 0.031392, "rel_volume": 3.907235, "dist_200d": 0.054664 }, { "date": "2024-09-20", "close": 226.31, "day_return": -0.002908, "rel_volume": 5.245378, "dist_200d": 0.164473 }, { "date": "2024-06-12", "close": 211.06, "day_return": 0.028608, "rel_volume": 3.007962, "dist_200d": 0.172656 }, { "date": "2019-07-31", "close": 50.92, "day_return": 0.020441, "rel_volume": 3.2246, "dist_200d": 0.146663 }, { "date": "2018-08-01", "close": 47.44, "day_return": 0.058929, "rel_volume": 3.159113, "dist_200d": 0.147354 }, { "date": "2017-02-01", "close": 29.59, "day_return": 0.060954, "rel_volume": 3.464163, "dist_200d": 0.205303 }, { "date": "2016-09-14", "close": 25.56, "day_return": 0.035237, "rel_volume": 3.12957, "dist_200d": 0.104283 }, { "date": "2016-04-27", "close": 22.11, "day_return": -0.062738, "rel_volume": 3.066285, "dist_200d": -0.103701 }, { "date": "2014-09-09", "close": 21.57, "day_return": -0.003695, "rel_volume": 3.195199, "dist_200d": 0.169128 }, { "date": "2012-02-15", "close": 14.89, "day_return": -0.022966, "rel_volume": 3.137295, "dist_200d": 0.29327 } ], "interval": "1day" }, "meta": { "op": "query", "units": 26, "cost_usd": 0.0, "billing": "internal", "free_call": false, "free_calls_left": 0, "balance_usd": 5.0, "ms": 1, "interval": "1day", "data_as_of": "2026-11-12", "partial_last_bar": false } }
How to read it
Each row is one day; columns are named with the as alias. rows_matched is the total number of days that met the condition, while rows holds the latest limit of them.
Parameters and limits: Query reference. Analytics, not advice.