lynx1231's picture
Publish futures sample release
2fd4527 verified
Raw History Blame Contribute Delete
441 Bytes
-- Run from the dataset release directory.
SELECT
contract_name,
contract_code,
COUNT(*) AS observations,
MIN(timestamp) AS first_timestamp,
MAX(timestamp) AS last_timestamp
FROM read_parquet('data/minute/*.parquet')
GROUP BY contract_name, contract_code
ORDER BY contract_name, contract_code;
SELECT *
FROM read_parquet('data/daily/*.parquet')
ORDER BY contract_name, contract_code, timestamp
LIMIT 100;