+3
日增长
8,806
stars
1,286
forks
205
watchers
457
prs
170
issues
0
releases
README
Algo-trading was 😵💫, we made it 🤩 Jesse --- Jesse is an advanced algorithmic trading framework in Python that aims to simplify researching and defining YOUR OWN trading strategies for backtesting, optimizing, and live trading. What is Jesse? Watch this video to get a quick overview of Jesse: Why Jesse? In short, Jesse is more accurate than other solutions, and way more simple. In fact, it is so simple that in case you already know Python, you can get started today, in matter of minutes, instead of weeks and months. Key Features - 📝 Simple Syntax: Define both simple and advanced trading strategies with the simplest syntax in the fastest time. - 📊 Comprehensive Indicator Library: Access a complete library of technical indicators with easy-to-use syntax. - 📈 Smart Ordering: Supports market, limit, and stop orders, automatically choosing the best one for you. - ⏰ Multiple Timeframes and Symbols: Backtest and livetrade multiple timeframes and symbols simultaneously without look-ahead bias. - 🔒 Self-Hosted and Privacy-First: Designed with your privacy in mind, fully self-hosted to ensure your trading strategies and data remain secure. - 🛡️ Risk Management: Built-in helper functions for robust risk management. - 📋 Metrics System: A comprehensive metrics system to evaluate your trading strategy's performance. - 🔍 Debug Mode: Observe your strategy in action with a detailed debug mode. - 🔧 Optimize Mode: Search strategy parameters efficiently with Optuna and parallel processing powered by Ray. - 📈 Leveraged and Short-Selling: First-class support for leveraged trading and short-selling. - 🔀 Partial Fills: Supports entering and exiting positions in multiple orders, allowing for greater flexibility. - 🔔 Advanced Alerts: Create real-time alerts within your strategies for effective monitoring. - 🔌 Jesse MCP: Connect Claude, Codex, Cursor, VS Code, Zed, and other MCP-compatible AI assistants directly to your local Jesse project. - 🔧 Built-in Code Editor: Write, edit, and debug your strategies with a built-in code editor. - 📊 Interactive Trading Charts: Inspect candles, strategy indicators, horizontal levels, orders, and completed trades across backtest, paper, and live sessions. - 🔬 Rule Significance Testing: Test whether an entry rule shows genuine historical edge or could have appeared by chance. - 🎲 Monte Carlo Analysis: Stress-test your strategies with trade-order shuffling and candles-based simulations to distinguish skill from luck and guard against overfitting. - 🧠 Machine Learning: A built-in ML pipeline — gather labelled training data from backtests, train scikit-learn models (binary, multiclass, or regression), and deploy predictions directly inside your strategies. - 🧪 Research API and Jupyter: Run backtests, optimization, significance tests, Monte Carlo analysis, candle workflows, and machine learning from Python scripts or notebooks. - 🦀 Rust-Powered Indicators: Native Rust implementations make indicator-heavy strategies and l