Stellar Stats
A Streamlit-based trading statistics dashboard that analyzes backtest and live trading performance with comprehensive metrics and visualizations.
Features
- Multi-account performance analysis - Compare performance across different trading accounts
- Benchmark comparison - Compare against market indices with leverage options
- Flexible time periods - YTD, inception-to-date, or custom date ranges
- Comprehensive metrics - Performance metrics, drawdown analysis, return distributions
- Trade analysis - Detailed breakdowns by underlying assets and slippage tracking
- Round-trip analysis - Extract and analyze complete trading round-trips
- Investor tracking - Calculate investor-specific returns
Installation
pip install stellar-stats
Usage
Run the Dashboard
stellar-stats run
This launches the Streamlit web interface for interactive analysis.
Configuration
Create an optional config.toml file to define:
- Account configurations and data directories
- Custom benchmark symbols
- API tokens (Tushare for Chinese market data)
The system will auto-discover account directories if no configuration is provided, which is useful for viewing backtesting results.
Data Sources
- Local files: CSV/HDF/Parquet files containing returns, trades, round trips, and slippage data
- Market data: yfinance for global benchmark symbols
- Chinese markets: Tushare API (requires token configuration)
- Investor data: Optional investors.csv for investor-specific analysis
License
MIT
Metadata
Release files for stellar-stats 0.8.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stellar_stats-0.8.13.tar.gz | 57.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stellar_stats-0.8.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 114.8 kB
Release files / stellar_stats-0.8.13.tar.gz
| Download URL | stellar_stats-0.8.13.tar.gz |
|---|---|
| Size | 57.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8c77c36d5b28147314776b7ceb08afb8c8a4b0c13616aa94fad856330d61707
|
|
BLAKE2b-256 checksum How to use checksums |
6c348c2d71c6fe6a4174f86a937fbbf4443922cdee6cdc85891c79b0cd395e6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / stellar_stats-0.8.13-py3-none-any.whl
| Download URL | stellar_stats-0.8.13-py3-none-any.whl |
|---|---|
| Size | 57.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da66c6784c988ee9266d2bd955744bbae2a1a1927e2b7f097da32d7a5466ffe8
|
|
BLAKE2b-256 checksum How to use checksums |
03ef9e025e55210d2ab175fc5067951d0539da6239f9aeb233d121d13779685e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|