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

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.12
File Size Uploaded
stellar_stats-0.8.12.tar.gz 57.1 kB Details

Built distribution (wheel)

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

Total release size: 114.9 kB

Release files / stellar_stats-0.8.12.tar.gz

Download URL stellar_stats-0.8.12.tar.gz
Size 57.1 kB
Tags Source
SHA-256 checksum
How to use checksums
55c1374906770ad2c4a91ac2960edb93b658da0ccc8d9ca3a8d9f69fe888d37f
BLAKE2b-256 checksum
How to use checksums
b44f0bc5864302bd1ab340a6281bb56b026fa4d27a6013a4cdd37e6a523826d9
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.12-py3-none-any.whl

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

Release history Release notifications | RSS feed

0.8.14

2 release files

0.8.13

2 release files

This release

0.8.12 This release

2 release files

0.8.11

2 release files

0.8.9

2 release files

0.8.8

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

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