Ashlar India
₹0 API ChargesNSE · BSE · MCXPython · Java · Node.js SDKsFree Online KYCSetup Help Included₹0 API ChargesNSE · BSE · MCXPython · Java · Node.js SDKsFree Online KYCSetup Help Included

Shubh Deepawali

Festive Offer · API Access Open

FREEALGO API

Automate your trading this festive season

Code your strategy once and let it trade NSE, BSE & MCX for you — with ₹0 API charges on every Ashlar trading account.

Zero API chargesSetup help includedFree online KYC

This Diwali

Let Your Strategy Keep Watch

Your rules run every session without you at the screen — through the festive week and every week after it.

You Write the Rules. The API Places the Trades.

No more watching screens or missing entries. Your logic runs the same way every time.

my_strategy.py (example logic)
# Buy when the fast average crosses above the slow one
if ema_9 > ema_21 and no_position:
    place_order("BUY", qty=50)
    set_stop_loss(pct=1.0)

# Exit everything before market close
if time = "15:15":
    square_off_all()

Your Strategy

Ashlar API

NSE · BSE · MCX

Strategies Traders Automate

If you can define it as a rule, you can automate it.

F&O

Options Straddles & Strangles

Auto-enter at a set time, trail stop-losses leg by leg.

Intraday

Breakout & Momentum

Fire orders the moment price clears your level.

Positional

Moving Average Crossover

Trend-following entries and exits without watching charts.

F&O

Hedged Spreads

Place multi-leg spreads together to control margin and risk.

Risk

Time-Based Square-Off

Close every open position at your cut-off, every day.

MCX

Commodity Trend Systems

Run your rules on MCX crude, gold and silver futures.

Why Traders Choose Ashlar's API

Run Strategies Hands-Free

Millisecond Order Execution

Backtest Before You Risk Capital

Built-in Risk Controls

Ready to automate your strategy?

Open your Ashlar demat account online in a few minutes.

Open Your Free Demat Account

Everything You Need to Go Live

REST & WebSocket APIs

Place, modify and cancel orders, track positions and stream live tick-by-tick prices, all from your own code.

Historical Data for Backtesting

Test your rules on past OHLC and tick data, tune parameters, and go live only when the numbers hold up.

Risk Limits That Run for You

Set max loss, position size, order frequency and auto square-off so a bad day stays a small one.

SDKs in Your Language

Official SDKs for Python, Java, Node.js and C#, with docs and ready-to-run code samples.

Built for Serious Traders

NSE, BSE, MCX

One API, all segments

Low Latency

Millisecond execution

99.9% Uptime

Reliable connectivity

Dedicated Support

Help with integration

From Sign-Up to Live Trading in 4 Steps

Paperless KYC with Aadhaar & DigiLocker. No branch visit, no courier.

1

Open your demat account online

2

Get your API keys

3

Connect your code and test it

4

Go live with your strategy

Open Your Free Demat Account

Also Get Ashlar Alpha

Watch your automated positions from your phone, wherever you are.

Get it on Google PlayDownload on the App Store

Frequently Asked Questions

API access is free for all active Ashlar trading account holders. There are no extra charges for API access, live data feeds or order placement. Only standard brokerage applies on executed trades, as per your plan. Ask our team about brokerage plans for active algo traders.

Basic knowledge of Python, Java, Node.js or any language that can call a REST API is enough. Our SDKs, code samples and documentation cover the common tasks, and our support team helps you through the integration.

NSE (Equity and F&O), BSE (Equity) and MCX (Commodities). You can trade equities, futures, options, commodities and currency derivatives, with live market data, order placement and position tracking for every supported instrument.

Yes. You get historical market data to test your strategy on past market conditions, check performance, tune parameters and validate your logic before you put real capital behind it.

Yes. SEBI permits retail investors to trade algorithmically through their broker's API under its retail algo framework. Orders placed through the API are routed and tagged as required by the exchanges, and API access is secured with measures like static IP whitelisting and two-factor authentication. Our team will guide you through the requirements during onboarding.

API key authentication, IP whitelisting, encrypted (TLS/SSL) connections, two-factor authentication and real-time risk checks. You stay in control and can revoke your API keys from your dashboard at any time.

Once your demat account is open, our team helps you get your API credentials activated.

Still have questions?

Open your demat account online and get started today.

Open Your Free Demat Account
Ashlar India

Ashlar Securities Pvt Ltd

Building Trust Together · Trade · Invest · Grow

Get it on Google PlayDownload on the App Store

Registered Office: A-38, Sector-67, Noida-201301
Corporate: 1D, A-1, Sector-10, Noida, UP - 201301

Reg No: INZ000203739 | NSE: 13718 | BSE: 3302 | MCX: 56815 | NSDL-DPID: IN303921 | SEBI Reg: IN-DP-2362016

Investment in securities market are subject to market risks, read all the related documents carefully before investing. Algorithmic trading carries additional risks, including technology and execution risks. Strategies shown are for illustration only and do not guarantee returns.

© 2026 Ashlar India. All Rights Reserved.