0%

Book Description

Learn to trade algorithmically with your existing brokerage, from data management, to strategy optimization, to order execution, using free and publicly available data. Connect to your brokerage's API, and the source code is plug-and-play.

Automated Trading with R explains automated trading, starting with its mathematics and moving to its computation and execution. You will gain a unique insight into the mechanics and computational considerations taken in building a back-tester, strategy optimizer, and fully functional trading platform.

The platform built in this book can serve as a complete replacement for commercially available platforms used by retail traders and small funds. Software components are strictly decoupled and easily scalable, providing opportunity to substitute any data source, trading algorithm, or brokerage. This book will:

  • Provide a flexible alternative to common strategy automation frameworks, like Tradestation, Metatrader, and CQG, to small funds and retail traders

  • Offer an understanding of the internal mechanisms of an automated trading system

  • Standardize discussion and notation of real-world strategy optimization problems

What You Will Learn

  • Understand machine-learning criteria for statistical validity in the context of time-series

  • Optimize strategies, generate real-time trading decisions, and minimize computation time while programming an automated strategy in R and using its package library

  • Best simulate strategy performance in its specific use case to derive accurate performance estimates

  • Understand critical real-world variables pertaining to portfolio management and performance assessment, including latency, drawdowns, varying trade size, portfolio growth, and penalization of unused capital

Who This Book Is For

Traders/practitioners at the retail or small fund level with at least an undergraduate background in finance or computer science; graduate level finance or data science students

Table of Contents

  1. Cover
  2. Frontmatter
  3. 1. Problem Scope
    1. 1. Fundamentals of Automated Trading
  4. 2. Building the Platform
    1. 2. Networking Part I
    2. 3. Data Preparation
    3. 4. Indicators
    4. 5. Rule Sets
    5. 6. High-Performance Computing
    6. 7. Simulation and Backtesting
    7. 8. Optimization
    8. 9. Networking Part II
  5. 3. Production Trading
    1. 10. Organizing and Automating Scripts
    2. 11. Looking Forward
    3. 12. Source Code
    4. 13. Appendix B: Scoping in Multicore R
  6. Backmatter
18.207.104.87