Full Data Setup¶
Use this path after the offline demo when you want the canonical Bitcoin Research Kit (BRK) dataset.
StackSats supports BRK as the upstream project for this data workflow. This page stays focused on the StackSats Python path around BRK-derived data artifacts; use BRK Data Source for the canonical upstream links and support boundary.
1) Fetch the canonical source data¶
Default download location:
This downloads the canonical merged_metrics*.parquet source asset and writes the
packaged schema sidecar into the same directory.
2) Prepare the runtime parquet¶
Default runtime output:
3) Confirm runtime resolution¶
Runtime resolution order:
STACKSATS_ANALYTICS_PARQUET- explicit
parquet_path ~/.stacksats/data/bitcoin_analytics.parquet./bitcoin_analytics.parquet
4) Run a standard strategy command¶
stacksats strategy backtest \
--strategy simple-zscore \
--start-date 2024-01-01 \
--end-date 2024-12-31 \
--output-dir output
Notes¶
data fetchis explicit setup only; runtime commands do not auto-download data.data prepareaccepts canonical long-formatmerged_metrics*.parquetand produces the runtimebitcoin_analytics.parquet.data doctoris the fastest way to debug missing-path and coverage problems.- For notebook/script exploration of the canonical long-format parquet, use
EDA Quickstart and
stacksats.eda.