OpenAlgo is a free, open source algo trading platform for Indian markets that you host on your own computer or server. It connects strategies written in AmiBroker, TradingView, MetaTrader, Python, Excel and other tools to your broker through one common API. This post introduced OpenAlgo V1.0 in April 2024; the 2026 update section below covers what has changed since.
OpenAlgo V1.0 is an open-source algorithmic trading platform to automate your trading strategies using Amibroker, Tradingview, Metatrader, Python etc. Designed with the modern trader in mind, it facilitates seamless interactions with multiple brokers through a minimalist and intuitive user interface.

- OpenAlgo is self-hosted, so your API keys, orders and data stay on your own machine.
- One API works across brokers: V1.0 supported 8 brokers; the project now lists 38 broker plugins.
- It works with AmiBroker, TradingView, ChartInk, Excel, Google Sheets, MetaTrader, Python and more.
- Installation has moved from pip and
python app.pyto the uv package manager (uv run app.py), with Python 3.12 or newer. - Most items on the 2024 roadmap, such as basket orders, order splitting, WebSocket streaming, ChartInk and paper trading, now ship in the platform.
What’s really cool about OpenAlgo is that it’s made especially for individual traders, the kind of people trading on their own, using popular tools like Amibroker, Tradingview, or even Excel. It’s something you can set up on your own computer, whether you’re using Windows or Linux, giving you total control. You don’t have to worry about someone else messing with your trading or your private information. It’s all about making trading as straightforward and secure as possible for you.

OpenAlgo is like a Swiss Army knife for traders. Imagine taking all the best bits of modern tech (stuff like Python for coding, SQLiteDB for organizing data, and Tailwind CSS for making things look good) and mixing them together. That’s what we did with OpenAlgo, all thanks to the smart use of ChatGPT-4. It started as just a fun experiment but has grown into something much bigger: a tool that anyone can use for free to do their automated trading.

Key Features of OpenAlgo
- Multi-platform Automation: Directly integrate with leading trading platforms to automate trading strategies.
- Minimalist UI: A clean and intuitive interface provides immediate access to essential trading books (order, trade, position, and holdings) and API logs for streamlined operation.
- Comprehensive API Support: Enjoy broad functionality with APIs for order placement, modification, cancellation, and more.
- Multi-Broker Compatibility: Initially supporting Angel, Upstox, and Zerodha, 5 Paisa, Fyers, Kotak, Dhan, and ICICI Direct and have plans to extend to other brokers.
- Flexible Access: Utilize ngrok for custom domain support, facilitating access to the application and trading automation from anywhere.

