TradeLabs AILearn

Programming and Data

27 lessons in this track so far, in the order we suggest reading them.

Programming for Traders

IntermediatePython for TradingWhy Python is the most popular language for trading research and bots, which libraries matter, how to set up a project and a first script that tests a simple rule.IntermediateNumPy and Pandas for TradersLearn the pandas and NumPy operations traders use most: loading price data, returns, rolling windows, resampling bars, joining assets and avoiding common traps.IntermediatePlotting Market Data with MatplotlibUse matplotlib to plot prices, indicators, equity curves, drawdowns and return histograms, with clear examples and tips for honest, readable trading charts.IntermediateBacktesting Libraries ComparedCompare popular Python backtesting tools: vectorbt, Backtrader, backtesting.py, Zipline Reloaded, NautilusTrader and LEAN. Learn their styles, strengths and limits.IntermediateWorking With Exchange and Broker APIsHow trading APIs let programs get prices, place orders and read positions. Learn REST, WebSocket and FIX, authentication, rate limits and safe API key handling.IntermediateWebSocket Market Data StreamsHow WebSocket streams deliver live trades, quotes and order book updates. Learn subscriptions, heartbeats, reconnecting safely and handling gaps in Python.IntermediateSQL for Trading DataLearn the SQL queries traders use most: filtering bars, aggregating trades into candles, joining fills to orders, window functions for returns and daily P&L.IntermediateDatabase Design for Market DataHow to design database tables for bars, ticks, symbols, orders and fills. Learn keys, indexes, partitioning, data types and how to avoid common design mistakes.IntermediatePine Script BasicsLearn Pine Script, TradingView's language for custom indicators, strategies and alerts. Covers series, plots, inputs, a crossover strategy and common pitfalls.IntermediateBuilding Trading BotsHow to build a trading bot that is safe to run: the main components, an event loop, state and position tracking, risk checks, logging and a staged path to live.IntermediateAlerts and WebhooksHow price alerts and webhooks work, how to send TradingView alerts to your own server or a chat channel, and how to secure webhook endpoints against fake signals.IntermediateFIX ProtocolFIX is the standard messaging protocol for institutional trading. Learn how FIX sessions, messages and tags work, a sample order message and when traders use FIX.

Market Data

Data Engineering

Market Data Engineering