Skip to content

About

OpenAlgo - Web Portal

Topics

Resources

Stars

22 stars

Watchers

1 watching

Forks

Repository files navigation

OpenAlgo Website

The official website for OpenAlgo - India's first community-driven, open-source algorithmic trading platform. Built with Next.js 16 and React 19, this site is the primary landing page, documentation hub, download portal, and free learning academy for the OpenAlgo ecosystem.

About OpenAlgo

OpenAlgo is a self-hostable algorithmic trading platform built by traders, for traders. It offers seamless integration with 33+ Indian brokers through a unified API, enabling automation from platforms like TradingView, Amibroker, Python, Excel, MetaTrader, and more. Deploy it on your own server - your strategies, your data, your infrastructure.

Key Features

  • 33+ Broker Integrations - Unified API across all major Indian brokers with a common symbol format
  • 16+ Platform Integrations - Amibroker, TradingView, Python, MetaTrader, Excel, Chrome Extension, and more
  • 6 Official SDKs - Python, Node.js, Java, .NET/C#, Go, Rust
  • 13 Free Learning Courses - 407 chapters from market basics and chart-reading through futures, options, taxation, risk management and trading psychology to expert quant, statistical arbitrage and AmiBroker AFL, all on real market data (see below)
  • Self-Hosted & Private - Deploy on your own infrastructure with complete data privacy
  • SmartOrder & Basket Orders - Advanced order types including split orders and position management
  • AI/LLM Integration - MCP (Model Context Protocol) support for AI-driven trading
  • FastScalper - High-performance trading app built with Rust + Tauri
  • 100% Open Source - AGPL-3.0 licensed, community-driven, transparent development
  • Static IP Compliant - SEBI-compliant static IP deployment guides included

Learning Courses

Thirteen free, hands-on courses cover beginner entry points (market basics, chart-reading, derivatives, taxation, risk management and trading psychology), a Python/algo/quant ladder, an expert statistical-arbitrage track, and a parallel AmiBroker AFL track, taught in plain English with runnable, tested examples on real Indian (OpenAlgo) and US (yfinance) market data. The /learn hub (Open Varsity) ties them together.

