Overview
Getting Started
Last updated March 1, 2026
Hornpub is a visual algorithmic trading platform. Build strategies by connecting blocks. No coding required, and the platform executes them automatically against real market data from Binance in paper trading mode.
Platform Overview
At a high level, Hornpub has three layers: a visual Strategy Builder (the block editor), a Runner that executes compiled strategies on a schedule, and a Paper Broker that simulates trades without real money.
Drag and connect blocks in the Editor to define your strategy logic.
The block workspace is compiled to JavaScript and saved to your project.
The Runner picks up your project, evaluates every block, and executes buy/sell orders.
Creating a Project
A project is the container for one strategy. It holds the block workspace, compiled code, settings, positions, logs, and trade history. You can have multiple projects running simultaneously.
Steps
- From the Home screen, click New Project.
- Enter a project name (e.g.
BTC RSI Swing). - Select the trading symbols you want the strategy to trade (e.g.
BTCUSDT,ETHUSDT). The strategy runs independently for each symbol. - Click Create. You'll be taken to the project dashboard.
Project Tabs
Every project has six tabs:
| Tab | What it shows |
|---|---|
| Live | Overview dashboard with equity curve, open positions, and recent logs. |
| Positions | Open positions and full filled-orders history. |
| Logs | Filterable execution log with level, symbol, and run ID filters. |
| Editor | The visual block strategy builder. |
| Backtest | Historical simulation against Binance kline data. |
| Settings | Symbols, interval, trade hours, risk controls, and logging options. |
Your First Strategy
The fastest path to a working strategy: buy when RSI is oversold, sell when it recovers.
- Open the Editor tab and click Blocks to open the toolbox.
- From Logic, drag an if / do block onto the canvas.
- From Indicators → Momentum, drag an RSI block. Set period to
14. - Add a comparison block (
<) connecting RSI to30: this is your "oversold" condition. - Add a NOT In Position block with AND logic to prevent re-buying.
- From Trading, drag a BUY block into the do slot. Set the USD amount (e.g.
100). - Add a second if / do with a Take Profit block (e.g. 5%) and SELL 100%.
- Click Compile, then Run. Your strategy is now live.