SEBI ka 2025 algo trading framework retail traders ke liye game-changer hai. Ab clear rules hain — kya kar sakte ho, kya nahi. Yahan simple breakdown hai.
Background — pehle kya tha?
2008 se algo trading institutional level pe legal tha (HFT firms, mutual funds). Retail traders grey area mein the — third-party platforms ka use kar rahe the bina formal approval. SEBI ne 2025 mein clarity di.
Key rules — short summary
- Broker approval zaroori — algo aapke broker se registered hona chahiye
- Unique algo ID — har strategy ka SEBI-trackable ID
- White-box vs Black-box — distinction matter karta hai
- Order frequency limits — retail ke liye reasonable cap
- Audit trail — sab orders trace honi chahiye
- Killer switch — emergency stop mandatory
- No subscription model — third party algo "rent" karke nahi de sakte unauthorized
White-box vs Black-box — kya hai?
White-box algo: Aap khud code samajhte ho, modify kar sakte ho, source code aapke paas hai. Retail self-developed = white-box.
Black-box algo: Sealed box, sirf input-output, internal logic hidden. Yeh institutional ho sakta hai. Retail ko sell karne ke liye SEBI approval chahiye.
Aap legal hain ya nahi — checklist
- ✅ Apna khud ka code ya developer ne aapke liye custom banaya
- ✅ Aapke broker ke API se chalta hai
- ✅ Aapke account se hi orders ja rahe hain
- ✅ Killer switch hai — manually stop kar sakte ho
- ✅ Logs maintain ho rahe hain
- ❌ Kisi aur ka account aap operate kar rahe ho — illegal
- ❌ Profit-sharing ke baad subscription bech rahe ho — illegal without registration
Order limits — retail ke liye
- Per second: ~10 orders
- Per minute: ~100 orders (broker policy ke hisaab se vary)
- Daily order count cap — broker decides
Audit trail — kya log karna hai?
- Order placement timestamp
- Symbol, qty, price, type
- Broker response (success/fail + order ID)
- Strategy ID jo trigger kiya
- Modifications/cancellations
Database (SQLite/Postgres) mein store karo — minimum 5 saal.
Killer switch — example code
import os
KILL_FILE = "/tmp/STOP_TRADING"
def is_killed():
return os.path.exists(KILL_FILE)
while True:
if is_killed():
print("KILL SWITCH — exiting")
break
# ... trading logic ...
# Stop kaise karein:
# Run command: touch /tmp/STOP_TRADING
Common confusions
Q: Streak/Algo platforms par bana algo legal hai? — Yes, agar broker approved hai aur aap apne hi account pe chala rahe ho.
Q: Friend ke liye algo bana ke chala sakta hu? — Nahi — registered RIA / portfolio manager hi de sakta hai others ke account access.
Q: Backtest karke YouTube pe dikhana legal hai? — Educational content legal hai. Investment advice ban gaya toh RIA registration chahiye.
Conclusion
SEBI rules retail-friendly hain — bas aap apne account pe + broker approved API + clean audit trail. Instacode SEBI-compliant algo systems banata hai jisme killer switch, logging, risk limits sab built-in hain.
FAQs
SEBI registration retail trader ko chahiye?
Khud trade karne ke liye nahi. Doosron ko bechne / advice dene ke liye chahiye.
Approved third-party algos kahan dekh sakte hain?
Apne broker ke website pe — Zerodha, Angel etc. approved algos ki list publish karte hain.
Need a custom solution?
Instacode builds production-grade software — algo trading, ecommerce, web apps. Let's talk.
Get in Touch
💬 Comments (0)
Be the first to comment 🚀