Developer & Quantitative Trader Hub

Algomins Documentation & User Guide

Learn how to construct visual strategies, trade pre-built quant algorithms, bridge TradingView Pine Script webhooks, and automate multi-exchange execution.

SECTION 1

Quickstart Guide: Go Live in 4 Steps

AlgoMins allows algorithmic traders, prop desks, and retail investors to launch automated quantitative strategies in under 5 minutes without writing custom broker order routers.

1
Create Your Workspace & Free Sandbox

Sign up at /register. Every new tenant workspace receives instant access to the simulated Paper Trading Engine seeded with $250.00 capital to test strategies with zero financial risk.

2
Link Your Exchange API Key (Non-Custodial)

Navigate to /integrations. Generate an official API Key & Secret on Binance, Bybit, KuCoin, OKX, Bitget, Gate.io, MEXC, Kraken Pro, or Coinbase Advanced with Read and Trade permissions only. Withdrawals are strictly blocked by design.

3
Select a Strategy or Build Your Own

Browse the pre-calibrated quantitative models on the Strategy Marketplace or drag & drop indicators visually in the Strategy Builder.

4
Toggle the Live Trading Engine ON

In your Trading Dashboard, toggle the engine switch to RUNNING. The high-throughput background worker continuously scans incoming ticks and evaluates entry/exit signals with automatic bracket management.

SECTION 2

Visual Strategy Builder (Chartink-Style Quant Studio)

The /strategy-builder quant studio enables you to build custom algorithmic trading strategies without writing code, inspired by the intuitive rule-construction workflows of Chartink.

Anatomy of a Strategy Rule

Each rule is broken down into structured components:

Clause Parameter Description Supported Examples
Offset / Timeframe Candle historical index evaluated for indicator calculation. [ Latest Bar ], [ 1 Bar Ago ], [ 2 Bars Ago ]
Left Operand The primary technical indicator, price property, or volume field. Close, Open, RSI(14), EMA(20), SMA(200), VWAP, MACD Line, Donchian High, FVG Bullish
Comparison Operator Mathematical relationship between the operands. Crossed Above, Crossed Below, Greater Than (>), Less Than (<), >=, <=, Equals (=)
Right Operand Dynamic comparison target: another indicator or a static numerical constant. EMA(50), Bollinger Upper, Number: 35, Number: 70, VWAP

Logical Grouping: Pass ALL vs Pass ANY

  • Pass ALL (AND): Every condition row in the group must be simultaneously true on the candle close to trigger an entry order.
  • Pass ANY (OR): If any single condition row in the group triggers, the order is dispatched immediately.

Instant Candle Backtesting

Clicking "Instant Backtest" runs your visual rules against live historical candles fetched directly from Binance/Bybit. The engine computes:

Win Rate %
Historical Accuracy
Net PnL %
Cumulative Return
Profit Factor
Gross Profit / Loss
Max Drawdown
Peak-to-Trough Risk
SECTION 3

Institutional Plug-and-Play Strategies

AlgoMins features 9 pre-engineered quantitative strategies that can be activated with a single click:

1. High-Frequency Dynamic Grid & DCA (grid-trading-dca)
GridArbitrage • 5m

Popular on Binance, Bybit, and KuCoin. Establishes an anchored VWAP baseline and calculates multi-tiered arithmetic grid rungs calibrated to ATR(14). Buys discounted levels during pullbacks and sells upper rungs on mean reversion with dynamic DCA sizing.

Target: BTC/USDT • SL: 1.0% • TP: 1.2% • R:R 1:1.2 • Supported: All Exchanges
2. Turtle Trading Donchian Breakout (turtle-donchian-breakout)
TrendFollowing • 1h

The legendary system by Richard Dennis and William Eckhardt. Buys when price breaks the 20-period highest high and shorts when price pierces the 20-period lowest low, with 2x ATR protective stops and 10-period exit channel trailing.

Target: BTC/USDT • SL: 2x ATR • TP: 5x ATR • R:R 1:2.5 • Trend Rider
3. Smart Money Concepts: FVG & Liquidity (ict-fair-value-gap)
MomentumScalper • 15m

Detects 3-bar institutional displacement imbalances (Fair Value Gaps). Waits for market makers to retrace and mitigate the 50% midpoint (Consequent Encroachment) in the direction of the 50 EMA trend before executing high-expectancy reversals.

