Trading Automation for Modern Markets
Innovate. Automate. Dominate.
Tired of manually managing trades?
You are in the right place!
Where We Actually Build
We don't claim to do everything. These are the markets we know well and build for every day.
NIFTY F&O
NSE · Options & Futures
Short straddles, iron condors, positional directional bets. Executed via Zerodha Kite, Upstox, or Fyers APIs. We know expiry mechanics, lot sizes, and slippage realities.
BTC Options
Delta Exchange · Crypto Derivatives
BTC/ETH options and perpetuals on Delta Exchange. Straddles, covered calls, delta-neutral strategies. No custody risk — API-based execution with your own account.
NSE Equities
NSE/BSE · Intraday & Positional
Intraday momentum, mean reversion, and breakout strategies on Indian equities. Broker data via Kite, Angel One, or Upstox. MIS and CNC order types supported.
Seamlessly Connect with Top Brokers
What we build
Custom automation, start to finish
From strategy logic to live deployment — we handle the full build. Here's a sample of what we typically work on.
Custom Trading Algos
Full-stack Python bots for NIFTY F&O, BTC options, and NSE equities. Any strategy — straddles, momentum, mean reversion, multi-leg — built to your exact logic.
- ✓ Zerodha / Upstox / Delta Exchange APIs
- ✓ Runs on your VPS — your data, your code
- ✓ SEBI-compliant static IP deployment
Backtesting & Strategy Validation
Test your ideas against real historical data before going live. We use SEBI-approved data vendors — TrueData, Global Data Feed, Zerodha Historical API, NSE official data.
- ✓ Clean data from SEBI-approved sources
- ✓ Multi-leg and multi-asset testing
- ✓ Realistic slippage and brokerage modelling
Alerts & Monitoring
Real-time Telegram alerts on every fill, stop-loss trigger, and strategy event. Optional custom dashboard UI to monitor positions and P&L in one place.
- ✓ Telegram bot on every order fill
- ✓ Entry, exit, SL & target alerts
- ✓ Optional web dashboard (React/Next.js)
Clean code you actually own
Every algo we deliver is well-documented Python — no black boxes, no proprietary runtime, no vendor lock-in. You get the source, you understand it, you can modify it.
- ✓Broker API: Zerodha Kite / Upstox / Delta Exchange
- ✓Data: live market feed via broker WebSocket
- ✓Execution: market or limit orders, MIS / CNC / NRML
- ✓Notifications: Telegram bot on every fill
- ✓Runs on your VPS or local machine — your data stays yours
# nifty_straddle.py — NIFTY ATM Short Straddle
# Broker: Zerodha Kite | Market: NSE F&O
from kiteconnect import KiteConnect
class NIFTYStraddle:
def __init__(self, api_key, access_token):
self.kite = KiteConnect(api_key=api_key)
self.kite.set_access_token(access_token)
self.lot_size = 50 # NIFTY lot size
def get_atm_strike(self) -> int:
"""Round current spot to nearest 50."""
ltp = self.kite.ltp("NSE:NIFTY 50")
spot = ltp["NSE:NIFTY 50"]["last_price"]
return round(spot / 50) * 50
def place_straddle(self, expiry: str, lots: int = 1):
"""Sell ATM CE + PE at market simultaneously."""
strike = self.get_atm_strike()
qty = lots * self.lot_size
for opt in ["CE", "PE"]:
symbol = f"NIFTY{'{'}expiry{'}'}{'{'}strike{'}'}{'{'}opt{'}'}"
self.kite.place_order(
variety="regular",
exchange="NFO",
tradingsymbol=symbol,
transaction_type="SELL",
quantity=qty,
order_type="MARKET",
)
print(f"✓ Sold {'{'}qty{'}'} {'{'}symbol{'}'} @ market")New SEBI norms are live.
Is your algo setup compliant?
SEBI's February 2025 circular has fundamentally changed how retail algo trading works in India. From April 1, 2026, non-compliant API setups are automatically rejected by exchanges. TradeHaven builds every system to be fully compliant from day one.
Get a compliant algo setup →What the new rules require — and how we handle it
Static IP binding on all broker APIs
We deploy your algo on a dedicated Indian VPS with a static public IP — registered directly with your broker.
Algo-ID tagging on every order
All orders placed by our systems carry exchange-assigned Algo-IDs. We handle registration with the broker.
No "black box" strategies without SEBI RA registration
You own the source code. Your strategy is never hidden from you — no RA registration required.
All algos must run on Indian servers
We recommend and configure Indian VPS providers (AWS Mumbai, DigitalOcean BLR, Hetzner IN) by default.
OAuth 2FA + auto logout before market pre-open
We build automated token refresh and session management into every deployment.
Not another drag-and-drop tool
Why serious traders outgrow no-code algo platforms
No-code platforms are fine for getting started. But the moment your strategy needs custom logic, multi-leg execution, or anything beyond preset blocks — you hit a wall. TradeHaven has no such wall.
Typical no-code algo platforms
- ✗Limited to pre-built condition blocks — no real code
- ✗Can't implement custom multi-leg or conditional logic
- ✗Monthly subscription that you pay forever
- ✗Your strategy runs on their servers, not yours
- ✗Zero flexibility beyond what they decided to support
- ✗Black-box execution — you don't see what actually runs
- ✗Breaks the moment you need something non-standard
TradeHaven
- ✓Pure Python — if you can describe the logic, we can build it
- ✓Full multi-leg, conditional, time-based, or signal-driven execution
- ✓One-time payment — you own the code forever
- ✓Runs on your machine or VPS — your data never leaves your hands
- ✓No platform restrictions — any broker API, any complexity
- ✓You get the full source code — readable, modifiable, yours
- ✓Built specifically for your strategy, not a generic template
Built by a trader, not a startup
6+ years in the markets. 0 buzzwords.
TradeHaven is Kunal Bhayana — a Python developer who helps traders bring their own strategy ideas to life with custom automation. You bring the logic, I build the code.
6+
Years building trading automation
50+
Clients helped with custom algos
5
Broker APIs integrated
What a real strategy looks like over 6 months
Sample Backtest — NIFTY Short Straddle
Jan 2024 – Jun 2024 · Zerodha NFO
Total Return
+18.9%
Max Drawdown
-6.1%
Sharpe Ratio
1.15
Win Rate
63%
* For illustration only. Past performance does not guarantee future results. Not investment advice.