LearnFinance
🤖
Advanced

Algorithmic & Systematic Trading

Trading by rules instead of hunches: how algorithmic trading works in India, broker APIs such as Kite Connect under the SEBI retail-algo framework, honest backtesting, systematic quant strategies, and execution: how algorithms such as VWAP and POV manage market impact and trading costs.

0%
Module progress
0 / 6 lessons
Builds on
Unlocks next
  • A leaf: the most specialised point on this branch.

Lessons

6 total

Read each lesson, try its calculators and quick checks, then pass its quiz (60% or more) to complete it and unlock the next. Score 80% on the capstone to master the module. Progress is saved in this browser.

  1. 01
    Algorithmic trading basics: what algos actually do
    Behind every twitchy price on your screen is code. What algorithmic trading really means; its three layers; the main kinds of algos; retail versus institutional; SEBI's rules; a simple momentum script, worked step by step; and how, in the US 'flash crash' of 6 May 2010, one execution algo selling $4.1 billion of futures at 9% of volume helped knock nearly 1,000 points off the Dow in minutes.
    15 min · +50 XP
  2. 02
    Broker APIs: Kite Connect, Upstox, and getting started
    Placing orders from Python instead of clicking your broker's app. What the major Indian broker APIs offer and cost; how login works, and why tokens expire daily; rate limits, worked step by step; a minimal script; the safety habits that matter from day one; and how Knight Capital, on 1 August 2012, lost about $460 million in 45 minutes when old code woke up on one server.
    15 min · +50 XP
  3. 03
    Backtesting strategies honestly
    Every strategy looks brilliant in a backtest. Look-ahead bias, survivorship and overfitting, with a calculator for how good luck can look; the costs you must model, worked step by step; six sanity checks; why Indian F&O history can mislead; and how Quantopian's 2016 study of 888 trading algorithms found backtest Sharpe ratios had almost no power to predict live results.
    15 min · +50 XP
  4. 04
    Quantitative strategies overview: momentum, mean reversion, factors
    The three big families of systematic strategies that have earned money for decades: what they are, why they work, and where they break down. Momentum, mean reversion and factor investing; a quality-filtered momentum stack, worked step by step; carry and arbitrage; how to manage a strategy through bad years; and how, from March to May 2009, the past year's worst US stocks rose about 156% while the best rose 6.5%, a momentum crash.
    15 min · +50 XP
  5. 05
    Execution algorithms and market impact
    A strategy's paper profits can vanish in the act of trading. The full cost of a trade; how big orders move prices, with the square-root law and a calculator; the trade-off between impact and timing risk, worked step by step; TWAP, VWAP and POV; India's closing auction; and how Société Générale, from 21 January 2008, unwound about €50 billion of hidden positions in three days into a falling market, losing €4.9 billion.
    15 min · +50 XP
  6. 06
    Project: backtest a rule honestly
    Test a simple market-timing rule on 26 years of real Nifty 50 total-return data and see how easily a backtest flatters. Fix the rule before looking, split the data into in-sample and out-of-sample periods, include costs, compare against buy and hold, count how many choices you tried, and write up the result honestly. A self-check list and a model write-up let you mark your work; and how Harvey, Liu and Zhu's 2016 study of 316 published return factors argued a new one should clear a t-statistic of 3.0, not 2.
    25 min · +50 XP
  7. 🏁
    Capstone Quiz
    Test everything from this module in one go.
    15 questions