Algomins Knowledge Base & API Guide
Learn how to build visual algorithms, connect TradingView Pine Script webhooks, and deploy automated multi-leg options.
1. Getting Started in 3 Steps
Deploying automated strategies on Algomins takes less than 5 minutes:
Register your 14-day free trial workspace with instant sandbox paper trading access.
Paste your official API Key & Secret from Binance, Bybit, Bitget, or OKX.
Select your strategy template, configure target/stop-loss rules, and toggle the engine ON.
2. The 3 EMA Ribbon & ATR Strategy (1:6 RR)
Algomins comes pre-loaded with an institutional trend-following momentum strategy built on Exponential Moving Average (EMA 9, 21, 50) alignment and ATR volatility targets:
- Bullish Entry: Initiated when EMA 9 > EMA 21 > EMA 50 with bullish ribbon expansion.
- Bearish Entry: Initiated when EMA 9 < EMA 21 < EMA 50 with bearish ribbon expansion.
- Target 1 (1:1 Risk-Reward): Upon reaching Target 1 (+$83 on 1.0 unit), the bot automatically books 50% quantity and locks the Stop Loss strictly to Cost-to-Cost (Breakeven).
- Target 2 (1:6 Risk-Reward): Upon reaching Target 2 (+$498 on 1.0 unit), the bot books the remaining 100% position and exits cleanly.
- Reverse Bias Lock: If initial Stop Loss (-$83) is triggered, the engine pauses and waits for confirmed opposite ribbon stack before re-entering.
3. TradingView Pine Script Webhook Bridge
Send real-time alerts from your TradingView charts directly to Algomins execution engine with sub-millisecond webhook ingestion.
{
"secret_token": "algo_usr_live_89f3b201a",
"symbol": "BTCUSDT",
"action": "BUY",
"order_type": "MARKET",
"quantity": 1.0,
"tp1_price": 64416.00,
"tp2_price": 64582.00,
"initial_sl_price": 64167.00
}
Webhook Endpoint: https://api.algomins.com/v1/webhooks/execute (Requires HTTPS POST & valid Tenant Secret).
4. Risk Management Rules & Kill-Switch
Configure automated circuit breakers to protect against slippage, connection drops, and intraday drawdowns.
If a broker connection drops mid-order, Algomins immediately reconciles open positions via redundant polling and executes contingency protective stop-loss orders.
Start Testing Strategies in Free Sandbox