Who Should Use This Open Source Algo Trading Platform?
- AmiBroker and TradingView users who want their signals to place orders automatically without a paid bridge.
- Python traders who want one API across brokers instead of learning each broker’s SDK.
- Traders who switch brokers, since the strategy code does not change when the broker changes.
- Privacy conscious traders who do not want a third party server holding their broker credentials.
Getting Started with OpenAlgo
For traders eager to dive in, setting up OpenAlgo is straightforward. Here’s a quick guide to get you up and running:
Installation: Clone the OpenAlgo repository and install the necessary dependencies.
git clone https://github.com/marketcalls/openalgo
cd openalgo
pip install -r requirements.txt
Configuration: Set up your .env files with your broker API key, API secret, redirection URL, and an optional custom domain for enhanced accessibility. (rename the .sample.env to .env file) to store the broker credentials and other openalgo config parameters
Launch the Server: Start the OpenAlgo server with the following command:
python app.py
For first-time setup, visit http://127.0.0.1:5000/setup or https://<your_custom_domain>/setup to create the main admin user for login.
Installation in 2026
The steps above are the original V1.0 instructions. The current OpenAlgo README uses the uv package manager and requires Python 3.12 or newer:
git clone --filter=blob:none https://github.com/marketcalls/openalgo.git
cd openalgo
pip install uv
uv run app.py
On the first start OpenAlgo creates the .env file with new security keys and no broker; you sign in and add your broker keys in Broker Configuration. If you prefer to keep the broker in .env, copy .sample.env to .env and fill in the broker lines first. The app runs at http://127.0.0.1:5000. For Docker, AWS and other deployments, follow the OpenAlgo installation guide. I also wrote about uv, the fast Python package manager if you have not used it before.
Join the Community
Embark on your OpenAlgo journey with the support of a vibrant community. The OpenAlgo Community Support for Developers and Traders offers a platform for collaboration, knowledge exchange, and mutual growth.
OpenAlgo Roadmap
With a vision for continuous improvement, OpenAlgo’s roadmap includes exciting upcoming features like order slicing, basket orders, option orders, and much more, aimed at enhancing the trading experience and capabilities of systematic and algo traders.
OpenAlgo Roadmap for v1.25 (Apr to June 2024)
- Order Slicing Feature
- Place Basket Orders
- Place Option Orders (Single Leg/Multi Leg)
- Place Time Based Limit Orders
- Place Mid Pegged Limit Orders (Slippage Management)
- Integrate Realtime Websockets for Streaming Quotes
- Integrate Various Brokers.
Roadmap for v1.5 (July to Sep 2024)
- Build GUI Based Strategy Management (Add/Modify/Remove Strategies)
- Add ChartInk Integration
- Scanner Based Portfolio Level Trade Management
- GUI Based Stoploss/Target Controls
- Strategy Level Orderbook, TradeBook & PositionBook
- Build Realtime Intraday PNL Graph
Roadmap for v1.75 (Oct to Dec 2024)
- Virtual Trading/Paper Trading Integration
- Plug n Play In Built Trading Strategies
- Build Trade Analytics Module
Roadmap for v2.0 (Oct to Dec 2024)
- Build a Fastest Backtesting Engine
- Build a Data management Module for Backtesting
- Build a Built Backtesting Metrics Dashboard
- Run Backtest and Save Backtesting Results
Stay tuned for more openalgo tutorials on Setting up OpenAlgo, how to integrate with your favorite trading platforms, how to automate your trading strategies using OpenAlgo in upcoming tutorials
OpenAlgo in 2026: What Changed Since V1.0
OpenAlgo has grown well beyond the V1.0 release described above. According to the project README (November 2026), it is now a full self-hosted open source algo trading platform built on Python Flask and React, licensed under AGPL-3.0. Here is how the original roadmap items stand today:
| 2024 roadmap item | Status in 2026 |
|---|---|
| Order slicing | Available as auto-split orders in the unified API |
| Basket orders | Available in the order management API |
| Realtime WebSockets for streaming quotes | Unified WebSocket proxy (port 8765) streaming LTP, quote and market depth |
| Integrate various brokers | 38 broker plugins, including Dhan Sandbox and Delta Exchange |
| GUI based strategy management | Python Strategy Host (/python) and the no-code Flow builder (/flow) |
| ChartInk integration | Supported as an external platform |
| Virtual trading / paper trading | Analyzer Mode for testing orders before going live |
| Realtime PnL | PnL tracking and dashboards |
| Backtesting and data management | Portfolio Backtester and SIP Backtester in /tools, plus Historify for market data |
New surfaces that were not on the original roadmap include an options and portfolio suite with twenty analytical tools (strategy builder with payoff diagrams, option chain, OI tracker, max pain, GEX and more), an AI agent that can place orders only with your explicit approval on each one, and an MCP server for AI assistants. The REST layer now has 74 method and path pairs under /api/v1.
OpenAlgo and SEBI Retail Algo Rules
SEBI’s circular of 4 February 2025 on safer participation of retail investors in algorithmic trading changed how API orders reach brokers, and the framework applies to all brokers from 1 April 2026 (SEBI). In practice, brokers now accept API orders from a registered static IP, so if you run OpenAlgo on a home PC or cloud server, plan for a static IP. See how to get a static IP in India for algo trading compliance.
To start automating, read how to automate your trading with OpenAlgo and TradingView and who should use OpenAlgo.
Frequently Asked Questions
Is OpenAlgo free?
Yes. OpenAlgo is free and open source under the AGPL-3.0 licence. You host it yourself, so your only costs are your server (if any) and your broker’s API charges.
Which brokers does OpenAlgo support?
The project lists 38 broker plugins, including Zerodha, Angel One, Upstox, Dhan, Fyers, Kotak Neo, 5paisa, Groww, Shoonya, Flattrade and many more. Check the README for the current list.
Which Python version does OpenAlgo need?
Python 3.12 or newer. The recommended installation uses the uv package manager.
Can I use OpenAlgo with AmiBroker and TradingView?
Yes. Both send orders through OpenAlgo’s unified REST API, along with ChartInk, Excel, Google Sheets, MetaTrader and Python.
Learn by watching: free videos every week
Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.

