# Jesse trading framework: license, venues, tested run

URL: https://fincodelabs.com/en/blog/jesse-trading-framework · Publisher: Fincode (Fincode Yazılım ve Teknoloji A.Ş.), Istanbul, Turkey · Category: Trading bots · Published: 2026-11-26 · Updated: 2026-11-26

Jesse trading framework read 26 Nov 2026: MIT core vs licensed live plugin, venues per the docs, bot structure, a tested synthetic backtest and failure cases.

**Short answer:** **Jesse** is an MIT-licensed Python framework for writing, backtesting and optimizing your own trading strategies; version 3.7.0 was released on 23 November 2026. As of 26 November 2026 its docs list 12 crypto exchanges for backtesting and 17 live venues, but live and paper trading need a separate official plugin that requires an active jesse.trade license. A synthetic backtest through its Research API ran here without a database or keys, but Jesse did not reject NaN prices or swapped columns, so validate data yourself.

This page answers three questions about the Jesse trading bot: is it free, which exchanges does it work with, and does it run. Sources: the project's repository, PyPI entry and docs, read on 26 November 2026, plus a same-day install of Jesse 3.7.0 fed synthetic and deliberately broken data.

Nothing here ranks tools, proposes a strategy or reports performance. Automated trading can lose money, and backtests do not show what will happen live.

## What the Jesse trading framework is, read on 26 November 2026

Jesse is an MIT-licensed Python framework for writing, backtesting, optimizing and running your own rule-based trading strategies, mainly for crypto venues.

**Jesse at a glance, read 26 November 2026 (GitHub, PyPI, official docs)**

| Item | What the official source shows |
| --- | --- |
| License | MIT for the jesse-ai/jesse repository (LICENSE file, copyright 2020 Jesse.Trade) |
| Latest release | 3.7.0, uploaded to PyPI on 23 November 2026 |
| Python | Docs: 3.10 to 3.13; PyPI metadata: 3.10 or later, no upper bound |
| Required database | PostgreSQL 10 or later for the dashboard workflow; the docs recommend Docker for beginners |
| Repository activity | Latest commit on master 23 November 2026; about 8.8k stars, 1.3k forks, 6 open issues and 6 open pull requests (GitHub repository page, 26 November 2026) |
| Live and paper trading | A separate official plugin; the docs say access is limited to holders of an active license |

Stars show attention, not quality. The README says the software is for educational purposes, has no warranty and may contain bugs.

## Is Jesse free? The MIT core and the licensed live plugin

The framework you install with pip is MIT-licensed and free to use, but live and paper trading run through an official plugin that requires a license key from a jesse.trade account.

The live trading docs (read 26 November 2026) say the plugin provides live and paper trading, that access is limited to those with an active license, and that you install it with `jesse install-live` after setting `LICENSE_API_TOKEN` in `.env` to a token from your jesse.trade account. No price is given here: jesse.trade/pricing returned HTTP 403 to two requests on 26 November 2026.

So the open-source part covers research; anything that sends orders depends on a component outside the MIT repository, with its own terms.

## Which exchanges does Jesse support?

The supported-exchanges page lists 12 crypto exchanges for backtesting and candle import, three backtest-only data sources, and 17 live venues in a single list, and the backtest and live lists are not the same.

**Venues as stated on docs.jesse.trade, read 26 November 2026**

