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.

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.15

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.15
File Size Uploaded Provenance Actions
stellar_stats-0.8.15.tar.gz 60.5 kB Without provenance Details for stellar_stats-0.8.15.tar.gz

Built distribution (wheel)

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

Total release size: 120.7 kB

Release files / stellar_stats-0.8.15.tar.gz

Download URL stellar_stats-0.8.15.tar.gz
Size 60.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a367e9ce4920151bb35b92e47d87e02f956c5988b887d4978d6f32c74e72a65a
BLAKE2b-256 checksum
How to use checksums
c61f31959d2897d518a6b63d033ad2d9187ed63931a71d4576102c8947bd3c7c
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.15-py3-none-any.whl

Download URL stellar_stats-0.8.15-py3-none-any.whl
Size 60.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da678bda566ff100835f49c4da91531091806add7e641d5c8ee30e0a502df1aa
BLAKE2b-256 checksum
How to use checksums
ecd526d244c430dd79842325ea79e983b79c0d6e5937c28f5e1304ce76edeeba
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.15

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