Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

stellar-stats

Latest version: v0.9.2

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: keli
8 Versions
701 Downloads

Scan summary

stellar-stats was last scanned on 29 Nov 2026 at version 0.9.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 8 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 0.9.2.
  • Downloads: 701 downloads.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.9.2 LATEST 29 Nov 2026 No rules fired
0.9.1 15 Nov 2026 No rules fired
0.9 13 Nov 2026 No rules fired
0.8.19 13 Nov 2026 Not shown
0.8.18 13 Nov 2026 Not shown

No rules fired in 0.9.2

Findings

Findings for v0.9.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.9.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

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.

Import CFMMC Statements

Install the optional report parser with pip install "stellar-stats[cfmmc]". When developing both repositories locally, install the matching library with pip install -e ../cfmmc-utils.

stellar-stats gen-data-from-cfmmc \
  --data-dir data/account \
  --output-dir output/account \
  --contracts-path contracts.csv

CFMMC parsing, contract normalization, and account/holding data come from cfmmc-utils. This command computes dashboard returns, optional slippage and round trips, and exports returns.csv, margin.csv, and positions.csv. Trade and round-trip CSVs are also generated when trade reports are available. positions.csv lets Account Snapshots show live futures and option holdings.

To recalculate reference prices and slippage in an existing trades.csv, use --refresh-slippage with --dataset-path. Add --year 2026 to refresh only trades with that trading year (trading_day, falling back to the timestamp when absent); omit --year to refresh all years. Other CSVs and trade fields are preserved. Prices that cannot be loaded retain their existing values. Identical minute bars are deduplicated; conflicting prices are skipped with a warning. Missing or empty trade files are skipped without an error.

stellar-stats gen-data-from-cfmmc \
  --data-dir data/account --output-dir output/account \
  --dataset-path cn-futures/cn-futures-minute-dataset \
  --s3-endpoint-url http://localhost:9000 \
  --refresh-slippage --year 2026
Import IB Flex Statements

Install the optional XML parser with pip install "stellar-stats[ibflex]". Put annual Flex XML exports in the input directory, named 2025.xml, 2026.xml, etc.

stellar-stats gen-data-from-ibflex --data-dir ibflex --output-dir stats

Each account is exported to stats/IBKR_<account_id>/, including positions.csv for Account Snapshots. Include Open Positions in the Flex query. Holdings appear only on dates explicitly present in that section; missing dates remain unknown. Summary records take precedence over their lots, while lots without a summary are combined by security and direction. Prices retain the quote currency shown in the holdings table; monetary values and PnL use the account's base currency.

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

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases stellar-stats

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229