| Use | Venues listed |
| --- | --- |
| Backtest and candle import, crypto (12) | Binance Spot, Binance US Spot, Binance Perpetual Futures, Bitfinex Spot, Coinbase Spot (Coinbase Advanced), Bybit USDT Perpetual, Bybit USDC Perpetual, Bybit Spot, Gate.io Perpetual Futures, KuCoin USDT Perpetual, KuCoin Spot, Kraken Pro Futures |
| Live trading (17, page order) | Lighter, Apex Omni, Kraken Pro Futures, Kraken Pro Spot, KuCoin USDT Perpetual Futures, KuCoin Spot, Hyperliquid, Bybit USDT Perpetual Futures, Bybit USDC Perpetual Futures, Bybit Spot, Binance Perpetual Futures, Binance Spot, Binance US Spot, Coinbase Spot (Coinbase Advanced), Gate.io Perpetual Futures, Gate.io Spot, Alpaca (US stocks and ETFs, marked public beta) |
| Backtest only, other data | Financial Modeling Prep (the page says one-minute data needs FMP's Ultimate plan), Massive (API key), Custom Data (CSV upload) |

Lighter, Apex Omni, Hyperliquid, Kraken Pro Spot, Gate.io Spot and Alpaca are live-only, and Bitfinex Spot is backtest-only, so a strategy researched on one venue's candles may be run live on another venue's prices. Naming a venue here is not a recommendation, and it does not mean Fincode integrates it or has built on it.

Whether you may use any of these venues depends on your country and the venue's terms. For readers in Turkey: Article 99/A of Capital Markets Law No. 6362 treats activity by foreign crypto-asset platforms directed at Turkish residents as unauthorized.

## How a Jesse bot is structured

A Jesse project is a folder created from the official project template, with an `.env` file, a PostgreSQL database and one Python class per strategy, driven from a browser dashboard that `jesse run` serves on port 9000 by default.

The getting-started page has you clone `jesse-ai/project-template`, copy `.env.example` to `.env` (dashboard password, PostgreSQL settings, live-trade token) and run `jesse run`. Strategies live in `strategies/<Name>/__init__.py`; logs and charts go to `storage/`.

**Strategy methods named on the docs page on entering and exiting, read 26 November 2026**

| Method | Role |
| --- | --- |
| `should_long()`, `should_short()` | Return a boolean on each new candle while no position or active order exists |
| `go_long()`, `go_short()` | Set `self.buy` or `self.sell`, plus `self.stop_loss` and `self.take_profit` |
| `should_cancel_entry()` | Whether an unfilled entry order is cancelled; exit orders are unaffected |
| `update_position()` | Runs while a position is open, to move exits or add size |
| `before()`, `after()` | First and last calls on each new candle |
| `before_terminate()`, `terminate()` | Shutdown hooks; only the first can still submit orders |

Jesse also ships a local MCP server that lets AI coding assistants run backtests and edit strategies; the template says its token is derived from the dashboard password, so that password guards more than a web page. Other open-source tools are covered in the [open-source crypto trading bot overview](https://fincodelabs.com/en/blog/open-source-crypto-trading-bot), without a ranking.

## Jesse Python install and a minimal backtest on synthetic data

`pip install jesse==3.7.0` installed cleanly in a fresh virtual environment, and the Research API ran a backtest on made-up candles with no database, no exchange and no API key.

Setup on 26 November 2026: Windows 11, Python 3.11.3, pip 22.3.1, new venv; pip list then showed 113 packages, including Ray 2.60.1 and jesse-rust 1.3.1. The docs ask for pip 23 or later, so use a current pip. Install only the PyPI package `jesse` or the jesse-ai GitHub code: a search on 26 November 2026 also returned forks and a third-party SourceForge listing whose JesseAi.zip download that site itself labeled "Malware Detected".

The script places one fixed market order on invented prices and closes it five bars later. It is not a strategy; it shows the data format and how fills and fees are recorded.

```python
import math
import numpy as np
import jesse.helpers as jh
from jesse.strategies import Strategy
from jesse.research import backtest

START_MS = 1_767_225_600_000  # 2026-01-01 00:00 UTC, minute-aligned

def make_candles(closes, start_ms=START_MS):
    """Synthetic 1m rows: timestamp, open, close, high, low, volume."""
    rows, prev = [], closes[0]
    for i, c in enumerate(closes):
        o = prev
        rows.append([start_ms + i * 60_000, o, c, max(o, c), min(o, c), 100.0])
        prev = c
    return np.array(rows, dtype=float)

def check_candles(arr):
    """Price checks Jesse's research backtest does not do itself."""
    if not (arr.ndim == 2 and arr.shape[1] == 6 and len(arr) > 0):
        raise ValueError('need a nonempty six-column array')
    if not (np.diff(arr[:, 0]) == 60_000).all():
        raise ValueError('timestamps must step by exactly 60,000 ms')
    if not np.isfinite(arr).all():
        raise ValueError('NaN or infinite value')
    _, o, c, h, l, v = arr.T
    if (arr[:, 1:5] <= 0).any() or (v < 0).any():
        raise ValueError('non-positive price or negative volume')
    if (h < np.maximum(o, c)).any() or (l > np.minimum(o, c)).any():
        raise ValueError('high/low inconsistent: columns may be OHLC, not open-close-high-low')
    return arr

class OneFixedTrade(Strategy):
    """Mechanics only: one market entry, closed after 5 bars. Not a strategy."""
    def should_long(self):
        return len(self.trades) == 0 and self.index == 0

    def go_long(self):
        self.buy = 1, self.price

    def update_position(self):
        if self.index >= 5:
            self.liquidate()

    def should_cancel_entry(self):
        return True

def run(closes):
    candles = check_candles(make_candles(closes))
    key = jh.key('Sandbox', 'BTC-USDT')
    return backtest(
        config={'starting_balance': 10_000, 'fee': 0.001, 'type': 'spot',
                'exchange': 'Sandbox', 'warm_up_candles': 0},
        routes=[{'exchange': 'Sandbox', 'strategy': OneFixedTrade,
                 'symbol': 'BTC-USDT', 'timeframe': '1m'}],
        data_routes=[],
        candles={key: {'exchange': 'Sandbox', 'symbol': 'BTC-USDT', 'candles': candles}},
    )

if __name__ == '__main__':
    closes = [100.0 + math.sin(i / 3) for i in range(20)]  # synthetic
    trade, = run(closes)['trades']  # ValueError unless exactly one trade
    buy, sell = trade['orders']     # ValueError unless exactly two orders
    print('fills:', buy['price'], '->', round(sell['price'], 4))
    print('qty bought:', buy['qty'], '| qty sold:', sell['qty'])
    print('fee reported:', round(trade['fee'], 6))
    print('fee by hand: ', round(0.001 * (buy['price'] * buy['qty']
                                    + sell['price'] * abs(sell['qty'])), 6))
```

Output of that exact file:

```
fills: 100.0 -> 100.9954
qty bought: 1.0 | qty sold: -0.999
fee reported: 0.200894
fee by hand:  0.200894
```

> **What the run shows (synthetic data).** In spot mode the 0.1% buy fee was taken from the asset bought, so 1.0 unit bought became 0.999 units sold. The reported fee, 0.200894, matches 0.001 × (100.0 × 1.0 + 100.9954 × 0.999) computed by hand. That is the engine's assumption; venues may charge fees in another currency.

The run also created a `storage/` folder in the current working directory, so start research scripts from a project folder.

## Where Jesse fails: what the tests showed

Jesse's research backtest checks timestamps but not prices, so several bad inputs ran without any error; the `check_candles()` function above catches them first.

**Bad candle inputs fed straight to jesse.research.backtest, Jesse 3.7.0, 26 November 2026**

| Input | Jesse's behavior | `check_candles()` |
| --- | --- | --- |
| Columns in OHLC order instead of Jesse's open, close, high, low | Ran, no error | Rejected: high/low inconsistent |
| NaN close on a bar with no order | Ran, no error | Rejected |
| `float("1e400")`, which becomes infinity | Ran, no error | Rejected |
| One missing minute | Ran; the exit came one minute later, at 100.9093 instead of 100.9954, because the demo counts bars, not minutes | Rejected |
| NaN close on the exit bar | Raised `InvalidStrategy` about `self.stop_loss`, although the code never sets a stop-loss | Rejected |
| Empty array | Raised `ValueError`: nonempty six-column array | Rejected |

The column order is the main trap: Jesse's arrays are timestamp, open, close, high, low, volume, while most data sources deliver open, high, low, close, and a swapped file still runs. The missing-minute case matters for 24-hour crypto data, because the research backtest accepts sparse candles; counting bars instead of time is then a bug in your own code, not in Jesse. More pitfalls of this kind are in the guide to [backtesting pitfalls](https://fincodelabs.com/en/blog/backtesting-trading-strategy-pitfalls).

### Where the docs and the code disagree

- The Research API page lists a `generate_tradingview` parameter for `backtest()`; the installed 3.7.0 function has no such parameter, so passing it raises a `TypeError`.
- The docs give Python 3.10 to 3.13; PyPI metadata for 3.7.0 sets only a lower bound of 3.10. Stay inside the documented range.

## From backtest to live: what stays your job

Jesse gives you an engine and a dashboard; risk controls, keys, monitoring and the decision to trade remain yours.

- **Keys.** Live trading needs exchange API keys on the machine running Jesse. Use trade-only keys without withdrawal rights, as the guide on [API key security for trading bots](https://fincodelabs.com/en/blog/api-key-security-trading-bots) explains.
- **Stopping.** Decide in advance what halts the bot and who can halt it; see [trading bot kill switches](https://fincodelabs.com/en/blog/trading-bot-kill-switch).
- **Dashboard exposure.** The dashboard and MCP endpoint are protected by one password; do not expose port 9000 to the internet without a reverse proxy and access control.
- **Testing.** Paper trading also goes through the licensed plugin; read [how to test trading bots](https://fincodelabs.com/en/blog/how-to-test-trading-bots) for what paper runs miss.

A backtest, however careful, does not predict live results, and automated trading can lose money, on leveraged futures more than the position size suggests. If you have Jesse strategy code written from your own rules and want an outside check of its order handling and failure paths, Fincode offers a [trading bot code review](https://fincodelabs.com/en/services/trading-bot-code-review); it does not supply strategies. Related tools: the [Freqtrade tutorial](https://fincodelabs.com/en/blog/freqtrade-tutorial) and the [NautilusTrader guide](https://fincodelabs.com/en/blog/nautilus-trader-python).

Related guide: [Machine learning trading bot development](https://fincodelabs.com/en/blog/machine-learning-trading-bot-development).

## Frequently asked questions

### Is the Jesse trading bot free?

The framework is MIT-licensed and free to install with pip. As of 26 November 2026 the docs say live and paper trading come from an official plugin whose access is limited to holders of an active jesse.trade license; the price could not be read because the pricing page returned HTTP 403.

### Can Jesse backtest on my own CSV data?

Yes. As of 26 November 2026 the supported-exchanges page lists Custom Data, a CSV upload with timestamp, open, close, high, low and volume columns, for backtesting only. Validate the file first.

### What order are Jesse candle columns in?

Timestamp in milliseconds, open, close, high, low, volume. Most data sources use open, high, low, close, and Jesse 3.7.0 ran a backtest on swapped columns without raising an error in the test on 26 November 2026.

### Is Jesse AI trading?

Jesse has a machine-learning pipeline built on scikit-learn and an MCP server that lets AI coding assistants run its tools. Neither makes a strategy profitable; they are research tools, and their output still needs the same testing as any other code.

## Sources

- [Jesse on GitHub: README (features, MCP, disclaimer), read 26 November 2026](https://github.com/jesse-ai/jesse)
- [Jesse LICENSE file (MIT)](https://github.com/jesse-ai/jesse/blob/master/LICENSE)
- [PyPI: jesse 3.7.0 (release date, Python requirement, dependencies)](https://pypi.org/project/jesse/)
- [Jesse docs: Getting started (Python, pip, PostgreSQL, Docker, project structure)](https://docs.jesse.trade/docs/getting-started/)
- [Jesse docs: Supported exchanges (backtest and live venues)](https://docs.jesse.trade/docs/supported-exchanges)
- [Jesse docs: Live trading (plugin, license key, paper trading)](https://docs.jesse.trade/docs/livetrade)
- [Jesse docs: Research API, backtest() function](https://docs.jesse.trade/docs/research/backtest)
- [Jesse docs: Entering and exiting trades (strategy methods)](https://docs.jesse.trade/docs/strategies/entering-and-exiting)
- [Jesse project template on GitHub (.env.example)](https://github.com/jesse-ai/project-template)

> This guide is general information about software and markets, not investment, legal or tax advice. Automated trading can lose money, past or backtested performance does not guarantee future results, and the rules that apply depend on your jurisdiction and your exchange's terms. Sources, checks and corrections: see the [editorial policy](https://fincodelabs.com/en/editorial-policy).

---

Published by Fincode (Fincode Yazılım ve Teknoloji A.Ş.), a software company in Istanbul, Turkey: https://fincodelabs.com/en/blog/jesse-trading-framework

Cite as: Fincode, "Jesse trading framework: license, venues, tested run", updated November 26, 2026, https://fincodelabs.com/en/blog/jesse-trading-framework
