Skip to content
Projects

About

Free, open source trading terminal. Agentic IDE for Python strategies and backtests. LSE market data integrated; connects to other data providers and brokers.

Business & Finance

How these counts are measured

Measured star growth

in 24h
+24
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

LSE Terminal

The IDE for systematic trading. Windows and Mac. Download: https://londonstrategicedge.com/terminal

You write the strategy in Python. The terminal backtests it on the full history, fits the models, and routes the orders. The model you talk to sees the same screen you do and works the same engine: it reads the chart, runs the backtest, edits the file, runs it again. The engine is a local Python process and nothing you write leaves your machine.

Workspace. A Python editor where your strategy lives. strategy.py is the file the backtester and the live runner both use. Lookbacks are written in days and the engine converts them to bars for whatever timeframe the dataset has, so the same file works on hourly and daily data.

Backtester. Runs the strategy over the whole dataset. There is no bar limit on local files. You can set a date range, run walk-forward folds or Monte Carlo resamples, and add commission and slippage. You get the trade list, the equity curve, drawdown, Sharpe, Sortino, VaR and time in market.

Assistant. A model with access to the engine. It can pull candles and economic series, run backtests, build ML datasets and train models, read your positions and fills, open research papers, run Python and edit files in the workspace. It also sees the chart you have open. By default it uses the model we host, through your key. If you have Claude, Codex, Gemini, Kimi, Qwen, Copilot or OpenCode installed, the app connects them to the same tools over MCP and you use your own subscription.

Models. GARCH(1,1), Kalman filter, hidden Markov regimes, LSTM forecasts and an autoencoder for anomaly detection. They fit on the dataset in view and plot next to the chart.

Data. Over 500 TB. Tick and candle history across stocks, FX, crypto, ETFs, commodities, futures, indices, rates and volatility; options chains and options flow; economic series and release calendars; the US Treasury curve; papers from NBER, BIS, the Fed and the ECB. Other sources come in through the same adapter layer: a connected broker's prices can be charted and traded, and a strategy can attach any series as alternative data with use NAME, from economic releases to your own imports.

Execution. Orders go through Brue Connect, the broker kit that ships with Brue. Each broker has an adapter, a small program on your computer. Your broker keys are kept on your computer, handed only to that adapter and never sent to London Strategic Edge. The terminal comes with the LSE demo account and adapters for the brokers it supports. For any other broker, "+ Add your own broker" on the Connections screen writes a starter adapter that you fill in with your broker's API calls; the guide in the app takes you through it step by step. Positions, fills and P&L show in the ticket and the assistant can read them.

Dashboards. Boards of widgets you write yourself. A widget is a few lines of JavaScript that reads the terminal's data and draws it: candles, prices, option chains, economic series, your own files. Each widget runs in a sandbox that can read data and nothing else.

Windows. Any view opens in a window of its own, so the chart can sit on one monitor and the workspace on another. The app remembers where each window was and reopens it there.

Brue. You can also write indicators and entry rules in Brue, a small language that runs on a Python engine.

Key

One free key from https://londonstrategicedge.com/data. It unlocks the data feed and the demo account. It is saved in ~/.config/lse-terminal/config.json and only ever sent to api.londonstrategicedge.com. Sign out deletes it and disconnects the demo account.

Install

Get the installer from https://londonstrategicedge.com/terminal. The app checks for updates when it starts and every four hours, downloads them in the background and installs them the next time it opens.

From source

You need Python 3.10 or newer and Node 20 or newer.

git clone https://github.com/londonstrategicedge/lse-terminal.git
git clone https://github.com/londonstrategicedge/brue.git
cd lse-terminal
python -m venv .venv
.venv/bin/pip install -e ../brue -e ".[dev]"
.venv/bin/lset

brue holds the Brue language and Brue Connect, the broker kit. Without the clone, pip install -e ".[dev]" takes the same from PyPI (brue-language). If an earlier setup left a brue-connect folder next to this one, remove it and run .venv/bin/pip uninstall brue-connect, so the Brue Connect inside Brue is the one used.

lset starts the engine and opens the terminal in a browser tab. Tests: .venv/bin/python -m pytest tests/, and the screen's own checks with for f in tests/test_*.mjs; do node "$f"; done.

The installers are built with desktop/build-mac.sh and desktop/build-win.ps1. build-win.ps1 uses the Python given by -Python, which must be 3.11.9 with this package, Brue (pip install -e ../brue -e .) and PyInstaller installed; it checks those inputs first (desktop/release_build_guard.py).

Files

~/.config/lse-terminal/ has the key, imported data, workspace, indicators, notebooks, dashboards and assistant chats.

Licence

MIT.

Explore related projects

Loading…