MC3-Project-2

From Quantitative Analysis Software Courses
Revision as of 14:45, 19 November 2015 by Tucker (talk | contribs)
Jump to navigation Jump to search

Updates / FAQs

Overview

In this project you will transform your regression learner into a stock trading strategy.

Template and Data

You will use data in the ML4T/Data directory. In particular files named ML4T-XXX.csv, where XXX are digits.

Part 1: Build TrainY

Use ML4T-399.csv

Your code should predict 5 day change in price. You need to build a new Y that reflects the 5 day change and aligns with the current date.

Create a plot that shows current price and overlays the 5 day change, and overlays one on the other. The result should appear to be just a shifted version of the price.

Part 3: Develop Technical Indicators

Select and implement at least 3 technical indicators that you will use to predict prices.

Part 4: Train and Show Results

Train your system on 2008-2009. Create a chart that shows your predicted 5 day return versus actual.

Part 5: Create a Trading Strategy

Use your forecaster to generate a trading strategy. Create a chart that shows entry and exit points.

Generate trades, show backtest. Show results for in sample (2008-2009) and out of sample 2010-2011

Apply this now to real data, IBM, over the same period.

Hints & resources

What to turn in

Extra credit up to 3%

Rubric