INTEGRATION & ONBOARDING Β· STEP-BY-STEP USER MANUAL

Broker Integration & Terminal Setup Guide

Connect your personal developer credentials from Zerodha Kite or Alice Blue to the encrypted cloud vault, configure multi-segment instruments, and master live execution controls in under five minutes.

1-Click HTTPS OAuth Zerodha & Alice Blue Dual-Broker Static Server IP Whitelist Ready
Looking for a simple, non-technical explanation? Read our step-by-step beginner's guide with zero jargon.
πŸ”° Simple User Guide β†’

Quickstart Overview

  1. Create a free account or Sign In (Every account starts with an active 3-Day Free Pro Trial).
  2. Register your developer API app in Zerodha Kite or Alice Blue developer consoles using the exact redirect URLs below.
  3. Open the Trading Terminal → click βš™ Settings → paste your API credentials.
  4. Click Login on the top bar to authenticate your broker session.
  5. Run in Paper Mode to validate live telemetry, then switch to Live Mode whenever you are ready.
  6. Read the full Trading Terminal User Manual (every Settings field, strategy diagrams, Risk & VIX lot sizing).

1. HTTPS OAuth Callback URLs & Static IP Whitelisting

Both Zerodha Kite and Alice Blue require you to configure an exact HTTPS callback URL in their respective developer portals. If you execute live orders via Zerodha, SEBI regulations mandate server IP whitelisting:

ZERODHA KITE CONNECT REDIRECT URL: https://excelalgotrader.in/oauth/zerodha/callback
ALICE BLUE ANT REDIRECT URL: https://excelalgotrader.in/oauth/aliceblue/callback

Zerodha Server IP / Egress IP: Enter the static public egress IP assigned to your own trading-server deployment. Get the exact value from your hosting provider or server administrator; do not use a personal device or home-network IP.

2. Zerodha Kite Connect v3 Setup (Step-by-Step)

01
Create Developer Account on Kite Connect

Navigate to kite.trade and sign in with your Zerodha developer login.

02
Create a New App

Click Create New App. Enter App Name (e.g. ExcelAlgoTrader) and Zerodha Client ID. Set the Redirect URL to https://excelalgotrader.in/oauth/zerodha/callback.

03
Configure Your Static IP Whitelist

In your Kite Developer App settings, set Server IP to the static public egress IP assigned to your own trading-server deployment. Ask your hosting provider or server administrator for the exact IP. Zerodha uses this value to authorize server-side API requests.

04
Save Credentials in Trading Terminal

Copy the API Key and API Secret generated by Kite Connect. In your ExcelAlgoTrader terminal, open βš™ Settings → Zerodha Credentials, paste them in, and click Save Settings.

3. Alice Blue ANT v2 Setup (Step-by-Step)

01
Access Alice Blue ANT Developer Portal

Visit ant.aliceblueonline.com and log in with your Alice Blue trading credentials.

02
Register Developer Application

Under API / Developer Apps, click Create App. Set the Redirect URL to https://excelalgotrader.in/oauth/aliceblue/callback.

03
Save Credentials in Terminal

Note your User ID, App Code / API Key, and API Secret. In the Trading Terminal, select Alice Blue under Default Broker, input your credentials, and click Save Settings.

4. Multi-Segment Selection & Instrument Management

ExcelAlgoTrader supports all major Indian exchange segments with automatic strike interval detection:

  • NSE Index Options: Select NIFTY (50 strike step), BANKNIFTY (100 strike step), FINNIFTY (25 strike step), or MIDCPNIFTY (25 strike step). The engine targets the nearest active weekly expiry.
  • BSE Index Options: Select SENSEX or BANKEX (100 strike step). The engine queries BSE quotes and nearest weekly expiries seamlessly.
  • F&O Stock Options: Enter liquid stock symbols (e.g. RELIANCE, HDFCBANK, INFY, SBIN, TATAMOTORS). The engine automatically resolves underlying spot LTP, monthly option expiries, and strike intervals without manual configuration.
  • MCX Commodities: Select CRUDEOIL, NATURALGAS, GOLD, etc. Extended session 09:00–23:55 IST for entries; chart and watchlist use the same segment clock.
  • Symbols & scanning: In Settings, one panel holds (1) active trading script, (2) chart watchlist (max 8 LTP pills), and (3) auto scanner queue (Paper). Pills switch the active script instantly; checkboxes and scanner rows need Save settings (or Save scanner only).
  • Paper P&L: All brokers use (exit_price βˆ’ entry_price) Γ— qty with qty = lots Γ— lot_size from the instrument β€” see Settings Guide #symbols.

5. Trading Terminal Controls Reference

Control / Button Color / State Operational Behavior
Login Blue Initiates 1-click HTTPS OAuth with Zerodha or Alice Blue. Caches session token in encrypted vault for the entire trading day.
Paper / Live Badge Green (Live) / Yellow (Paper) Click to toggle between simulated paper trading (live market ticks, virtual fills) and live real broker execution.
Analyze Only Blue Button Runs the complete 7-factor probability matrix, OI analysis, and AI prompt. Displays full decision without placing any orders.
Execute Green Button Runs the decision pipeline and automatically enters CALL, PUT, or BOTH if probability and profitability gates pass.
Buy CALL / Buy PUT / Buy BOTH Manual Entry Manual quick-entry buttons bypassing directional probability calculation while keeping automated SL, Target, and 15:15 Force Exit protection active.
Manual Exit Red Button Immediately squares off an active open position at market price. Ignores all pending SL and target triggers for that trade.
Stop Gray Button Stops any running engine process, halts monitoring threads, and cleans up active WebSocket channels.
Watchlist pills Under chart Live LTP for symbols you selected in Settings. Click a pill to change active script (saved immediately). See FAQ.
Segment hours gate IST New entries blocked outside NSE/BSE/F&O 09:15–15:30 or MCX 09:00–23:55 (weekdays). Exits still allowed.
βš™ Settings Drawer Top Right Configures broker selection, lots, stop-loss points, target points, VIX scaling, ORB window, AI API keys, and notification triggers.

6. Troubleshooting & Common Questions

Q: Why does Zerodha return "Session expired" or "Token invalid"?

Zerodha Kite access tokens expire every morning between 06:00 and 07:30 IST per exchange rules. Click the Login button on the trading terminal once each morning to refresh your daily token.

Q: Zerodha says "IP address not whitelisted" when placing live orders.

Confirm the Server IP in your Kite Developer App matches the static public egress IP assigned to your trading-server deployment. Ask your hosting provider or server administrator for the exact value; your computer's local or home-network IP is not the server egress IP.

Q: What happens if I manually exit a position?

Clicking the Manual Exit button immediately places a market square-off order with your broker. The engine stops tracking stop-loss and target points for that trade and logs the exit in your journal as MANUAL_EXIT.

Q: Why does the engine show "Markets Closed / Idle Spot Feed"?

Outside market hours (and on weekends), the engine's background watchdog reduces WebSocket polling frequency to prevent wasting your broker API limits. It wakes up automatically when live market feeds resume.