R/quantstrat For Fun & Profit

Slides:



Advertisements
Similar presentations
Bulk Data API Nick Simha Technical Alliance Manager.
Advertisements

Behzad Samin 0 An End-to-End Overview of a RESTful Web Service.
Publishers Web Sites Standard Features. Objectives Access publishers websites Identify general features available on most publishers websites Know how.
February 7, SLIDE 1 Copyright © 2011 International Swaps and Derivatives Association, Inc. FpML Reporting WG FpML Reporting Working Group ® ISDA.
Legal Meetings: Extended Instructions on Movica and Screencast.
EasyDirector® Simplifying the way you manage your business... Full-Featured Contact & Customer Relationship Management Tool Prepared by AITechConsulting.
Tips for Training (module 6.2).
1 The Perspective From A Research User Beyond - Strategies For Collaborative Working In The 21st Century Weetwood Hall, University of Leeds 22nd.
Scott Shearer SharePoint Evangelist/Developer FlexPoint Technology
Drupal Content Management System Supporting Personal and Collaborative Online Environments 2007 IST Conference - Indiana University Jennifer Maddrell March.
The SeETL Business Presentation 1/1/2012
Debugging/Tuning Queries via iSeries Navigator Tom McKinley
SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
DotNetNuke Mobile Development -- options, tools and approaches
Introducing… elementool Issue Tracking The World’s First Web-Based Issue Tracking Software.
Ottawa PC Users’ Group Beginner’s Workshop Word Processor and Spreadsheet Jocelyn Doire.
Business Intelligence in Microsoft SQL Server 2005 Marin Bezić Microsoft EMEA SQL BI PRODUCT MANAGER
WordPress Premium Themes THEY CAN BE FAST BUT THEY’RE FAR FROM FOOLPROOF.
Kentico CMS 5.5 R2 What’s New. Highlights Intranet Solution Document management package – WebDAV support – Project & task management – Document libraries.
National Data Center 2014 USER CONFERENCE. Introductions  David Shapiro, NDC: Introductions, Information Authorization, Deep Linking  David Snapp, NDC:
Content Management System. What's a content management system (CMS)?  A content management system is software that keeps track of every piece of content.
By Construction People for Construction People CONSTRUCTION SOFTWARECONSTRUCTION SOFTWARE CATPlan for Consultants CAT Plan is a web based document management.
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Kiran Kaja | Accessibility Engineer Ensuring Accessibility in Document Conversion.
How to Guide: Step-by-Step introduction on how to Manage your References Pavlinka Kovatcheva, Sciences Librarian Library training instruction for Sciences.
Add your company slogan
SIGNATURE/DRS FUND I PRIVATE EQUITY FUND I REAL ESTATE.
Working Graphics. Slide 2 Lecture Overview Formatting Text Understanding whitespace.
1 Introduction to OBIEE: Learning to Access, Navigate, and Find Data in the SWIFT Data Warehouse Lesson 8: Printing and Exporting an OBIEE Analysis This.
MyIsagenix - Intro Class. Intro Class Agenda  MyIsagenix Overview  Getting Started  Page by Page Walkthrough  Q & A.
© 2012 Albridge Solutions, Inc. Albridge Solutions, Inc. is an affiliate of Pershing LLC. Pershing LLC, member FINRA, NYSE, SIPC, is a subsidiary of The.
© 2009 IBM Corporation IBM BPM BlueWorks Overview & Key Features.
RUBY ON RAILS Mark Zhang. In this talk  Overview of Ruby on Rails  Core ideas  Show a tiny bit of example code  Touch on several general web development/
EasyBoard Share schedule and ideas in a twinkle. EasyBoard Goals Application features Technologies used Schedule Problems that we can meet Questions?
TECHNOLOGY RESOURCES TO SUPPORT RESEARCH (Or: How to Tame Alot of Paper) Ashley Shaw
© Spinnaker Labs, Inc. Google Cluster Computing Faculty Training Workshop Open Source Tools for Teaching.
Technical Workshops | Esri International User Conference San Diego, California Esri Maps for IBM Cognos Dave Kerr Darren Nelson July 2012.
Lights, Camera, Caption! Presented by Kaela Parks.
JAS3 + AIDA LC Simulations Workshop SLAC 19 th May 2003.
Google Confidential and Proprietary 1 Advanced Docs Google Apps.
Formulating Strategic Marketing Programs
Web Indexing and Searching By Florin Zidaru. Outline Web Indexing and Searching Overview Swish-e: overview and features Swish-e: set-up Swish-e: demo.
Sustainability: Web Site Statistics Marieke Napier UKOLN University of Bath Bath, BA2 7AY UKOLN is supported by: URL
Chapter 14 Analysis of Operating Activities How do operations create value for our business?
COMP 208/214/215/216 – Lecture 8 Demonstrations and Portfolios.
1 Archiving Update June 9, 2003 Chuck Palsho President, NewsBank Media Services
Presented by D’Sunte Wilson Microsoft Dynamics Nav (Navision) Training – Day 2.
Google Refine for Data Quality / Integrity. Context BioVeL Data Refinement Workflow Synonym Expansion / Occurrence Retrieval Data Selection Data Quality.
Reading Flash. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also choose some.
Back to the Basics - Video Nick Kwiatkowski Michigan Flex Users Group.
VENTURE PLANNING PARTNERS Strategic Planning  Organizational Development  Marketing  Advertising  Research LEADERSHIP & TEAMBUILDING WORKSHOP WELCOME.
Status Report on the Validation Framework S. Banerjee, D. Elvira, H. Wenzel, J. Yarba Fermilab 15th Geant4 Collaboration Workshop 10/06/
Blogging. Website and blog A website, also written as web site,or simply site, is a set of related web pages typically served from a single web domain.
Power View Overview April 25, POWER VIEW Presentation ready visualizations for the masses.
ONETICK ® Accelerating Quant Research and Trading Principal Component Analysis & Multi-Factor Modeling Tests with OneTick & R Historical & Real-Time 7.
Interacting with Assay Data. Basic Ways to Interact: Experiment: cuts across all assay types Assay: by batch, run or sample.
Continuous Delivery- Complete Guide
Introduction to OBIEE:
PowerPoint Template Click to edit Master subtitle style
Leveraging BI in SharePoint with PowerPivot and Power View
Add your company slogan
Search Techniques and Advanced tools for Researchers
Hey everyone, I’m Sunny …harsh caroline xavier
Add your company slogan
Add your company slogan
Create a simple Budget vs
Agile testing for web API with Postman
BigCo Isn’t broadcasting the preserve of commercial media organisations because it requires specialist equipment and expertise? Not anymore, thanks to.
Dynamically Updated Publications
September 12-14, 2018 Raleigh, NC.
Professional Services Tools Library (PSTL)
Presentation transcript:

