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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stellar_stats-0.8.11.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stellar_stats-0.8.11-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

Details for the file stellar_stats-0.8.11.tar.gz.

File metadata

  • Download URL: stellar_stats-0.8.11.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for stellar_stats-0.8.11.tar.gz
Algorithm Hash digest
SHA256 1007b822829f082add6436b2455207d477ffd12e22230ecc2164bf21010f1459
MD5 8583a00fb63ce14aa00dab9cb6714ee8
BLAKE2b-256 5dea01d2c2008eb559bb4f0a6a065fcb5137784fb817caede1cacd3599291307

See more details on using hashes here.

File details

Details for the file stellar_stats-0.8.11-py3-none-any.whl.

File metadata

  • Download URL: stellar_stats-0.8.11-py3-none-any.whl
  • Upload date:
  • Size: 47.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for stellar_stats-0.8.11-py3-none-any.whl
Algorithm Hash digest
SHA256 99134afa2d3f089093e220b78d3ec3b35e0c69413099c93a3883b0b385833baf
MD5 8bfb5593721f5f175a8f366a9fbb9900
BLAKE2b-256 765ff3157dbf8d66246068c0374a6f9487d91480404fd5461c67b2b79126d8d1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8.11 This release

2 files

0.8.10

2 files

0.8.9

2 files

0.8.8

2 files

0.8.7

2 files

0.8.6

2 files

0.8.5

2 files

0.8.4

2 files

0.8.3

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page