Skip to main content

🚀 AlgoSystem

PyPI version Python 3.9+ License: GPL v3 Built with Poetry

AlgoGators professional algorithmic backtesting and dashboard visualization library.

🚀 Quick Start

Installation

pip install algosystem

Command Line

# Generate dashboard from CSV
algosystem dashboard strategy.csv

# With benchmark comparison
algosystem dashboard strategy.csv --benchmark sp500

# Launch visual editor
algosystem launch

# Create IP-ready results
algosystem ip strategy.csv --benchmark sp500

Python API

import pandas as pd
from algosystem.api import quick_backtest

# Load strategy data (CSV with date index and price column)
data = pd.read_csv('strategy.csv', index_col=0, parse_dates=True)

# Run backtest and show dashboard
engine = quick_backtest(data)

📊 Dashboard Features

Available Metrics (20+)

  • Performance: Total Return, Annualized Return, Volatility
  • Risk: Max Drawdown, VaR, CVaR, Skewness
  • Ratios: Sharpe, Sortino, Calmar, Information Ratio
  • Benchmark: Alpha, Beta, Correlation, Tracking Error

Available Charts (15+)

  • Core: Equity Curve, Drawdown, Daily Returns
  • Rolling: Sharpe, Sortino, Volatility, Skewness
  • Analysis: Monthly Returns, Yearly Returns, Benchmark Comparison

Built-in Benchmarks (40+)

  • Indices: S&P 500, NASDAQ, DJIA, Russell 2000
  • International: Europe, UK, Japan, China, Emerging Markets
  • Sectors: Technology, Healthcare, Financials, Energy
  • Assets: Gold, Real Estate, Commodities, Bonds

📖 Documentation

🔧 Example Usage

Complete Workflow

from algosystem.api import AlgoSystem

# Load data and benchmark
strategy_data = pd.read_csv('strategy.csv', index_col=0, parse_dates=True)
benchmark_data = AlgoSystem.get_benchmark('sp500')

# Run backtest
engine = AlgoSystem.run_backtest(strategy_data, benchmark_data)

# Print results
AlgoSystem.print_results(engine, detailed=True)

# Generate dashboard
AlgoSystem.generate_dashboard(engine, open_browser=True)

# Export data
AlgoSystem.export_data(engine, 'results.csv')

Engine-Level Control

from algosystem.backtesting import Engine

engine = Engine(
    data=strategy_data,
    benchmark=benchmark_data,
    start_date='2022-01-01',
    end_date='2022-12-31'
)

results = engine.run()
dashboard_path = engine.generate_dashboard()

📋 Data Format

Your CSV should have:

  • Date column as index (YYYY-MM-DD)
  • Price/value column representing portfolio value
Date,Strategy
2022-01-01,100000.00
2022-01-02,100500.00
2022-01-03,99800.00

🛠️ Optional Features

Database Export

pip install psycopg2-binary

📚 License

<<<<<<< HEAD

# Clone repository
git clone https://github.com/yourusername/algosystem.git
cd algosystem

# Install with dev dependencies
poetry install --with dev

# Run tests
pytest

📖 License & Usage Terms

AlgoSystem is licensed under the GPL v3 License. See LICENSE file for details.

📚 Citing

If you use AlgoSystem in your research, please cite:

@software{algosystem,
  author = {AlgoGators Team},
  title = {AlgoSystem: A Python Library for Algorithmic Trading},
  url = {https://github.com/algogators/algosystem},
  year = {2025},
}

======= GPL v3 License. See LICENSE file for details.

b65a78d (docs: 📜)

Metadata

Release files for algosystem 0.1.9

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

Source distribution (sdist)

Source distribution for algosystem 0.1.9
File Size Uploaded Provenance Actions
algosystem-0.1.9.tar.gz 2.2 MB Without provenance Details for algosystem-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for algosystem 0.1.9
File Interpreter ABI Platform Actions
algosystem-0.1.9-py3-none-any.whl Python 3 none any Details for algosystem-0.1.9-py3-none-any.whl

Total release size: 4.3 MB

Release files / algosystem-0.1.9.tar.gz

Download URL algosystem-0.1.9.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
e7344b95c40e1f89260c98cd3d4d15d3322fc04b07b2a3bcbe99d5d7bdcdc206
BLAKE2b-256 checksum
How to use checksums
6f7f1df220a9bc2180a44b31253cc756b7261089e3fec2e9d291da03890924b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.12.8 Windows/11

Release files / algosystem-0.1.9-py3-none-any.whl

Download URL algosystem-0.1.9-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a8483fbbc35e3849a2980372ac66d540a86d239f9593076bf0a6832487e66d7d
BLAKE2b-256 checksum
How to use checksums
6ad8fbb46a7e4e41a4af2ab12bd975d56a3f4de2dfe96fc0411bc6c5e3d7b922
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.12.8 Windows/11

Security for algosystem 0.1.9

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