Documentation

Risk Engine & Webhook Reference

How AlgoVesta verifies every signal before execution, and the exact JSON payload to send from TradingView or any webhook source. Field names are literal — copy them as-is.

Risk Engine: how a signal is verified

A signal is never executed blindly. Before any order is placed, it passes a multi-module verification layer that checks it against live market conditions and the limits you set. If a hard rule fails, the signal is rejected — not sized down.

Neural scoringa 0–100 confidence score from a scoring model.
Volume & order-flowvolume spikes and aggressive-trade imbalance (VPIN).
Market regimetrend vs range vs mean-reversion classification.
Funding & liquidationfunding-rate dynamics and liquidation clusters.
Stop-loss mappingavoids placing stops inside known liquidity clusters.
Your hard rulesdirection, session hours, position and drawdown limits.

The exact module set and thresholds evolve as the platform is tuned. The principle is constant: your rules and risk limits are always applied before an order reaches your exchange.

Daily loss & drawdown protection

Beyond per-signal checks, two account-level safeguards run continuously.

Daily loss limitWhen your realised loss for the day reaches your configured limit — a percentage of balance or a fixed amount — AlgoVesta enters Safe Mode and stops opening new trades until the next day.
Drawdown-based sizingAs account drawdown grows, position size is automatically reduced in stages (cautious → defensive → survival), so a losing streak shrinks your exposure instead of compounding it.

Webhook payload reference

Send an HTTP POST with a JSON body to your AlgoVesta webhook URL. From TradingView, paste this into the alert message box. Field names must match exactly.

# POST https://api.algovesta.com/webhook/<your-token> { "symbol": "BTCUSDT", "side": "buy", "price": 64250.0, "stop_loss": 63800.0, "take_profit": 65100.0 }
FieldRequiredDescription
symbolYesExchange trading pair, e.g. BTCUSDT.
sideYesOrder direction: buy or sell.
priceOptionalEntry reference price; omit for market entry.
stop_lossOptionalStop-loss price. Recommended on every signal.
take_profitOptionalTake-profit price. Multiple targets configurable in-app.

Your position size, leverage and per-signal risk are set in your dashboard, not in the payload — so a leaked webhook URL cannot change how much you risk.

No-code builder
Don't write JSON by hand — build it visually

Set direction, take-profit / stop-loss (single or multi-level), leverage, position size, trailing and breakeven with simple toggles. AlgoVesta generates the exact TradingView alert message — copy it and paste it into your alert.

Open the visual builder →