Machine learning and short positions in stock trading strategies
Post on 01-Feb-2016
DESCRIPTIONMachine learning and short positions in stock trading strategies. D.E Allen, R. Powell and A. K. Singh Edith Cowan University. Reading questions. What is short selling and why is it controversial? What are Support Vector Machines (SVM) and why are they a useful technique? - PowerPoint PPT Presentation
D.E Allen, R. Powell and A. K. SinghEdith Cowan University
Reading questionsWhat is short selling and why is it controversial?What are Support Vector Machines (SVM) and why are they a useful technique?Explain what kernel estimation is. Why are different kernel estimators available?Explain what logistic regression is.What does Beta Measure?Why are Sharpe ratios a useful investment metric?How does Beta differ from Sharpe ratios.How do we measure mean absolute error?Why is out of sample forecasting important?
Forecasting future stock price movement using financial indicators.Evidence from past for predictability power of financial factors e.g. Beta, E/P, B/M, past returns etc.Support Vector Machines (SVM), capable of handling large amount of unstructured, noisy or nonlinear data.SVM classification useful in prediction of future price direction (+1,-1).
SVM in Classification
SVM are characterized by Mapping input vectors into higher dimensional feature space.Structural risk minimizationNon linear modelling with Kernel FunctionsKernel density estimators are non-parametric density estimators with no fixed structure. They depend on all the data points to obtain an estimate.Classification of classes using optimal separating hyperplane. *
SVM Optimal Separating Hyperplane.
SVMSVM use following kernel functionsLinear: Polynomial: Radial Basis Function (RBF): Sigmoid: Here and d are kernel parameters.Study Uses RBF kernel for its robustness on non linear data. *
DataDow Jones Industrial Average sample Stocks daily data for a period of 5 years (1/03/2005-9/03/2010). Factors Used for forecasting *
Factors Underlying rationale Previous 2 days daily log returns.Indicator of the historical performance, which is widely used in time series analysis.Beta (six months rolling window)Return dependence on the market return in the long run.Price to Earnings RatioIndicator of the current company value which effects the price movement.Book to Market RatioFama- French (1992, 1993)Traded VolumeIndicator of the performance of the stock in the market.Dividend YieldIndicator of company performance. Blume (1980)
MethodologyStandardization of Data
Direction of price change classified into binary -1 and 1 using
Testing sample is created using last 130 days data.Kernel parameters, cost and gamma are optimized using grid search. A systematic way of seeking optima.The model is built on training data and is used for forecasting which is tested on out sample data (130 days) SVM results are compared with Logistic Regression results (with same training and testing data).Simple investment strategy used to check the predicted directions
Forecasting Results *
Investment Strategy ResultsThe final net returns of the stocks are compared using the Sharpe Ratio.
Final ReturnSharpe RatioSVMLOGISTICSVMLOGISTICStock120.10167056-12.036217.42748-13.0499Stock27.2461990936.0096454.3560553.369538Stock316.3355632915.3047714.7850913.72405Stock414.335684245.61143714.839014.495077Stock518.27861273-5.4912514.62362-6.39905DJIA10.123795248.10426878
ConclusionSVM classification outperforms logistic regression in classifying price direction.Simple stock trading strategy also reveals the efficiency of SVM in stock trading.Further applications can include prediction of other financial time series.SVM regression can be further tested for similar work*