Target: ETH/USDT • SL: 0.9% • TP: 2.25% • R:R 1:2.5 • Institutional SMC
4. Keltner & Bollinger Squeeze Momentum (keltner-squeeze-momentum)
VolatilityBreakout • 15m

Inspired by John Carter's TTM Squeeze. Pinpoints volatility coiling when Bollinger Bands (20, 2.0) contract inside Keltner Channels (20, 1.5 ATR). Enters explosive expansion moves as the squeeze fires in the direction of the momentum oscillator.

Target: SOL/USDT • SL: 1.2% • TP: 3.0% • R:R 1:2.5 • Squeeze Volatility
5. RSI Dynamic Momentum Scalper (rsi-momentum-scalper)
MomentumScalper • 5m

High-velocity scalper combining EMA 9/21 trend filters with 14-period RSI recovery crosses (crossing back above 40 for longs, or below 60 for shorts) with 1:2 Risk-to-Reward geometry.

Target: BTC/USDT • SL: 0.8% • TP: 1.6% • R:R 1:2.0
6. MACD & Supertrend Trend Expansion (macd-supertrend-runner)
TrendFollowing • 15m

Institutional trend-following engine pairing Supertrend(10, 3.0) regime filtering with MACD(12, 26, 9) histogram expansion on ETH/USDT with 1:2.5 R:R geometry.

Target: ETH/USDT • SL: 1.2% • TP: 3.0% • R:R 1:2.5
7. Bollinger Volatility Squeeze & Surge (bollinger-squeeze-breakout)
VolatilityBreakout • 15m

Captures standard deviation squeezes and band ruptures with high-volume confirmation on Solana (SOL/USDT).

Target: SOL/USDT • SL: 1.5% • TP: 3.0% • R:R 1:2.0
8. VWAP Statistical Mean Reversion (vwap-mean-reversion-flux)
MeanReversion • 5m

Exploits stretched 2-standard-deviation intraday price extensions away from Volume-Weighted Average Price with RSI exhaustion to trade the snap-back to mean.

Target: BTC/USDT • SL: 1.0% • TP: VWAP Touch
9. Dual EMA Golden Trend Cross (dual-ema-golden-cross)
TrendFollowing • 15m

Trades Fast EMA 20 crossing Intermediate EMA 50 in alignment with the broader 200-period Simple Moving Average macro baseline.

Target: ETH/USDT • SL: 1.0% • TP: 2.0% • R:R 1:2.0
10. Dual MA Dynamic Channel Pullback (dual-ma-channel-pullback)
TrendFollowing • 15m

Dynamic trend channel established by MA High and MA Close (Period 20). Enters long on confirmed pullback and rejection of channel, short on retracement breakdown.

Target: BTC/USDT • Dynamic Channel SL • TP: 1:2.0 R:R
11. Multi-Timeframe Doji Liquidity Sweep & Retest (htf-doji-liquidity-sweep)
VolatilityBreakout • 5m / 15m

Detects 15m Doji candles (body ≤ 15% range) as institutional liquidity levels, executing on 5m sweeps and retest rejection bars with 1:2 R:R targets.

Target: BTC/USDT • HTF Doji Extrema SL • TP: 1:2.0 R:R
12. Multi-Timeframe Daily High/Low Reversal (daily-hl-reversal)
MeanReversion • 1m / 1D

Maps Previous Day High (PDH) and Low (PDL) from 1D candles to execute 1-minute reversal breakouts after liquidity sweeps beyond prior day boundaries.

Target: BTC/USDT • Extreme Swing SL • TP: 1:2.0 R:R
13. US Session Open 1-Hour Breakout (us-session-open-breakout)
VolatilityBreakout • 5m / 1m

Intraday volatility expansion model capturing institutional momentum outside the 6:30 PM - 7:30 PM IST 1-hour reference range with strict 1 trade/day and 11:30 PM IST square-off.

Target: BTC/USDT • Opposite Range SL • TP: 1:2.0 R:R • 23:30 IST Auto Close
SECTION 4

Exchange API Integrations & Security Architecture

AlgoMins communicates directly with 12 exchange gateways via low-latency REST and WebSocket order execution protocols:

Binance (USDⓈ-M & Spot)
Bybit V5 Linear Perps
KuCoin Futures Pro
OKX V5 Unified Swaps
Bitget USDT-M
Delta Exchange Perps
Gate.io Futures v4
MEXC (0% Maker Fee)
Kraken Pro WebSocket v2
Coinbase Advanced Trade
TradingView Webhooks
Paper Trading Simulator

