AI-powered algorithmic trading for Indian markets
Risk Management

The rules that protect your capital

Your edge is not predictions — it's consistency. Set rules once, the system enforces them in backtest, paper, and live. No exceptions.

Risk Profile — Active
Risk / Trade
2%
Max Positions
10
Max Daily Loss
₹25,000
Max Drawdown
₹50,000
Max Capital/Trade
₹2,00,000
Auto Square-off
15:15 IST

Risk profile settings

Configure once in Settings. Every strategy inherits these defaults. Override per strategy when needed.

Settings / Risk Management
Risk Per Trade2%of total capital
Max Positions10simultaneous open
Max Daily Loss₹25,000hard daily limit
Max Drawdown₹50,000account-level cap
Max Capital / Trade₹2,00,000per position limit
Position SizingFixed Capitalqty = capital / price
Auto Square-off15:15 ISTintraday positions
StatusONall rules active

9 risk controls, enforced by the system

Not guidelines. Not suggestions. These are hard rules the system enforces on every trade, every time.

01Fixed %

Hard Stop Loss

Exit when price drops X% from entry. The system exits — no second-guessing.

  • Configurable per strategy: 0.5%, 1%, 2%, or custom
  • Triggers at exact threshold — no slippage from hesitation
  • Works on both long and short positions
  • Applied identically in backtest, paper, and live
02Volatility-adjusted

ATR-based Stop Loss

SL = entry - (ATR(14) x multiplier). Adjusts to volatility automatically. Wider SL in volatile stocks, tighter in calm ones.

  • ATR period and multiplier configurable (default: 14, 1.5x)
  • RELIANCE ATR = 28 → SL at 42 pts; low-vol stock ATR = 5 → SL at 7.5 pts
  • Prevents getting stopped out on normal noise
  • Especially effective for positional strategies
03Lock profits

Trailing Stop Loss

Activation: when P&L reaches X%. Trail distance: Y%. Locks in profits as price moves in your favor. Configurable per strategy.

  • Activation threshold: e.g., activate when +1.5% in profit
  • Trail distance: e.g., trail by 0.5% from peak
  • Only moves up (for longs) — never moves against you
  • Can combine with hard SL as initial protection
04Target exit

Take Profit

Exit when price reaches target. Fixed % or absolute. Example: TP 2% on RELIANCE entry at 2,812 → exit at 2,868.

  • Fixed percentage or absolute price target
  • Auto-calculated from entry price
  • Ensures you book profits by rule, not emotion
  • Can be used with or without trailing SL
05Intraday safety

Exit-time Square-off

Auto square-off at 15:15 IST for intraday. Prevents overnight risk on MIS positions. Configurable per strategy.

  • Default: 15:15 IST for intraday (MIS) positions
  • Configurable time per strategy
  • Prevents overnight exposure and margin penalties
  • No action needed — fully automatic
06Capital control

Position Sizing

Fixed capital: qty = 1,00,000 / entry_price. Or fixed lots. Ensures single trade can't wipe the account.

  • Fixed Capital mode: allocate exact rupee amount per trade
  • Fixed Lots mode: set quantity directly
  • Max capital per trade cap (e.g., 2,00,000)
  • Prevents concentration risk in any single position
07Hard cap

Max Open Positions

Hard cap: 10 positions max. New signals ignored when limit reached. Prevents overtrading during volatile sessions.

  • Configurable limit (default: 10)
  • New entry signals silently skipped at capacity
  • Counts across all running strategies
  • Prevents capital exhaustion and margin overuse
08Emergency

Kill Switch

One-click emergency: stops ALL running strategies, cancels pending orders, squares off ALL open positions. Available on dashboard.

  • Accessible from dashboard — one click
  • Stops all running strategy instances immediately
  • Cancels every pending order across brokers
  • Squares off every open position
09Validation

Paper vs Live Mode

Every strategy runs paper first. Same rules, real market data, zero risk. Switch to live only after validation.

  • Paper mode uses real-time market data
  • Identical risk rules, identical execution logic
  • Full trade log and P&L tracking in paper
  • One-click switch from Paper to Live when ready

Same rules, every stage

Risk rules defined in your strategy DSL apply identically at every stage. No surprises when you go live.

{ }

Strategy DSL

Define SL, TP, trailing, position sizing, exit time in your strategy rules.

Backtest

Risk rules enforced on every historical trade. See exact SL/TP hit counts in results.

Paper Trading

Real market data, simulated execution. Same risk enforcement. Validate behavior.

Live Trading

Identical rules, real orders. What you validated is what you get. No exceptions.

Worked example: Gap Up Momentum

A real trade with real risk rules. See exactly how the system calculates and enforces every parameter.

Trade SetupIntraday
Strategy
Gap Up Momentum
Instrument
RELIANCE
Entry Price
₹2,812.50
Position Size
₹1,00,000 / 2,812.50 = 35 qty
Stop Loss (1%)
₹2,784.38auto-calculated: 2,812.50 x 0.99
Take Profit (2%)
₹2,868.75auto-calculated: 2,812.50 x 1.02
Exit Time
15:15 ISTif neither SL nor TP hit
Trade ResultTP Hit
Realized P&L+1,740
Return+1.74%
09:15:02
Signal generatedGap up > 0.5%, volume 1.8x avg
09:15:03
Entry at ₹2,812.5035 qty bought, SL/TP set
09:15:03
SL order placed₹2,784.38 — bracket order
11:42:17
Price hit ₹2,847.30Approaching TP zone
12:08:44
TP hit at ₹2,862.10Exit 35 qty — profit booked

What risk rules prevent

Most losses come from a small set of mistakes. Risk rules make these mistakes impossible.

Holding losers

Hard SL exits automatically at threshold

Oversized positions

Position sizing caps capital per trade

Overtrading

Max positions limit blocks new entries

Overnight exposure

Exit-time square-off closes MIS positions

Giving back profits

Trailing SL locks in gains automatically

Revenge trading

Max daily loss halts all trading for the day

Going live too early

Paper mode validates strategy on real data first

Flash crash panic

Kill switch squares off everything in one click

Trade with discipline, not hope

Set your risk rules once. The system enforces them on every trade, every time. No manual intervention needed.