Back to Blog
TechnologyAngelOneSmart APIAuto TradingAlgo TradingAPI Trading India

AngelOne Smart API: How AIRV Auto-Places Trades in Your Account

7 min readArchana · AIRV Research Analyst26 April 2026

The most common question we get from new users: "How can an AI place trades in my account? Is my money safe?"

It's the right question to ask. Here's a complete, transparent explanation of how AngelOne Smart API works and exactly what AIRV can and cannot do in your account.

What Is AngelOne Smart API?

AngelOne (formerly Angel Broking) provides a Smart API — a programmatic interface that lets authorized applications interact with your brokerage account. Think of it as a secure bridge between software and your trading account.

The API can:

  • Place buy/sell orders
  • Check order status
  • View your portfolio and positions
  • Fetch live market data (LTP, OHLC)

The API cannot:

  • Withdraw funds to any bank account
  • Transfer shares out of your demat
  • Change your account settings or password
  • Access your linked bank account

This is the critical safety boundary. Even with full API access, no money can leave your account to us or anyone else.

How AIRV Uses the Smart API

Here's the exact sequence every trading morning:

Step 1 — AI Scan (11:40 PM IST the night before)

Our scanner runs across 110 NSE stocks, computing a 100-point composite score using RSI, Grok AI sentiment, Claude fundamentals, volume, and trend signals. Top 5 stocks by score are selected.

Learn more: How AI picks NSE stocks

Step 2 — CIO Gate Check (11:35 PM IST)

Before any order is placed, our macro supervisor checks market conditions:

  • GREEN → Normal order sizing
  • YELLOW → Reduced position sizes
  • RED → No orders placed today

Step 3 — Token Refresh (11:30 PM IST)

AngelOne API tokens expire every 24 hours. Our system auto-refreshes your TOTP-linked API token nightly so orders can execute without manual intervention.

Step 4 — Order Placement (9:32 AM IST)

At 9:32 AM IST — 2 minutes after NSE market opens — our system places limit orders at the last traded price for each selected stock. Why 9:32 and not 9:15? The first 2 minutes are the most volatile (opening auction). Waiting reduces the chance of getting filled at an extreme price.

Order parameters placed for each trade:

  • Exchange: NSE
  • Product: CNC (delivery)
  • Type: LIMIT at LTP
  • Validity: Day (auto-cancels if unfilled)

Step 5 — Position Monitoring (every 30 minutes, 9:30 AM – 3:30 PM IST)

After entry, our monitor checks each position every 30 minutes:

  • Has T1 (+4%) limit sell triggered? ✓
  • Has stop-loss (-5%) SL-M triggered? ✓
  • Should trailing stop be adjusted? ✓

Read more about stop-loss strategies and trailing stops.

Setting Up Your API Connection

To connect AngelOne Smart API to AIRV:

  1. Generate API credentials in your AngelOne account → Apps → Create App
  2. Copy API Key (a unique alphanumeric string)
  3. Enable TOTP (Time-based One-Time Password) in your AngelOne security settings
  4. Enter credentials in AIRV dashboard → they're AES-256 encrypted before storage

AIRV stores your credentials in an encrypted vault. We use them only to place the orders generated by our AI — nothing else.

AES-256 Encryption: What It Means

AES-256 is the same encryption standard used by banks and government agencies. Your API key is encrypted before it's written to our database. Even if our database were somehow compromised, the credentials would be unreadable without the encryption key.

The encryption key is stored separately from the database, following security best practices.

What Happens If the API Fails?

API failures happen — AngelOne's servers occasionally have downtime, especially around 9:15 AM IST when thousands of traders are placing orders simultaneously.

AIRV handles this with:

  • Retry logic: 3 attempts with exponential backoff
  • Email alert: If orders fail after retries, you get an immediate email notification
  • Manual fallback: The signals are still published on your dashboard — you can place the trades manually

You always see what was attempted and what succeeded in your dashboard.

Frequently Asked Questions

Can AIRV withdraw money from my account? No. The API only has order placement access. Fund withdrawals require your bank account password and OTP — entirely separate from the trading API.

Can AIRV place more orders than I authorized? Our system only places orders for the stocks in that day's AI picks, in the quantities calculated by the sizing formula. You can see every order before and after placement in your AngelOne app.

What if I want to cancel an order? You can cancel any order directly in your AngelOne app at any time. The API places orders but you retain full control. Cancelling in AngelOne overrides anything our system might do.

Does AIRV work with Zerodha, Upstox, etc.? Currently, only AngelOne is supported because of their robust Smart API with TOTP support. Zerodha integration is on the roadmap.

The Trust Model

AIRV's model is fundamentally different from fund management or PMS:

| Model | Who controls your money | |---|---| | Mutual Fund | Fund manager | | PMS | Portfolio manager | | AIRV | You — always |

We're a signal + automation layer. Your money stays in your AngelOne account. You can disconnect at any time by revoking API access from the AngelOne portal — it takes 30 seconds.

If you're ready to set up your connection, register for free — no credit card required. Our onboarding guide walks you through API setup in under 10 minutes.

Got questions? Check our FAQ or email team@airvtrading.com.


Not SEBI registered. Educational content only. Trading involves risk.

Ready to try AI-powered NSE signals?

Free plan — 2 signals daily, no credit card needed.

Register Free