Non-Custodial Security Checklist

  • Read & Trade Permissions Only: When generating API keys on any exchange, check only Enable Reading and Enable Futures/Spot Trading. Keep Enable Withdrawals strictly disabled.
  • IP Whitelisting: You can restrict your exchange API key strictly to your server's static IP to prevent unauthorized access even if keys are intercepted.
  • AES-256 Tenant-Isolated Storage: All API secrets are encrypted at rest with hardware-accelerated AES-256 and never logged or exposed in client payloads.
SECTION 5

TradingView Pine Script (v5) Webhook Bridge

AlgoMins provides a dedicated high-speed webhook listener that receives alerts from any TradingView indicator or strategy script, converts them into bracket orders, and routes them to your connected broker in under 1 millisecond.

Inbound Webhook Endpoint
POST https://your-domain.com/api/tradingview/webhook
TradingView Alert JSON Payload Format

Paste the following JSON in the TradingView Alert Message box:

{
  "secret": "YOUR_WEBHOOK_SECRET",
  "ticker": "{{ticker}}",
  "action": "{{strategy.order.action}}",
  "price": {{close}},
  "timestamp": {{time}}
}
Compilable Pine Script (v5) Example
//@version=5
strategy("AlgoMins Continuous 1:4 Momentum", overlay=true, margin_long=100, margin_short=100)

// Fast & Slow EMA Cross Entry Trigger
fastEMA = ta.ema(close, 9)
slowEMA = ta.ema(close, 21)
longCondition = ta.crossover(fastEMA, slowEMA)
shortCondition = ta.crossunder(fastEMA, slowEMA)

if (longCondition)
    strategy.entry("Long", strategy.long, 
        alert_message='{"secret":"YOUR_WEBHOOK_SECRET","ticker":"BTCUSDT","action":"buy","price":' + str.tostring(close) + ',"timestamp":' + str.tostring(time) + '}')

if (shortCondition)
    strategy.entry("Short", strategy.short, 
        alert_message='{"secret":"YOUR_WEBHOOK_SECRET","ticker":"BTCUSDT","action":"sell","price":' + str.tostring(close) + ',"timestamp":' + str.tostring(time) + '}')
SECTION 6

Execution Engine & Risk Management System (RMS)

AlgoMins operates a continuous portfolio compounding engine designed around strict mathematical money management:

Dynamic 10% Capital Allocation Formula

Every trade automatically risks a calibrated percentage of total portfolio equity, ensuring compounding during win streaks and capital preservation during drawdowns:

Allocated Trade Value = 0.10 × Current Portfolio Equity
Order Quantity = Allocated Trade Value / Entry Price
Asymmetric Risk-to-Reward Geometry
  • Stop Loss (1R): Protective stop set at 1.0% against position direction.
  • Target 1 (+1R): When price moves +1R in profit, the engine moves Stop Loss strictly to Cost-to-Cost (Break-Even), eliminating downside risk.
  • Target 2 (+2.5R to +4R): The terminal books the full position upon hitting target expansion.
  • Continuous Compounding Loop: Once a position closes via TP, SL, or Signal Reversal, the engine immediately recalculates position size from current equity and stands ready for the next trade.
RMS Kill-Switch & Circuit Breakers

If daily drawdown exceeds 5% or if exchange WebSocket disconnects for more than 15 seconds, the RMS Panic Kill-Switch immediately cancels pending orders, executes market exit on open trades, and locks the engine in a protective idle state.

SECTION 7

Developer REST API Reference

Integrate external quantitative tools, Python notebooks, or custom trading harnesses directly with the AlgoMins API:

Method Endpoint Description
POST /api/tradingview/webhook Inbound webhook alert receiver with token verification.
POST /api/strategy-builder/simulate Runs instant simulation of visual condition rules against live candle data.
POST /api/strategy-builder/save Saves and catalogs custom visual strategy to database and user subscriptions.
POST /api/strategy-builder/generate-pine Compiles visual strategy definition into Pine Script v5 code.
GET /api/broker/status Returns verified status and protocols of all 12 exchange gateways.
GET /api/broker/ping?venue={exchange} Measures active round-trip ping latency to exchange in milliseconds.
GET /api/engine/status Returns runtime account equity, engine state (Running/Stopped), and active trade.
POST /api/backtest/run Executes historical backtest with customizable geometry and fee models.