Data API
Sunday, November 8th 2026
How to Use the ORATS 1-Minute Data Lake
Query every one-minute options snapshot since August 2020 directly in S3, with the AWS CLI, DuckDB, Python or Athena.
Summary
A step-by-step guide to reading the ORATS 1-minute options data lake through your own S3 access point. It covers the file layout for per-symbol and All Symbols plans, the requester-pays setting every tool needs, and a series of DuckDB examples on the September 18, 2026 quad witching session: at-the-money IV minute by minute, 0DTE SPX straddle decay, the SPX smile from open to close, bid-ask spreads by time of day, a market-wide volume and IV scan, and an implied-versus-realized study across expiration days, with tips for keeping requests and costs small.
The ORATS 1-minute data lake holds every one-minute options snapshot we have recorded since August 2020, as Parquet files in Amazon S3. A trading day has a snapshot for each minute from 9:30 to 16:15 Eastern, and each snapshot holds the full chain: bid and ask quotes, sizes, volume and open interest, implied volatilities, ORATS smoothed volatility, theoretical values and Greeks.
You query the files where they sit, through an S3 access point we create for your AWS account, with the AWS CLI, DuckDB, Python or Amazon Athena. This guide starts with listing files and works up to research queries. Most examples use one day, September 18, 2026, a quarterly expiration Friday ("quad witching"). The last one covers every quarterly expiration since March 2025.
What You Need
- An active 1-minute data lake subscription (1 Symbol, 10 Symbols or All Symbols), with your AWS account ID (and, on the 1 and 10 Symbol plans, your symbols) entered on your ORATS dashboard.
- The access point alias and access point ARN, shown on your dashboard and in the email we send when access is ready. The alias goes wherever a bucket name would. In this guide it appears as <your-access-point-alias>.
- A user or role in that AWS account with the IAM policy shown on your dashboard attached. The access point grants your account; the policy passes that access to the user or role.
The bucket is Requester Pays: S3 request and data transfer charges for your reads go to your AWS account, not ours. Every request has to say it accepts those charges, and each example below shows how. Without that, S3 refuses the request.
How the Data Is Organized
Your plan decides which folders you can read.
With 1 or 10 symbols, each symbol has one file per month:
one-minute/by-symbol/symbol=SPY/year=2026/2026-09.parquet
one-minute/by-symbol/symbol=SPY/year=2026/2026-08.parquet
...Inside a monthly file, rows are sorted by trade date, then expiration, strike and minute.
With All Symbols, each trading day is a folder of files (15 on September 18, 2026) that together hold every symbol, sorted by ticker:
one-minute/strikes/year=2026/date=2026-09-18/part-000.parquet
...
one-minute/strikes/year=2026/date=2026-09-18/part-014.parquetA day of every symbol is about 12 GB, a day of SPX about 240 MB and a day of SPY about 110 MB, so a monthly SPY file is over 2 GB. The sort order lets a query skip the parts it doesn't need (see Keeping Requests Small). New days arrive each morning, Tuesday to Saturday: the day folders by 9:00 Eastern, and the monthly files are rebuilt from 10:30.
The examples use these columns. The README in the bucket describes every column; read it with aws s3 cp s3://<your-access-point-alias>/one-minute/README.md - --request-payer requester.
- ticker, tradeDate, expirDate, strike, dte.
- snapShotEstTime: the minute in Eastern time, as a number. 9:45 is 945, 15:59 is 1559.
- stockPrice: the underlying value, derived from option prices using put-call parity. For an index such as SPX it is solved for each expiration, so it is not the index level. It is a reference price, not a replacement for real stock prices. The examples use it to find the at-the-money strike and to measure moneyness.
- callBidPrice, callAskPrice, putBidPrice, putAskPrice, callVolume, putVolume.
- smvVol (ORATS smoothed implied volatility), callMidIv and putMidIv (implied volatility at the quoted mid), delta and the other Greeks. Volatilities are decimals: 0.12 means 12%.
- expiryTod: am or pm settlement. SPX holds both the AM-settled monthlies and the PM-settled weeklies and dailies, so filter on it.
Step 1: Find Your Files with the AWS CLI
List your files. Add --request-payer requester to every command:
aws s3 ls s3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPY/ --recursive --request-payer requesterWith All Symbols, list the strikes/ folder one level at a time. A recursive listing of the whole folder is refused.
aws s3 ls s3://<your-access-point-alias>/one-minute/strikes/ --request-payer requester
aws s3 ls s3://<your-access-point-alias>/one-minute/strikes/year=2026/ --request-payer requester
aws s3 ls s3://<your-access-point-alias>/one-minute/strikes/year=2026/date=2026-09-18/ --request-payer requesterIf your default AWS credentials belong to a different account, add --profile <name> or set AWS_PROFILE first.
The rest of this guide uses DuckDB. It queries the files in S3 directly and fetches only the columns and blocks of rows a query needs.
Step 2: Connect DuckDB
Start duckdb and run these four lines once per session:
INSTALL httpfs; LOAD httpfs;
INSTALL aws; LOAD aws;
CREATE SECRET (TYPE s3, PROVIDER credential_chain, REGION 'us-east-1');
SET s3_requester_pays = true;The secret picks up the same credentials as the AWS CLI. To use a named profile, add it to the secret: CREATE SECRET (TYPE s3, PROVIDER credential_chain, PROFILE 'my-profile', REGION 'us-east-1');.
The examples below use the by-symbol files. On All Symbols, swap the file path for that day's folder and add a ticker filter. For example, in place of the SPY monthly file:
FROM read_parquet('s3://<your-access-point-alias>/one-minute/strikes/year=2026/date=2026-09-18/*.parquet')
WHERE ticker = 'SPY' AND ...Because the day files are sorted by ticker, Example 1 written this way fetches about 21 MB of the day's 12 GB.
Example 1: SPY At-the-Money Implied Volatility, Minute by Minute
Start with one symbol and one expiration. This takes the October 16 monthly SPY options and, for every minute of September 18, picks the strike nearest the underlying value and returns its smoothed implied volatility.
SELECT snapShotEstTime AS minute,
any_value(stockPrice) AS spy,
arg_min(strike, abs(strike - stockPrice)) AS atm_strike,
round(arg_min(smvVol, abs(strike - stockPrice)), 4) AS atm_iv
FROM read_parquet('s3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPY/year=2026/2026-09.parquet')
WHERE tradeDate = DATE '2026-09-18'
AND expirDate = DATE '2026-10-16'
GROUP BY minute
ORDER BY minute;It returns 406 rows, one per minute from 9:30 to 16:15. On the hour:
minute spy atm_strike atm_iv
930 761.28 761 0.1228
1000 759.58 760 0.1200
1100 759.94 760 0.1224
1200 758.95 759 0.1196
1300 759.19 759 0.1260
1400 759.84 760 0.1200
1500 761.24 761 0.1220
1600 761.50 761 0.1210arg_min(x, y) returns the x on the row where y is smallest, so arg_min(smvVol, abs(strike - stockPrice)) reads as "the vol at the strike closest to the money." As SPY moves, a different strike becomes the closest one, which adds a little skew noise to the series. Example 3 groups strikes by moneyness instead.
That query reads a few megabytes of a monthly file over 2 GB. Parquet stores each column separately, and the file's footer records the range of values in each block of rows, so DuckDB fetches only the needed columns from the blocks that can hold this trade date and expiration.
Example 2: How a 0DTE SPX Straddle Decays on Expiration Day
On expiration Friday, the same-day SPX options lose their remaining time value over a single session. This tracks the at-the-money straddle of the PM-settled September 18 SPX options every 30 minutes:
SELECT snapShotEstTime AS minute,
arg_min(stockPrice, abs(strike - stockPrice)) AS spx,
arg_min(strike, abs(strike - stockPrice)) AS atm_strike,
round(arg_min((callBidPrice + callAskPrice + putBidPrice + putAskPrice) / 2,
abs(strike - stockPrice)), 2) AS straddle,
round(arg_min(smvVol, abs(strike - stockPrice)), 3) AS atm_iv
FROM read_parquet('s3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPX/year=2026/2026-09.parquet')
WHERE tradeDate = DATE '2026-09-18'
AND expirDate = DATE '2026-09-18'
AND expiryTod = 'pm'
AND snapShotEstTime BETWEEN 945 AND 1545
AND snapShotEstTime % 100 IN (15, 45)
GROUP BY minute
ORDER BY minute;minute spx atm_strike straddle atm_iv
945 7638.35 7640 23.40 0.142
1015 7622.70 7625 24.10 0.154
1045 7619.48 7620 21.40 0.142
1115 7625.27 7625 18.75 0.132
1145 7622.57 7625 17.35 0.128
1215 7620.43 7620 15.55 0.123
1245 7621.17 7620 14.65 0.123
1315 7622.92 7625 12.40 0.111
1345 7627.70 7630 10.40 0.102
1415 7628.43 7630 9.30 0.104
1445 7635.56 7635 8.70 0.114
1515 7642.48 7640 7.53 0.101
1545 7644.48 7645 5.82 0.083
The at-the-money 0DTE SPX straddle and the SPX implied value, each minute on September 18, 2026.
At 9:45 the straddle priced about a 0.31% move for the rest of the day (23.40 on an SPX implied value near 7,638). By 15:45 it was worth 5.82. The implied value ended the day within 10 points of where it was at 9:45, so a seller of that straddle kept most of the premium. Notice the 10:15 row: the SPX implied value dropped 16 points in half an hour and the straddle's price and implied vol both rose, even with less time left.
dte counts the expiration day, so these same-day options have dte = 1. snapShotEstTime % 100 is the minute within the hour, an easy way to sample at fixed intervals.
Example 3: How the SPX Smile Moved from Open to Close
Now the whole smile, for the AM-settled October 16 monthly SPX options. The query takes the out-of-the-money option at each strike (puts below the underlying value, calls above), groups strikes into 1% buckets by distance from the underlying value, and compares the implied volatility at the quoted mid at 9:45 and 15:45:
SELECT round(100 * (strike / stockPrice - 1)) AS moneyness_pct,
round(100 * avg(otm_iv) FILTER (snapShotEstTime = 945), 1) AS iv_0945,
round(100 * avg(otm_iv) FILTER (snapShotEstTime = 1545), 1) AS iv_1545,
round(iv_1545 - iv_0945, 1) AS change
FROM (
SELECT snapShotEstTime, strike, stockPrice,
CASE WHEN strike < stockPrice THEN putMidIv ELSE callMidIv END AS otm_iv
FROM read_parquet('s3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPX/year=2026/2026-09.parquet')
WHERE tradeDate = DATE '2026-09-18'
AND expirDate = DATE '2026-10-16' AND expiryTod = 'am'
AND snapShotEstTime IN (945, 1545)
AND strike BETWEEN 0.85 * stockPrice AND 1.06 * stockPrice
)
GROUP BY moneyness_pct
ORDER BY moneyness_pct;moneyness_pct iv_0945 iv_1545 change
-15 29.8 29.5 -0.3
-12 26.0 25.8 -0.2
-10 23.4 23.2 -0.2
-8 20.9 20.7 -0.2
-6 18.5 18.3 -0.2
-4 16.3 15.9 -0.4
-2 14.1 13.7 -0.4
0 12.1 11.8 -0.3
2 10.7 10.3 -0.4
4 10.2 9.9 -0.3
6 10.7 10.5 -0.2(Selected rows; the query returns every 1% bucket.) The whole October smile moved down by 0.1 to 0.4 vol points between 9:45 and 15:45, nearly in parallel, and kept its shape. At both times, puts 15% below the underlying value carried about two and a half times the at-the-money volatility, and the smile's low point was about 4% above the underlying value, where the call side turns back up.

