The u2Algo Workflow
u2Algo turns your trading ideas into live bots in 4 steps. This tutorial walks you through each one with a real example.
Step 1: Write Your Prompt
Go to the Strategy Builder and describe your strategy. Let's use a real example:
"Create a Bollinger Band squeeze strategy for ETHUSDT on the 1h timeframe. When bands squeeze (bandwidth below 20-bar average), wait for breakout above upper band with volume confirmation (2x average). Stop loss at middle band, take profit at 2:1 R:R."
Tips for better prompts:
- Specify the symbol (BTCUSDT, ETHUSDT)
- Specify the timeframe (1m, 5m, 1h, 4h, 1d)
- Include entry conditions clearly
- Define stop loss and take profit rules
- Mention any filters (volume, trend direction)
Step 2: Review AI-Generated Code
The AI generates two outputs:
- Python strategy code — the trading logic
- TradingView Pine Script — visualization on charts
The Python code follows strict rules:
- Only uses safe libraries (pandas, numpy, ta)
- Validated through our 4-layer security sandbox
- No dangerous operations (no file access, no network calls)
You can tweak parameters using the slider controls before backtesting.
Step 3: Backtest Against Real Data
Click "Run Backtest" to test your strategy against real Binance historical data. No synthetic data — real candles, real volume.
Key metrics to evaluate:
- Win Rate > 50% — more winning trades than losing
- Sharpe Ratio > 1.5 — good risk-adjusted returns
- Max Drawdown < 15% — acceptable worst-case loss
- Profit Factor > 1.5 — gross profits exceed losses
Step 4: Deploy Your Bot
Once satisfied, click "Deploy as Live Trading Bot". You'll need to:
- Connect your exchange (Binance API key)
- Set risk parameters (max position size, daily loss limit)
- Choose paper trade (recommended first) or live
Your bot runs 24/7 on our servers. The kill switch stops all trading if drawdown exceeds 15%.
Start Building
Free plan includes 1 paper bot, 3 prompts/month, and 10 backtests/month. No credit card required.