Skip navigation
Please use this identifier to cite or link to this item: http://arks.princeton.edu/ark:/88435/dsp01xd07gw11r
Full metadata record
DC FieldValueLanguage
dc.contributor.advisorSingh, Jaswinder Pal-
dc.contributor.authorCastaneda, Emanuel-
dc.date.accessioned2016-06-22T15:09:50Z-
dc.date.available2016-06-22T15:09:50Z-
dc.date.created2016-04-29-
dc.date.issued2016-06-22-
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/dsp01xd07gw11r-
dc.description.abstractWe present the first free and publicly available REST API service to provide stock similarity recommendations. Our similarity engine allows users the ability to query all stocks found in the S&P 500. While much research exists on similarity search of time series data, many if not all advances (specifically in the field of finance) are developed as proprietary technology and are therefore not available to the general public. Our API serves as a tool for any investor to find similar stocks through powerful machine learning algorithms. Various uses exist for stock similarity search and our results section focuses on its strong potential as a filter for stock pairs used in pairs trading. We first distinguish key statistics used when defining stock similarity. We then use data from Yahoo Finance to create Stock Vectors containing these statistics. Our similarity engine uses an Expectation Maximization Clustering Algorithm as well as a K-nearest Neighbor Algorithm to serve its various queries. The K-nearest Neighbor Algorithm solves the indexing problem for a given query stock by calculating the Euclidean distance between the two Stock Vectors. Similarity metrics (weighted correlation and a distance measure), along with the stock’s cluster association are used to calculate potential stock pairs. Our results demonstrate the strong usefulness of our API as a tool for investors to search for similar stocks. Specifically we show its efficacy as a recommendation system for stock pairs trading, to produce high levels of risk-adjusted return.en_US
dc.format.extent48 pages*
dc.language.isoen_USen_US
dc.titleA Stock Similarity REST API Capturing Time-Series Similarity Through Machine Learning And Data Mining Techniquesen_US
dc.typePrinceton University Senior Theses-
pu.date.classyear2016en_US
pu.departmentComputer Scienceen_US
pu.pdf.coverpageSeniorThesisCoverPage-
Appears in Collections:Computer Science, 1988-2020

Files in This Item:
File SizeFormat 
Castaneda_Emanuel_thesis.pdf788.37 kBAdobe PDF    Request a copy


Items in Dataspace are protected by copyright, with all rights reserved, unless otherwise indicated.