The October 16 SPX smile at 9:45 and 15:45, and the change in each 1% bucket.
The subquery picks the out-of-the-money side because that option is usually the more actively traded of the pair at a given strike. Wrapping it in a subquery keeps the outer query readable: FILTER picks the minute, and iv_1545 - iv_0945 refers to the two columns defined just before it.
Example 4: Bid-Ask Spreads by Time of Day, Across Symbols
read_parquet accepts a list of files, so one query can cover several symbols. This measures the quoted spread of near-the-money calls 20 to 45 days out, as a percentage of the mid price, in the first 15 minutes, midday and the last 15 minutes before 16:00:
SELECT ticker,
round(median(spread_pct) FILTER (snapShotEstTime BETWEEN 930 AND 944), 2) AS first_15m,
round(median(spread_pct) FILTER (snapShotEstTime BETWEEN 1000 AND 1530), 2) AS midday,
round(median(spread_pct) FILTER (snapShotEstTime BETWEEN 1545 AND 1559), 2) AS last_15m
FROM (
SELECT ticker, snapShotEstTime,
100 * (callAskPrice - callBidPrice) / ((callAskPrice + callBidPrice) / 2) AS spread_pct
FROM read_parquet([
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPX/year=2026/2026-09.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPY/year=2026/2026-09.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=QQQ/year=2026/2026-09.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=IWM/year=2026/2026-09.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=NVDA/year=2026/2026-09.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=TSLA/year=2026/2026-09.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=AMZN/year=2026/2026-09.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=MSFT/year=2026/2026-09.parquet'
])
WHERE tradeDate = DATE '2026-09-18'
AND dte BETWEEN 20 AND 45
AND delta BETWEEN 0.4 AND 0.6
AND callBidPrice > 0
)
GROUP BY ticker
ORDER BY midday;ticker first_15m midday last_15m
SPX 0.65 0.52 0.60
SPY 0.76 0.59 0.73
QQQ 1.52 0.79 0.98
IWM 1.74 1.04 1.25
NVDA 1.87 1.60 1.87
TSLA 2.49 1.61 2.11
AMZN 7.05 3.75 4.99
MSFT 13.46 4.68 6.76
Median spread of near-the-money calls in the first 15 minutes and midday, with the ratio of the two.
For every symbol, spreads were widest in the first 15 minutes and narrowest midday. How much wider varied: about 1.2 times the midday spread for SPX and NVDA, nearly three times for MSFT. A backtest that fills at the mid in the first minutes of the session leaves this cost out.
The whole query fetched about 13 MB. On All Symbols, read the day folder instead and filter with ticker IN ('SPX', 'SPY', ...).
Example 5: The Whole Market on Quad Witching (All Symbols)
With All Symbols you can ask questions across every symbol at once. This reads three minutes of the day for every ticker into a DuckDB table, then takes the 15 names with the most option volume and shows how their at-the-money 20-to-45-day implied volatility changed between 9:45 and 15:45:
CREATE TABLE day AS
SELECT ticker, snapShotEstTime, dte, delta, smvVol, callVolume, putVolume
FROM read_parquet('s3://<your-access-point-alias>/one-minute/strikes/year=2026/date=2026-09-18/*.parquet')
WHERE snapShotEstTime IN (945, 1545, 1600);
WITH top AS (
SELECT ticker,
sum(callVolume + putVolume) AS contracts,
round(sum(putVolume) / sum(callVolume), 2) AS put_call
FROM day
WHERE snapShotEstTime = 1600
GROUP BY ticker
ORDER BY contracts DESC
LIMIT 15
),
atm_iv AS (
SELECT ticker,
avg(smvVol) FILTER (snapShotEstTime = 945) AS iv_0945,
avg(smvVol) FILTER (snapShotEstTime = 1545) AS iv_1545
FROM day JOIN top USING (ticker)
WHERE dte BETWEEN 20 AND 45 AND delta BETWEEN 0.4 AND 0.6
GROUP BY ticker
)
SELECT ticker, contracts, put_call,
round(100 * iv_0945, 1) AS iv_0945,
round(100 * iv_1545, 1) AS iv_1545,
round(100 * (iv_1545 - iv_0945), 1) AS change
FROM top JOIN atm_iv USING (ticker)
ORDER BY contracts DESC;ticker contracts put_call iv_0945 iv_1545 change
SPY 9,875,761 1.11 12.2 11.8 -0.3
QQQ 7,101,635 1.06 16.8 16.5 -0.3
SPX 5,096,506 1.12 11.9 11.6 -0.3
TSLA 3,761,086 0.68 43.1 42.8 -0.3
NVDA 2,731,873 0.51 30.3 30.3 -0.1
SPCX 1,619,344 0.56 49.0 49.0 0.1
MSTR 1,608,587 0.54 67.8 70.3 2.5
IWM 1,604,501 2.22 17.0 16.7 -0.3
AAPL 1,521,950 0.62 24.1 23.7 -0.4
IBIT 1,402,994 0.37 35.9 36.4 0.5
MU 1,352,131 0.68 58.9 59.4 0.5
GOOGL 956,022 0.37 31.5 31.2 -0.3
META 955,001 0.45 40.0 40.2 0.3
INTC 949,810 0.63 66.3 67.6 1.3
AMZN 897,834 0.39 32.0 32.7 0.7callVolume and putVolume are running totals for the day at the minute observed, so the 16:00 snapshot gives the volume traded through 16:00. Implied vol for SPY, QQQ, SPX and IWM drifted 0.3 points lower through the session, while MSTR and INTC rose. IWM traded more than two puts for every call.
This is the heaviest query in the guide. Every ticker's rows have to be read for the selected columns: about 900 MB in roughly 31,000 requests, which took several minutes from a laptop. For queries this size, see the EC2 tip under Keeping Requests Small. Creating the day table means the second query, and any follow-up, runs in a fraction of a second without going back to S3.
Example 6: Every Quad Witching Day, Implied vs. Realized
This example uses the history. On each quarterly expiration day of 2025 and 2026, it compares the move priced by the 0DTE SPX straddle at 9:45 with how far the SPX implied value actually moved by 15:55:
WITH atm AS (
SELECT tradeDate, snapShotEstTime AS minute,
arg_min(stockPrice, abs(strike - stockPrice)) AS spx,
arg_min((callBidPrice + callAskPrice + putBidPrice + putAskPrice) / 2,
abs(strike - stockPrice)) AS straddle
FROM read_parquet([
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPX/year=2025/2025-03.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPX/year=2025/2025-06.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPX/year=2025/2025-09.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPX/year=2025/2025-12.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPX/year=2026/2026-03.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPX/year=2026/2026-06.parquet',
's3://<your-access-point-alias>/one-minute/by-symbol/symbol=SPX/year=2026/2026-09.parquet'
])
WHERE tradeDate IN ('2025-03-21', '2025-06-20', '2025-09-19', '2025-12-19',
'2026-03-20', '2026-06-18', '2026-09-18')
AND expirDate IN ('2025-03-21', '2025-06-20', '2025-09-19', '2025-12-19',
'2026-03-20', '2026-06-18', '2026-09-18')
AND expirDate = tradeDate
AND expiryTod = 'pm'
AND snapShotEstTime IN (945, 1555)
GROUP BY ALL
)
SELECT o.tradeDate,
round(100 * o.straddle / o.spx, 2) AS implied_move_pct,
round(100 * abs(c.spx / o.spx - 1), 2) AS realized_move_pct
FROM atm o JOIN atm c USING (tradeDate)
WHERE o.minute = 945 AND c.minute = 1555
ORDER BY tradeDate;It returns one row per expiration day:
tradeDate implied_move_pct realized_move_pct
2025-03-21 0.87 0.67
2025-06-20 0.46 0.84
2025-09-19 0.35 0.42
2025-12-19 0.49 0.18
2026-03-20 0.62 1.17
2026-06-18 0.60 0.46
2026-09-18 0.31 0.07
The move priced by the 9:45 straddle and the actual move to 15:55, on each quarterly expiration day.
Quad witching is often described as a pinned, quiet afternoon, but the record is mixed. The straddle overpriced the rest of the day on four of the seven expirations and underpriced it on three. In June 2025 and March 2026, the actual move was nearly double the priced one. (The June 2026 expiration was on Thursday the 18th, because markets were closed for Juneteenth on the 19th.)
Two details keep this cheap. The query names the seven monthly files it needs instead of using a wildcard such as year=*/*.parquet. DuckDB reads the footer of every file a pattern matches, and for a busy symbol like SPX a monthly file's footer can run to megabytes. And the date list appears twice: once on tradeDate and again on expirDate. DuckDB can't work out from expirDate = tradeDate alone which blocks to skip, but the explicit list lets it skip every expiration except the one that matters, cutting the data read about twentyfold.
Using Python
The same queries run from Python with the duckdb package, and .df() hands you a pandas DataFrame for charting or further work:
import duckdb
ALIAS = "<your-access-point-alias>"
con = duckdb.connect()
con.sql("INSTALL httpfs; LOAD httpfs; INSTALL aws; LOAD aws;")
con.sql("CREATE SECRET (TYPE s3, PROVIDER credential_chain, REGION 'us-east-1')")
con.sql("SET s3_requester_pays = true")
df = con.execute(f"""
SELECT snapShotEstTime AS minute,
any_value(stockPrice) AS spy,
arg_min(smvVol, abs(strike - stockPrice)) AS atm_iv
FROM read_parquet('s3://{ALIAS}/one-minute/by-symbol/symbol=SPY/year=2026/2026-09.parquet')
WHERE tradeDate = ? AND expirDate = ?
GROUP BY minute
ORDER BY minute
""", ["2026-09-18", "2026-10-16"]).df()
print(df.head())To list files with boto3, pass RequestPayer:
import boto3
ALIAS = "<your-access-point-alias>"
s3 = boto3.client("s3", region_name="us-east-1")
resp = s3.list_objects_v2(
Bucket=ALIAS,
Prefix="one-minute/by-symbol/symbol=SPY/",
RequestPayer="requester",
)
for obj in resp.get("Contents", []):
print(obj["Key"], obj["Size"])Using Amazon Athena
If you'd rather use SQL in the AWS console, or run large scans in seconds without a machine of your own, Amazon Athena works through the access point too. Set it up once:
- Create an Athena workgroup with Requester Pays turned on, and give it a query results location in an S3 bucket of your own. Without the Requester Pays setting, queries fail with Access Denied.
- The user or role running queries needs Athena and AWS Glue Data Catalog permissions, plus access to that results bucket, in addition to the dashboard's IAM policy.
Then define a table. For a 1 or 10 symbol plan, list exactly your plan's symbols in projection.symbol.values. A symbol outside your plan makes queries that touch it fail.
CREATE EXTERNAL TABLE strikes_by_symbol (
ticker string,
tradedate date,
expirdate date,
dte int,
strike double,
stockprice double,
callvolume bigint,
callopeninterest bigint,
callbidsize bigint,
callasksize bigint,
putvolume bigint,
putopeninterest bigint,
putbidsize bigint,
putasksize bigint,
callbidprice double,
callvalue double,
callaskprice double,
putbidprice double,
putvalue double,
putaskprice double,
callbidiv double,
callmidiv double,
callaskiv double,
smvvol double,
putbidiv double,
putmidiv double,
putaskiv double,
residualrate double,
delta double,
gamma double,
theta double,
vega double,
rho double,
phi double,
driftlesstheta double,
callsmvvol double,
putsmvvol double,
extsmvvol double,
extcallvalue double,
extputvalue double,
spotprice double,
quotedate timestamp,
updatedat timestamp,
snapshotesttime int,
snapshotdate timestamp,
expirytod string,
tickerid bigint,
monthid int
)
PARTITIONED BY (symbol string, year int)
STORED AS PARQUET
LOCATION 's3://<your-access-point-alias>/one-minute/by-symbol/'
TBLPROPERTIES (
'projection.enabled' = 'true',
'projection.symbol.type' = 'enum',
'projection.symbol.values' = 'SPY,SPX,QQQ',
'projection.year.type' = 'integer',
'projection.year.range' = '2020,2030',
'storage.location.template' = 's3://<your-access-point-alias>/one-minute/by-symbol/symbol=${symbol}/year=${year}/'
)With All Symbols, use the same columns under a table name such as strikes_all, with these partition and location settings:
PARTITIONED BY (year int, `date` string)
STORED AS PARQUET
LOCATION 's3://<your-access-point-alias>/one-minute/strikes/'
TBLPROPERTIES (
'projection.enabled' = 'true',
'projection.year.type' = 'integer',
'projection.year.range' = '2020,2030',
'projection.date.type' = 'date',
'projection.date.format' = 'yyyy-MM-dd',
'projection.date.range' = '2020-08-01,NOW',
'storage.location.template' = 's3://<your-access-point-alias>/one-minute/strikes/year=${year}/date=${date}/'
)Partition projection means Athena finds new days and months on its own, with nothing to refresh. With All Symbols, filter on both year and "date" (for example year = 2026 AND "date" = '2026-09-18') so Athena looks only in the folders it needs. Athena uses lower-case column names and its own function names, so Example 1 becomes:
SELECT snapshotesttime AS minute,
arbitrary(stockprice) AS spy,
min_by(strike, abs(strike - stockprice)) AS atm_strike,
round(min_by(smvvol, abs(strike - stockprice)), 4) AS atm_iv
FROM strikes_by_symbol
WHERE symbol = 'SPY' AND year = 2026
AND tradedate = DATE '2026-09-18'
AND expirdate = DATE '2026-10-16'
GROUP BY snapshotesttime
ORDER BY minuteIt returns the same 406 rows as DuckDB. Athena charges for the data each query scans (in us-east-1, 5 US dollars per TB at the time of writing), on top of the S3 request charges. Example 1 scanned about 0.1 MB, and the market-wide query from Example 5 scanned under 1 GB and finished in about 11 seconds.
Keeping Requests Small
Because you pay for your own requests and data transfer, how you write a query decides what it costs. The same few habits keep queries fast and the bill small:
- Select only the columns you need. Parquet stores each column separately, so DuckDB fetches only the ones you name. Avoid SELECT * against S3.
- Filter on the sort order. By-symbol files are sorted by trade date, expiration, strike and minute; day files by ticker. Filters on tradeDate, expirDate and ticker let DuckDB skip blocks of rows it never reads. Example 1 reads a few megabytes of a file over 2 GB.
- Name the files you need. Pick the months or days by path rather than a broad wildcard, since every matched file costs a request for its footer.
- Reuse a working set. For several queries over the same slice, read it once into a DuckDB table with CREATE TABLE ... AS SELECT, as Example 5 does, and run the follow-ups against that.
- Run big jobs near the data. The bucket is in us-east-1. An EC2 instance there reads faster than a laptop, and S3 doesn't charge for transfer within the same region.
If S3 Says Access Denied
- Check that the request includes the requester-pays setting (--request-payer requester, RequestPayer='requester' or SET s3_requester_pays = true).
- Check that the credentials belong to the AWS account you registered on the dashboard, and that the user or role has the IAM policy from the dashboard.
- On All Symbols, list one-minute/strikes/ one level at a time rather than recursively.
- Your plan covers only its own folders. A 10-symbol plan can't read an eleventh symbol.
Where to Go Next
Your access point details, the IAM policy and the status of your access are on your ORATS dashboard. Plans and prices are on the 1-minute data page. Questions and bug reports are welcome at support@orats.com.
Disclaimer:
The opinions and ideas presented herein are for informational and educational purposes only and should not be construed to represent trading or investment advice tailored to your investment objectives. You should not rely solely on any content herein and we strongly encourage you to discuss any trades or investments with your broker or investment adviser, prior to execution. None of the information contained herein constitutes a recommendation that any particular security, portfolio, transaction, or investment strategy is suitable for any specific person. Option trading and investing involves risk and is not suitable for all investors.
All opinions are based upon information and systems considered reliable, but we do not warrant the completeness or accuracy, and such information should not be relied upon as such. We are under no obligation to update or correct any information herein. All statements and opinions are subject to change without notice.
Past performance is not indicative of future results. We do not, will not and cannot guarantee any specific outcome or profit. All traders and investors must be aware of the real risk of loss in following any strategy or investment discussed herein.
Owners, employees, directors, shareholders, officers, agents or representatives of ORATS may have interests or positions in securities of any company profiled herein. Specifically, such individuals or entities may buy or sell positions, and may or may not follow the information provided herein. Some or all of the positions may have been acquired prior to the publication of such information, and such positions may increase or decrease at any time. Any opinions expressed and/or information are statements of judgment as of the date of publication only.
Day trading, short term trading, options trading, and futures trading are extremely risky undertakings. They generally are not appropriate for someone with limited capital, little or no trading experience, and/ or a low tolerance for risk. Never execute a trade unless you can afford to and are prepared to lose your entire investment. In addition, certain trades may result in a loss greater than your entire investment. Always perform your own due diligence and, as appropriate, make informed decisions with the help of a licensed financial professional.
Commissions, fees and other costs associated with investing or trading may vary from broker to broker. All investors and traders are advised to speak with their stock broker or investment adviser about these costs. Be aware that certain trades that may be profitable for some may not be profitable for others, after taking into account these costs. In certain markets, investors and traders may not always be able to buy or sell a position at the price discussed, and consequently not be able to take advantage of certain trades discussed herein.
Be sure to read the OCCs Characteristics and Risks of Standardized Options to learn more about options trading.
Related Posts