Course Level Chapters What it covers
Stock Market Basics (/stocks) Beginner 18 Shares, IPOs, indices, market plumbing, price-moving events, risk, scams, and getting started as an investor.
Technical Analysis (/technicals) Beginner 28 Reading real NSE charts: candlesticks, trends, support/resistance, chart patterns, and a broad indicator toolbox (moving averages, RSI and oscillators, MACD, ADX trend strength, Bollinger/ATR volatility, volume and money-flow, Supertrend and Ichimoku, plus OpenAlgo's 80+ library), risk and psychology.
Python for Traders (/fundamentals) Beginner 40 Python from zero - variables, data structures, NumPy, pandas, charts, then real market data. No prior coding needed.
Algo Trading with Python (/python) Intermediate 32 Build, backtest and automate strategies with the OpenAlgo SDK - indicators, signals, orders, WebSockets, risk.
Quantitative Trading (/quant) Expert 78 A full quant career curriculum: Indian market structure and plumbing, quant maths and statistics, market microstructure, HFT and execution technology, time series, derivatives and volatility, alpha research, backtesting and ML, and production.
Statistical Arbitrage (/stats-arb) Expert 17 A brutally honest stat-arb course on NSE equities: stationarity and cointegration, correlation vs cointegration, pairs and the spread/z-score signal, the out-of-sample and cost reality check, dynamic hedge ratios with the Kalman filter, Johansen baskets, cross-sectional factor-neutral books, risk and portfolio construction, honest validation (deflated Sharpe, PBO), and implementation pathways. Every result computed on real OpenAlgo data, gross and net, in-sample and out-of-sample.
AmiBroker AFL (/amibroker) Beginner 36 AFL from scratch - indicators, scans, backtests, optimization, alerts, and OpenAlgo order automation.
Futures Trading (/futures) Beginner 27 Futures from zero - contracts, orders and liquidity, margin and leverage, mark-to-market, costs and taxation, basis, rollover and calendar spreads, settlement, open interest, position limits and the F&O ban, corporate-action adjustments, price bands and halts, hedging, position sizing and the risks of leverage, on real Indian market examples.
Options Basics (/options-basics) Beginner 26 Options from absolute zero AND the mechanics most courses skip - calls and puts, premium/strike/expiry, index vs stock options and settlement, expiry/exercise/assignment, payoff at expiry vs live P&L, the option chain, bid/ask and liquidity, the four payoffs, the Greeks, implied vs historical volatility and the expected move, open interest and PCR, choosing a strike and expiry, seller margin and transaction costs, event risk, risk management and classic mistakes, and a bridge to spreads with a pre-trade checklist.
Options Strategies (/options-strategies) Intermediate 27 All 38 strategies in the OpenAlgo strategy builder, each with an authentic payoff chart and the full nine-metric panel (max profit/loss, POP, risk to reward, margin and more) built from the builder's own maths on real NIFTY data: spreads, straddles, strangles, iron condors and flies, butterflies, ratios, jade lizards, batman, calendars and synthetics, plus margin/collateral/pledging/penalties, position Greeks and the volatility regime, and options adjustments.
Taxation for Traders and Investors (/taxation) Beginner 19 Tax in plain English with real case studies - the income buckets, old vs new regime, advance tax and deadlines, capital gains and STT, intraday, F&O business income (turnover, audit, loss set-off), US stocks and Schedule FA, crypto tax, and choosing your ITR. Educational only, not tax advice.
Risk Management (/risk-management) Beginner 33 The one skill that keeps you in the game, for investors, stock traders, intraday traders and F&O beginners: what risk really is, the money-safety system (emergency fund, capital buckets, time horizon, risk capacity), investor risk (allocation, diversification, SIPs, rebalancing, concentration), trader risk (position sizing, stop-losses, expectancy, drawdowns, risk limits), leverage and execution risk (margin calls, slippage, gaps), and F&O risk (futures, option buyer/seller, the Greeks as risk, expiry day). Plain English, real Indian examples, SVG diagrams and checklists.
Trading Psychology & Risk Playbooks (/trading-psychology) Beginner 26 The second half of staying alive: trading psychology (fear, greed, loss aversion, FOMO, discipline as a system, journaling, emotional intelligence), hedging (when, why and when not, the costs, simple tools, portfolio hedge ratio), the option-seller and hedger playbook (defined-risk selling, credit spreads and condors, adjustment risk, tail risk), and complete ready-to-use risk plans for investors, stock/intraday/futures traders, option buyers and sellers, and hedgers. Plain English, real Indian examples, SVG diagrams and checklists.

Course content lives as Markdown + tested Python examples under content/, rendered to JSON at build time by the generators in scripts/. Strategies are tested in OpenAlgo's analyzer (sandbox) mode - never with claims of real data.

Website Pages

Page Description
/ Hero landing page with stats, ecosystem overview, and trust indicators
/learn Open Varsity learning hub linking all thirteen free courses
/stats-arb "Statistical Arbitrage" - 17-chapter expert course (NSE equities, brutally honest)
/stocks "Stock Market Basics" - 18-chapter beginner stock-market course
/technicals "Technical Analysis" - 28-chapter beginner chart-reading course
/fundamentals "Python for Traders" - 40-chapter beginner Python-for-finance course
/python "Algo Trading with Python" - 32-chapter intermediate course
/quant "Quantitative Trading" - 78-chapter expert course
/amibroker "AmiBroker AFL" - 36-chapter chart-based AFL course
/futures "Futures Trading" - 27-chapter beginner futures course
/options-basics "Options Basics" - 26-chapter beginner options course
/options-strategies "Options Strategies" - 27-chapter intermediate options-strategy course
/risk-management "Risk Management" - 33-chapter beginner risk-management course
/trading-psychology "Trading Psychology & Risk Playbooks" - 26-chapter beginner course
/taxation "Taxation for Traders and Investors" - 19-chapter beginner tax course
/features 45+ features organized by category
/getting-started Step-by-step beginner's guide
/download Multi-platform downloads (macOS, Linux, Windows) and SDK links
/roadmap Development roadmap with planned features
/faq Frequently asked questions
/blog News and updates
/static-ip Static IP & VPS hosting guide for SEBI compliance
/fastscalper FastScalper desktop trading app showcase
/wabridge WhatsApp HTTP Bridge documentation

Tech Stack

Getting Started

  1. Clone the repository:
git clone https://github.com/marketcalls/openalgo-webpage.git
cd openalgo-webpage
  1. Install dependencies:
npm install
  1. Run the development server (regenerates course content first):
npm run dev
  1. Open http://localhost:3000 in your browser.

Project Structure

app/                    # Next.js App Router pages
  api/                  # API routes (blog-feed, ip-lookup, OG image)
  stocks/               # "Stock Market Basics" course (18 static chapter routes)
  technicals/           # "Technical Analysis" course (28 static chapter routes)
  fundamentals/         # "Python for Traders" course (40 static chapter routes)
  python/               # "Algo Trading with Python" course
  quant/                # "Quantitative Trading" course
  amibroker/            # "AmiBroker AFL" course
  futures/              # "Futures Trading" course (27 static chapter routes)
  options-basics/       # "Options Basics" course (26 static chapter routes)
  options-strategies/   # "Options Strategies" course (27 static chapter routes)
  taxation/             # "Taxation for Traders and Investors" course (19 static chapter routes)
  learn/                # Learning hub linking all thirteen courses
  features/             # Features listing
  getting-started/      # Beginner's guide
  roadmap/  faq/  blog/  download/  static-ip/  fastscalper/  wabridge/
  layout.js             # Root layout (Navbar + Footer)
  page.js               # Home page
  globals.css           # Global styles & design tokens (Tailwind v4 @theme)
components/             # Reusable React components (navbar, footer, ui/)
content/                # Course source: Markdown + tested Python examples
  stocks/  technicals/  fundamentals/  python/  quant/  amibroker/  futures/  options-basics/  options-strategies/  taxation/   # md/, examples/ (.py + .out + .png), data/
scripts/                # Build-time content generators (gen-*-content.mjs)
lib/                    # *Curriculum.js (manifests) + *ContentData.json (generated)
public/                 # Static assets, course charts, favicons, sitemap.xml
middleware.js           # Rate limiting (200 req/hr per IP)

Development

Prerequisites

  • Node.js 20.9.0 or later
  • npm

Common scripts

npm run dev        # generate content + start the dev server
npm run gen        # (re)generate all course content JSON from content/
npm run build      # production build
npm run preview    # build and preview the Cloudflare Worker locally
npm run deploy     # generate + build + deploy to Cloudflare Workers
npm start          # serve the production build

The course pipeline renders each chapter's Markdown and its live-tested Python examples (with captured output and matplotlib/seaborn charts) into a bundled JSON module, so the pages need no filesystem access at runtime - essential on Cloudflare Workers.

OpenAlgo Ecosystem

This website showcases the broader OpenAlgo FOSS ecosystem:

  • Core: OpenAlgo - Central API and trading engine
  • SDKs: Python, Node.js, Java, .NET, Go, Rust
  • Apps: FastScalper, OpenAlgo Mobile (Flutter), Chrome Extension, Excel Add-in
  • Tools: AlgoMirror, OpenAlgo Flow, Historify, OpenQuest, OpenAlgo Chart
  • AI: MCP integration for AI agents and LLM-powered trading

Resources

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

OpenAlgo - Web Portal

Topics

Resources

Stars

22 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages