Skip to main content

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.

Run it either inside a data directory containing returns.csv (or returns.hdf / returns.parquet), or in the parent directory of accounts. Optional trade and round-trip files are named trades.csv and round_trips.csv.

Configuration

Create an optional stellar_stats_config.json 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.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stellar-stats 0.8.16
File Size Uploaded Provenance Actions
stellar_stats-0.8.16.tar.gz 62.6 kB Without provenance Details for stellar_stats-0.8.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stellar-stats 0.8.16
File Interpreter ABI Platform Actions
stellar_stats-0.8.16-py3-none-any.whl Python 3 none any Details for stellar_stats-0.8.16-py3-none-any.whl

Total release size: 123.1 kB

Release files / stellar_stats-0.8.16.tar.gz

Download URL stellar_stats-0.8.16.tar.gz
Size 62.6 kB
Tags Source
SHA-256 checksum
How to use checksums
74caa7661d50db6a2767cde67d6d3a569f0c70e944061f6845af641ac7e63d3e
BLAKE2b-256 checksum
How to use checksums
2d5e1e54ec82e25a6d0e5b3e186faaee6b251e4540e9709e3495a218ccd3e193
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.16-py3-none-any.whl

Download URL stellar_stats-0.8.16-py3-none-any.whl
Size 60.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8274a170322fafe5893692661a1638006fb8d7a039791836828e125654b6c028
BLAKE2b-256 checksum
How to use checksums
fe463ba66daa007a40c21da533db4b9c2766685ea95e487147bfcaacf54cf102
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Security for stellar-stats 0.8.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page