Actively developed AlgoGP bridge

Jesse guide

Jesse trades flexibility for clarity: strategies read almost like the trading rules they implement.

Last reviewed

Quick answer

Jesse is an open-source Python framework for crypto strategies with a deliberately simple API: should_long, go_long, update_position and friends. It focuses on accurate backtests (no look-ahead across multiple timeframes), offers optimization and a web dashboard, and supports live trading through its live plugin on exchanges such as Binance, Bybit, Coinbase, Bitget, Gate and Hyperliquid.

Jesse at a glance

Category
Crypto trading bots
Language
Python
License
MIT
Does
Backtesting, Live trading, Paper trading, Optimization
Markets
Crypto
Best for
Crypto traders who want clean strategy code and trustworthy multi-timeframe backtests.
In AlgoGP
Built-in bridge: add it to any project

Pick it if

Crypto traders who want clean strategy code and trustworthy multi-timeframe backtests.

Watch out for

Crypto only.

Jesse strengths and limitations

Strengths

  • Very readable strategy API.
  • Careful handling of multi-timeframe data.
  • Dashboard for backtests, optimization and live.

Limitations

  • Crypto only.
  • Needs PostgreSQL and Redis.
  • Live trading is a separate plugin.

Jesse example

pip install jesse
Install
from jesse.strategies import Strategy
import jesse.indicators as ta

class EmaTrend(Strategy):
    def should_long(self):
        return ta.ema(self.candles, 20) > ta.ema(self.candles, 50)
    def go_long(self):
        self.buy = 1, self.price
        self.stop_loss = 1, self.price * 0.95
    def should_cancel_entry(self):
        return True
EMA trend strategy.

Use Jesse with AlgoGP

AlgoGP has a built-in Jesse bridge. Describe the strategy to the copilot and backtest it in AlgoGP, then open the project’s APIs & keys tab and add Jesse under Frameworks. The project gains these files, saved as a new version and included in every export:

  • frameworks/algogp_bridge.py
  • frameworks/tests/test_bridge.py
  • frameworks/jesse_strategy.py
  • requirements.txt gains: jesse
Route the AlgoGP strategy in the Jesse dashboard
Run the AlgoGP strategy with Jesse.

Jesse connects to Binance, Bybit, Coinbase Advanced Trade, Bitget, Gate (Gate.io), Hyperliquid. Each guide shows how to create the API key, which you can store in the project’s Keys & secrets.

Jesse: frequently asked questions

Is Jesse free?

The framework is MIT-licensed; the live trading plugin and some features have paid tiers.

Jesse alternatives

Independent guide. AlgoGP is not affiliated with Jesse. Features, licenses and maintenance change; check the official documentation. Nothing here is investment advice.

Build a strategy