Home / Guides
TASI Python guides.
Free, honest, runnable guides to trading the Saudi Exchange (Tadawul/TASI) in Python — data, backtesting, and a real trading bot.
Guide
How to get TASI historical data in Python
An honest comparison of licensed APIs, yfinance, static datasets, and Tasilab — plus the adjustment and calendar gotchas specific to the Saudi market.
Guide
Backtest a TASI strategy in Python
From a one-line API call to a fully logged, comparable experiment — on real historical bars with real commission and VAT.
Guide
Build your first TASI trading bot in Python
A complete moving-average crossover bot that trades paper orders on the Saudi Exchange by itself — real fees, zero risk, full runnable code.
