Scripts2026年5月20日·1 分钟阅读

Jesse — Advanced Crypto Algo-Trading Framework

A Python framework for developing and backtesting cryptocurrency trading strategies with a focus on simplicity, performance, and research-friendly design.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Jesse Trading Framework
通用 CLI 安装命令
npx tokrepo install d742be64-5425-11f1-9bc6-00163e2b0d79

Introduction

Jesse is a Python framework designed specifically for researching and developing cryptocurrency trading strategies. It emphasizes clean strategy syntax, fast backtesting, and seamless transition from research to live trading without rewriting code.

What Jesse Does

  • Backtests crypto trading strategies with accurate simulation of fees, slippage, and order types
  • Imports and stores historical candle data from supported exchanges for offline analysis
  • Provides a strategy API with built-in access to indicators, position sizing, and risk management
  • Supports live and paper trading on Binance, Bybit, and other exchanges
  • Offers genetic algorithm optimization for strategy parameter tuning

Architecture Overview

Jesse stores candle data in PostgreSQL for fast retrieval during backtesting. Strategies are Python classes that define entry, exit, and position sizing logic using a declarative API. The backtesting engine simulates order fills with configurable execution models, and the same strategy code runs in live mode without modification.

Self-Hosting & Configuration

  • Install via pip with PostgreSQL as the required data backend
  • Configure exchange API keys in a .env file for live trading
  • Import historical candles using the built-in CLI data fetcher
  • Define strategies in the strategies directory with indicator and signal logic
  • Deploy with Docker for consistent production environments

Key Features

  • Clean strategy API that separates signal logic from execution details
  • Fast vectorized backtesting with support for multiple timeframes per strategy
  • Built-in genetic algorithm optimizer for finding robust parameter sets
  • Accurate simulation of limit, market, and stop orders with partial fill support
  • Research notebooks for exploratory analysis alongside strategy development

Comparison with Similar Tools

  • Freqtrade — More exchange support and larger community; Jesse offers a cleaner strategy API and research tools
  • Backtrader — General-purpose; Jesse is crypto-native with exchange data import built in
  • CCXT — A connectivity library; Jesse is a full framework that uses CCXT internally
  • QuantConnect — Cloud-hosted and multi-asset; Jesse is local-first and crypto-focused

FAQ

Q: Does Jesse support spot and futures trading? A: Yes, it supports both spot and perpetual futures on compatible exchanges.

Q: Why does Jesse require PostgreSQL? A: PostgreSQL provides fast indexed queries over large candle datasets needed for backtesting.

Q: Can I run multiple strategies simultaneously? A: Yes, Jesse supports running multiple strategies across different trading pairs concurrently.

Q: Is Jesse free? A: Yes, Jesse is open source under the MIT license.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产