Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Help a student in writing his senior thesis!

I hope the title of this post is sufficiently descriptive as to not distract the community from the other algorithmic posts that are likely more useful. BUT if you are interested in helping a student in researching algorithmic trading for his senior thesis, please read on:

My name is Seth Sacher and I am currently a senor at the University of Virginia. I have very minimal background in computer science and marginally more in finance (I'm a Mechanical Engineering/Physics double major with a minor in Business), and I am struggling in researching the algorithmic trading concepts necessary to finish my thesis.

I'm researching Big Data and its impact on finance, specifically how I believe the introduction of Big Data analytic techniques into financial modeling and algorithmic trading (specifically High Frequency Trading) can truly revolutionize the fields.

As Quantopian strives to correct, I have found it immensely difficult obtaining a grasp on the field of algorithmic trading due to the highly protected processes developed by Wall Street and others.

As I am a newcomer to Quantopian and hope to use this platform to significantly accelerate my research, I thought I would put out a request as well to the community to see if anyone had specific suggestions on resources I could use in this endeavor.

I understand this a pretty broad request and I can try to specify if there are questions. Thank you all for bearing with me and I hope to hear from many of you soon!

Many thanks,
Seth Sacher
[email protected]
University of Virginia
School of Engineering and Applied Science 2014

3 responses

Hey Seth Sacher,

Could you bit a bit more specific in what kinds of resources you are looking for? There are a lot of books out there on algorithmic trading (e.g. ernie chan). I think it would be more helpful if you could post up what kinds of specific questions you are hoping to have answered as to not throw out a big blanket.

On another note, I'm also a senior in college with some finance experience so if you have any questions feel free to email me at [email protected]

-Seong

Disclaimer

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by Quantopian. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. No information contained herein should be regarded as a suggestion to engage in or refrain from any investment-related course of action as none of Quantopian nor any of its affiliates is undertaking to provide investment advice, act as an adviser to any plan or entity subject to the Employee Retirement Income Security Act of 1974, as amended, individual retirement account or individual retirement annuity, or give advice in a fiduciary capacity with respect to the materials presented herein. If you are an individual retirement or other investor, contact your financial advisor or other fiduciary unrelated to Quantopian about whether any given investment idea, strategy, product or service described herein may be appropriate for your circumstances. All investments involve risk, including loss of principal. Quantopian makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances.

To start, really anything that can be suggested as an introduction to the subject. While this is still rapidly evolving and with minimal exposure thusfar, I wasn't sure if there was any "standard" writing or author on the subject. Second, I'm most interested in understanding the underlying assumptions in these models. I figure these will be covered as part of any explanation of the trading strategies, so also helpful would be a resource on the most commonly used strategies, or if more specifically something exists highlighting the assumptions/rules of the field.

Hi Seth,

I am not a professional, but here's what I have so far. To your second point, most of the models I've seen have layered strategies. By layered, I mean that they can be broken down into substrategies and those in turn can be broken down into subsubstrategies, etc. Here's an over-simplistic example:

You have one substrategy that selects securities(buying), and another strategy that does something with them(selling). Together they make your trading strategy. First, selecting securities is usually based on either the past performance of the stock(moving average, moving standard deviation, returns, etc.), the current state (statistic) of the stock (price,volume,etc), or exogenously determined with respect to the raw market data (news, word of mouth, divine inspiration, random number generator). The second substrategy usually involves using some of the same parameters, or transformations of the parameters used to choose the security you program some heuristic that determines what to do with the stock (sets the conditions under which you will sell it). With just a simple bifurcation of a general strategy, even a small number buying and selling substrategies yields a large universe of strategies. Each substrategy will have its own unique assumptions.

Suppose that using statistics is part of both of your buying and selling substrategies, and therefore using statistics can be said to be a general strategy. Statistics is commonly discussed in the forums, so it seems like a good place to start. Within the example I just made the following would be a subsubstrategies but for clarity I will just call everything strategy whether it is a substrategy or not. https://www.quantopian.com/posts/using-poisson-distribution-to-predict-price-change , https://www.quantopian.com/posts/trading-strategy-using-markov-chainsand another Determining price direction using exponential and log-normal distributions. These examples use advanced statistical methods, and 'atypical' distributions. Each of these distributions and methods has their own assumptions, and/or conditions that should be met in their usage that can be found in mathematical texts and literature. Although it does not always show as a top search result, wolframalpha.com has been a good resource for me in the past.

Even using simple statistics carries assumptions with it, if you are using a simple mean, sum(n)/n, and/or standard deviation, you are making the assumption that whatever you are looking at is either normally distributed, approximately normally distributed or uniformly distributed. This has some implications using the API transforms mavg(days), stddev(days), vwap(days). Some of the assumptions and rules you are looking for may be in the API documentation whether implicitly or explicitly stated.

As far as the most general strategies or assumptions, there are series of constraints that may or may not be part of a model but are likely to be part of a trading algorithm. Just to put some obvious things out there, the transaction cost of making the trade, and requiring that your cash balance does not go below 0.

Another place I have found strategies, essentially listed, is in a dictionary. Don't laugh! Often if a strategy is "standard" or "common" it will be given a specific name and listed in a specialized glossary/dictionary from that field (which you may already own). This could be a simple way to get started with a list of strategies. Maybe something like Finance Dictionary or this Business Dictionary.

Also, You may not have come across this thread yet, but it has a list of articles put together by the community.
https://www.quantopian.com/posts/trading-strategy-ideas-thread