Python Package
Overview
Start here if you want the shortest explanation of what the StackSats package does and how it relates to the Stacking Sats app and research workflow.
stacksats is Hypertrial's strategy-first Python package for Bitcoin DCA research and execution.
Package overview
Use StackSats when you want strategy research outside the app UI
The package gives you a strategy lifecycle for reproducible backtests, allocation mechanics, and exported artifacts that fit downstream research or operational workflows.
What It Does
- Define strategy intent while the framework handles allocation mechanics.
- Validate and backtest strategies with reproducible outputs.
- Export strategy artifacts for downstream analysis and operations.
Stacking Sats web app: This Python package is separate from live trading in the app. For the new user flow (profile → plan → personal API token → Agent API), see Quick Start.
Quick Start
pip install stacksatsstacksats strategy backtest \
--strategy stacksats.strategies.examples:SimpleZScoreStrategy \
--start-date 2024-01-01 \
--end-date 2024-12-31 \
--output-dir outputCanonical Documentation
Reference
Hosted package docs
Use the standalone StackSats documentation site for the full Python package API and workflow surface.
Open hosted docsSource
GitHub repository
Open the repository when you need implementation detail, issue history, or contribution context.
Open repositoryDistribution
PyPI package
Use the package index entry for installation metadata, versions, and release distribution.
Open PyPI