Algoh
Institutional Quantitative Architecture

32 Solid Risk Checks

Hard-coded mathematical precision protecting your capital before any order reaches the exchange.

Check #1Price & Capital
Included

Daily Loss Limit (Drawdown Governor)

Maximum Loss Per Day Circuit Breaker

Continuously polls your account Net Liquidation Value (NLV) in real time against your day opening equity balance.

Why It Matters (Benefit):

Evaluates real-time MTM every tick. If daily loss breaches the user-defined threshold (e.g. -2% or ₹10,000), it cancels all pending orders, flattens open positions at market, and halts bot execution for the day.

Risk If Missing (Damage):

Without a daily loss limit, consecutive losing trades or flash crashes can wipe out weeks of profits in a single afternoon session.

Check #2Price & Capital
Included

Max Entry Signal vs. Execution Price Gap & Slippage Guard

Entry Call Deviation & Bid-Ask Barrier

Compares real-time exchange top-of-book quotes against the strategy entry call price before routing any order.

Why It Matters (Benefit):

Intercepts market and limit orders to verify bid-ask depth and signal-to-LTP delta. If the gap between entry call price and live executable price exceeds the configured threshold, the entry is blocked.

Risk If Missing (Damage):

Market orders executed in fast-moving options during news breaks can fill 10% to 20% away from the intended entry signal.

Check #3Order Integrity
Included

Fat-Finger Maximum Order Size Trap

Quantity & Lot Multiplier Boundary

Hardcoded upper bounds on maximum shares or lots allowed per individual order dispatch.

Why It Matters (Benefit):

Rejects any order payload with quantity greater than authorized account limits (e.g., maximum 900 NIFTY quantity per order), even if strategy logic accidentally calculates an absurd value.

Risk If Missing (Damage):

A calculation bug placing 1,800 lots instead of 18 lots can trigger instantaneous broker margin penalty and immediate account freeze.

Check #4Price & Capital
Included

Exchange Upper & Lower Circuit Breaker Guard

Locked Price Band Collision Prevention

Cross-checks live market depth and price bands published by the exchange before dispatching buy or sell orders.

Why It Matters (Benefit):

Queries instrument circuit bands from broker WebSocket. Blocks BUY orders if price is locked at Upper Circuit, and blocks SELL orders if price is locked at Lower Circuit.

Risk If Missing (Damage):

Buying into a circuit-locked stock can trap capital for consecutive trading days, resulting in massive trapped gaps on reversal.

Check #5Broker & Execution
Included

Atomic Multi-Leg Basket Margin Pre-Check

Hedge Benefit Validation Before Leg Firing

Validates that the broker account holds sufficient margin with exchange hedge benefit prior to leg dispatch.

Why It Matters (Benefit):

Fires long hedge legs first to establish exchange margin credit, verifies execution confirmation via WebSocket in <50ms, and only then fires short legs to ensure margin efficiency.

Risk If Missing (Damage):

If the short leg fires first before the protective long leg, broker RMS immediately rejects the trade for huge margin deficit.

Check #6Order Integrity
Included

Sub-Second Runaway Loop Throttler (<5 orders/sec)

High-Frequency Infinite Loop Kill Switch

Enforces hard throughput limits on order dispatch rate per second and per minute.

Why It Matters (Benefit):

Sliding token-bucket rate limiter tracks outgoing API requests. If order frequency breaches 5 requests per second, the daemon cuts WebSocket pipes and triggers immediate panic mode.

Risk If Missing (Damage):

An unthrottled infinite loop can fire 500 orders in 2 seconds, exhausting account margin and racking up thousands in broker fees.

Architecture & Free Deliverables

Explore Our Rock Solid Strategy Structure

See how Cascading Order Management, 5-Layer DB Fallback (DB → Backup DB → CSV → JSON → Text), 30/70 VPS Resource Pinning, and Fallback Broker Failover work together — plus free Streaming Charts & Custom Chart Indicators.

Open Rock Solid Strategy Structure
Zero Compromise on Capital Protection • Strict NDA

Ready to Automate Your Quantitative Edge?

Every client bot we develop includes this complete 32-point risk harness by default. Share your strategy conditions with our engineering team for a free feasibility review.