Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
New to Quantopian. Where to start?

Hi all!
I'm Marco and i'm the umpteenth newbie came to this community.

I'm attending a master in Finance so I have math, statistics, stochastic and investment theory basic knowledge but I'm completely new to Python and algorithmic trading.

So I've started with Lesson 2 and I found it quite easy to understand, because commands were similar to the R's ones (which I used at uni). But then I moved to other lectures, where more complicated functions were used, and I got a little bit confused because some API (is it right to say that an API is a function?) were already implemented on Quantopian Research and they didn't work on my local Anaconda notebook.
I'm the kind of person that feels uncomfortable when something is missing (even if he can circumvent the problem), so I've browsed in the website and i've found, seriously, tons of material related to my doubts.
The most relevant (but I could have missed some more) were the following:

  1. Faq
  2. Tutorials
  3. Lectures
  4. Forum tutorials

What would you suggest me to start with in order to get the real basic of Python and algo (what are API, backtesting, etc) before starting again with lectures?

THANK YOU!

6 responses

Hey Marco,

Welcome!! I'm fairly new to Quantopian as well (active since early this year) and it's been a steep, but fun, learning curve. Here are some suggestions based on my own experience:

Python:

I too watched and used the cloned notebook in Lesson 2 (intro to Python and Jupyter) but I had to take some additional courses on Udemy and Datacamp in order to get the foundation. There's a ton of free Python lessons on YouTube as well though, which may be more than enough for you if you're already familiar with R. The YouTube course I've linked to is the one I found most useful, and it's the same guy from Sentdex (Harrison I believe his name is) that does Tutorial #3, and there's a bit of overlap there (looks like it's similar or same as the Forum tutorials you've linked to above).

Once you have a good foundation in Python I'd look at getting a good understanding of Pandas and Numpy as well (I'm slowly getting there as well).

Tutorials:

These are all great in my view. Once you have a basic understanding of Python and are comfortable with Jupyter notebooks, I'd start doing these in order. Maybe skip Tutorial #4 unless you're eager to dive in to trading Futures right away. Watch the videos and follow along in your own cloned notebooks, changing some of the code/parameters etc. to see what happens.

That should keep you busy for a while. :) Once you've done all the tutorials, you may want to start looking at some of the lectures, though they tend to be quite advanced (for me anyway). Perhaps look at the Factor Analysis lesson (and start using Alphalens and get familiar with using it), and the Long/Short Equity lesson, and any of the pre-requisite lessons.

The FAQ I hardly look at much anymore, but I believe I did find it quite useful early on.

I'd also recommend having a tab open with the API help doc page, and search it with Ctrl +f whenever needed. I find the documentation usually pretty good and helpful. Also, ask questions in the forum if you get stuck. There are a number of very helpful people on here (just don't expect others to always do the dirty work for you ;)).

Lastly, I'd check out this excellent 6 part podcast series with Chat With Traders and Quantopian. All of them are super good, but if you're interested in Q's (possibly over-/mis-) usage of the word API, check out episode #4 with Trading Systems Engineer legend Scott Sanderson.

Best of luck, and see you in the forums!

Thank you very much Joakim for the reply, I will follow your tips for the "study plan" ;)

See you in the forums!!!

I was trying to find something I could say that Joakim hadn't said already, but that's basically an excellent answer. I'll add some language about what we lay out as the goal. We fund select strategies that meet our criteria and pay the authors. You can find info here: https://www.quantopian.com/allocation

Once you've gotten comfortable, you likely want to consider writing an algorithm that satisfies all our contest criteria.
https://www.quantopian.com/contest

This will allow you to get feedback on whether the strategies you're developing qualify to get funded by Quantopian. You can also post strategy results in this thread to get feedback directly from our head of portfolio management, Jess.

https://www.quantopian.com/posts/tearsheet-feedback-thread

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.

I suggest having a look at:

https://blog.quantopian.com/a-professional-quant-equity-workflow/

Jonathan Larkin basically whipped things into shape at Q, providing the nice framework described in his blog post. It is an instructive visualization of the Q API for long-short equity. I'd recommend thinking in terms of developing a multi-factor an algo template that supports combining a variety of alpha factors based on Pipeline. Then you'll be right in line with the program here.

A couple other links for your consideration, describing significant recent changes:

https://www.quantopian.com/posts/upload-your-custom-datasets-and-signals-with-self-serve-data
https://www.quantopian.com/posts/before-trading-start-timeout-fix

In terms of the Q business model, there was a substantive announcement recently, should you be interested:

https://www.quantopian.com/posts/important-news-for-our-community

The main funding for the Q fund (formally called the 1337 Street Fund) reportedly, is from Point72:

https://www.quantopian.com/point72
https://blog.quantopian.com/q-to-manage-up-to-250m-of-investment-capital/
https://www.quantopian.com/posts/big-news-for-the-quantopian-community-managing-external-capital

You'll eventually sort out that the head of Point72 is the protagonist in Black Edge: Inside Information, Dirty Money, and the Quest to Bring Down the Most Wanted Man on Wall Street, if it matters to you.

Thank you all for the suggestions!

Hi. I started yesterday.
Im used to fight against (or with) numpy since python is the main language in my degree and numpy the main library.

I will recomend you to give a look at stackexchange when you have doubts of how to do something with it. It is incredible efficient if you have to deal with a vector or matrix.