Skip to main content
  • Book
  • © 2016

Automated Trading with R

Quantitative Research and Platform Development

Apress

Authors:

  • Full source code and step-by-step explanation for a plug-and-play trading platform; the platform can be used in independent simulation, brokerage-assisted simulation, or end-to-end production trading

  • Includes lengthy tables and descriptions of performance metrics, indicators, rule sets, and brokerage plans, helping users get to production quicker

  • Includes performance assessments of popular strategies implemented on multi-asset portfolios, allowing users to swap components to customize, research, and deploy automated strategies

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (13 chapters)

  1. Front Matter

    Pages i-xxv
  2. Problem Scope

    1. Front Matter

      Pages 1-1
    2. Fundamentals of Automated Trading

      • Chris Conlan
      Pages 3-20
  3. Building the Platform

    1. Front Matter

      Pages 21-21
    2. Networking Part I

      • Chris Conlan
      Pages 23-35
    3. Data Preparation

      • Chris Conlan
      Pages 37-49
    4. Indicators

      • Chris Conlan
      Pages 51-58
    5. Rule Sets

      • Chris Conlan
      Pages 59-63
    6. High-Performance Computing

      • Chris Conlan
      Pages 65-81
    7. Simulation and Backtesting

      • Chris Conlan
      Pages 83-99
    8. Optimization

      • Chris Conlan
      Pages 101-130
    9. Networking Part II

      • Chris Conlan
      Pages 131-152
  4. Production Trading

    1. Front Matter

      Pages 153-153
    2. Organizing and Automating Scripts

      • Chris Conlan
      Pages 155-160
    3. Looking Forward

      • Chris Conlan
      Pages 161-165
    4. Source Code

      • Chris Conlan
      Pages 167-194
    5. Appendix B: Scoping in Multicore R

      • Chris Conlan
      Pages 195-201
  5. Back Matter

    Pages 203-205

About this book

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

Authors and Affiliations

  • Bethesda, USA

    Chris Conlan

About the author

Chris Conlan began his career as an independent data scientist specializing in trading algorithms. He attended the University of Virginia where he completed his undergraduate statistics coursework in three semesters. During his time at UVA, he secured initial fundraising for a privately held high-frequency forex group as president and chief trading strategist. He is currently managing the development of private technology companies in high-frequency forex, machine vision, and dynamic reporting.

Bibliographic Information

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access