R/quantstrat For Fun & Profit Motivation Why R/quantstrat? Overview: The Toolset Data Warehousing with XTS Modeling Backtesting E. Allen (e@biglucre.com) Nov. 4th 2013 Pittsburgh R Users Group Lightning Talk

References Jan Humme, Brian Peterson @ R/Finance 2013: http://www.rinfinance.com/agenda/2013/workshop/Humme+Peterson.pdf Guy Yollin, quantstrat/blotter lecture notes: http://www.r-programming.org/papers Blair Hull @ R/Finance 2012: http://www.rinfinance.com/agenda/2012/talk/BlairHull.pdf My Blog: http://ww.biglucre.com/ This presentation focuses on brevity and perceived gaps in more comprehensive resources. Slides will be available.

R/quantstrat For Fun & Profit: Motivation Quantitative Trading Motivation Profit! But, it’s risky – not good for regular income to pay the rent. Don’t quit your day job – unless you’re working for a group that really knows what they’re doing. But, it is also interesting! Not as expensive as you might think to trade –except for High Frequency.

R/quantstrat For Fun & Profit: Why R/quantstrat? Features – Leveraging framework with much of what commercial packages offer. Flexibility – Ability to change for own use. Cost Used in professional trading firms. From Blair Hull: xts, xtime, indexing, sde, monomvn, lars, fUnitRoots, fGarch, manova Proprietary trading firm contributions, even those with large operations.

R/quantstrat For Fun & Profit: The Toolset The Toolset (from Humme/Peterson)

R/quantstrat For Fun & Profit: The Toolset: quantstrat Part of the TradeAnalytics package https://r-forge.r-project.org/projects/blotter/ Not yet available on CRAN (under heavy development) Installing quantstrat: http://biglucre.com/environment/ (Linux/from source) or, you can try: install.packages("quantstrat", repos="http://R-Forge.R-project.org")

R/quantstrat For Fun & Profit: The Toolset: quantstrat Recommended Reading: Trading Systems: A New Approach to System Development and Portfolio Optimisation by Tomasini and Jaekle This text follows the development and testing of a simple system, Luxor which is featured in several quantstrat demos.

R/quantstrat For Fun & Profit: The Toolset: quantstrat Professional+Commercial Tools will provide: Data Warehouse System Development Production Strategy Deployment R/quantstrat can be used for 1 and 2 – maybe 3.

R/quantstrat For Fun & Profit: The Toolset: quantstrat Toolset: quantstrat (from Humme/Peterson)

R/quantstrat For Fun & Profit: The Toolset: quantstrat Functional Programming Workflow Indicators and Signals add columns to mkdata xts object. Applying a Strategy results in a blotter object that contains trade information, ready for analysis. More advanced features include optimization methods and parallelization.

R/quantstrat For Fun & Profit: Data Warehousing Acquire Data Record from feed (IQFeed, Interactive Brokers) Purchase (tickdata.com, IQFeed 6-mo backfill) Code for the following forthcoming at www.biglucre.com Import Data Use read.csv, convert to xts, name columns for BBO or OHLC data Use FinancialInstrument SaveSymbols()/getSymbols.FI to save xts data into daily .rda data files load/merge subsets of daily data into xts objects

R/quantstrat For Fun & Profit: Modeling R offers many useful packages. Some examples: urca: Unit root and cointegration tests for time series data http://cran.r-project.org/web/packages/urca/index.html fGarch: Rmetrics - Autoregressive Conditional Heteroskedastic Modelling

R/quantstrat For Fun & Profit: Backtesting Backtesting (from Humme/Peterson)

R/quantstrat For Fun & Profit: Backtesting Backtesting (from Humme/Peterson)

R/quantstrat For Fun & Profit: Optimization Optimization/Parallelization (from Guy Yollin)

R/quantstrat For Fun & Profit: Questions?

Appendix A: Equity curve for a strategy under development.