Automated trading with R : quantitative research and platform development /
All the tools you need are provided in this book 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 Tr...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Berkeley] :
Apress,
[2016]
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- At a Glance; Contents; About the Author; About the Technical Reviewers; Acknowledgments; Introduction; Part 1: Problem Scope; Chapter 1: Fundamentals of Automated Trading; Equity Curve and Return Series; Characteristics of the Equity Curve; Characteristics of the Return Series; Risk-Return Metrics; Characteristics of Risk-Return Metrics; Sharpe Ratio; Maximum Drawdown Ratios; Partial Moment Ratios; Regression-Based Performance Metrics; Optimizing Performance Metrics; Part 2: Building the Platform; Chapter 2: Networking Part I; Yahoo! Finance API; Setting Up Directories.
- URL Query BuildingData Acquisition; Loading Data into Memory; Note on Coding Style; Updating Data; YQL Web Service; URL and Query Building; Note on Quantmod; Background; Comparison; Organizing as Date-Uniform zoo Object; Note on zoo Objects; Chapter 3: Data Preparation; Handling NA Values; Note: NA vs. NaN in R; IPOs and Additions to S & P 500; Merging to the Uniform Date Template; Forward Replacement; Linearly Smoothed Replacement; Volume-Weighted Smoothed Replacement; Discussion of Replacement Methods; Real Time vs. Simulation; Influence on Volatility Metrics; Influence on Trading Decisions.
- ConclusionClosing Price and Adjusted Close; Adjusting for Stock Splits; Adjusting for Cash Dividends; Efficient Updating and Adjusted Close; Implementing Adjustments; Test for and Correct Inactive Symbols; Computing the Return Matrix; Chapter 4: Indicators; Indicator Types; Overlays; Oscillators; Accumulators; Pattern/Binary/Ternary; Machine Learning/Nonvisual/Black Box; Example Indicators; Simple Moving Average; Moving Average Convergence Divergence Oscillator (MACD); Bollinger Bands; Custom Indicator Using Correlation and Slope; Indicators Utilizing Multiple Data Sets; Conclusion.
- Chapter 5: Rule SetsOur Process Flow as Nested Functions; Terminology; Example Rule Sets; Overlays; Oscillators; Accumulators; Filters, Triggers, and Quantifications of Favor; Chapter 6: High-Performance Computing; Hardware Overview; Processing; Multicore Processing; Hyperthreading; Memory; The Disk; Random Access Memory (RAM); Processor Cache; Swap Space; Software Overview; Compiled vs. Interpreted; Scripting Languages; Speed vs. Safety; Takeaways; for Loops vs. apply Functions; for Loops and Memory Allocation; apply-Style Functions; Use Binaries Creatively; Note on Measuring Compute Time.
- Multicore Computing in REmbarrassingly Parallel Processes; doMC and doParallel; The foreach Package; The foreach Package in Practice; Integer Mapping; Computing the Return Matrix with foreach; Computing Indicators with foreach; Chapter 7: Simulation and Backtesting; Example Strategies; Our Simulation Workflow; Listing 7-1: Pseudocode; Listing 7-1: Explanation of Inputs and User Guide; Discussion; Implementing Example Strategies; Summary Statistics and Performance Metrics; Conclusion; Chapter 8: Optimization; Cross Validation in Time Series; Numerical vs. Analytical Optimization.