
Opis
Algorithmic trading strategies can look profitable when backtests use future data, omit transaction costs, or assume unrealistic fills. This book helps Python developers and quant researchers examine AI trading ideas through calculations and controlled experiments.Start with market-data validation, feature engineering, and backtest accounting that preserves the order of signals and trades. Detect market regimes with hidden Markov models (HMMs), forward-only inference, Kalman filters, and cross-asset ensembles. Research statistical arbitrage by screening cointegrated stock pairs, calculating dynamic hedge ratios, and designing regime-adjusted Z-score signals. Explore machine learning for trading through a simulated reinforcement learning environment, Soft Actor-Critic (SAC) training, and Optuna tuning.
Evaluate Half-Kelly position sizing, maximum drawdown, VaR, CVaR, and walk-forward validation before comparing SAC with PPO and QR-DQN. Examine paper broker backends, FastAPI monitoring, Discord alerts, and MLflow experiment records and model-serving components. Ted Park connects these methods to code examples and verification exercises, distinguishing runnable implementations from extended designs. You will finish better equipped to assess trading strategies, reproduce results, and run disciplined paper-trading research.