Build your first strategy in 3 minutes

Follow this tutorial to create and run your first quantitative strategy in three minutes.

Overview

This tutorial walks through the BeeQuant strategy workflow: create a workflowconfigure nodesrun a backtest. You will build an RSI overbought/oversold timing strategy.

Create a workflow

  1. Sign in to BeeQuant and select Workflows from the sidebar.
  2. Select New workflow in the top-right corner.
  3. Add nodes to the canvas in order: Data source → Data extraction & processing → Strategy type → Position management → Risk control → Trading engine
  4. Connect the nodes to complete the workflow.
Figure 1: Workflow canvas

Configure node parameters

Open each node configuration panel and apply the following values. The full strategy configuration is shown below and can be loaded onto your canvas.

RSI Overbought/Oversold Strategy

An overbought/oversold reversal strategy based on RSI. Go long when RSI breaks above 70 into the overbought zone and close the long below 50; go short when RSI breaks below 30 into the oversold zone and close the short above 50. Data source: Binance spot ETHUSDT, 4h. Trading engine: Binance USDT-margined futures.

Core logic
Factor definition
rsi = ta_rsi(close, 14), calculates the 14-period Relative Strength Index from 0 to 100
Long entry (buy overbought)
rsi > 70, enter long when RSI breaks above the overbought threshold of 70
Close long
rsi < 50, close the long position when RSI falls below the neutral line
Short entry (sell oversold)
rsi < 30, enter short when RSI breaks below the oversold threshold of 30
Close short
rsi > 50, close the short position when RSI rises above the neutral line
Workflow node configuration

Run a backtest

  1. Use Save in the top-right corner of the canvas.
  2. Select Run to start the backtest.
  3. Wait for the backtest to complete, usually within one or two minutes.
Figure 2: Backtest report
Total profit/loss
+121,686.46 USDT
Total return
+121.69%
Annualized return
+121.20%
Maximum drawdown
-33.00%
    BeeQuant - AI Quantitative Trading Platform