Back to Community
Slouching toward Quantopian 2, dragging Q1 along

Hello,

As a novice here, I find it difficult to get up to speed, for one big reason: I don't know if the cloned algo's I'm studying are any good.

I don't mean in terms of p and l, but in terms of best coding practices.
It seems like Quantopian has introduced a lot of new great stuff over the last 18 months, but I'm drowning trying to figure out if I'm learning how to write algos using outdated techniques.

Pipeline, then Pipeline Classifiers, now Quantopian 2...

I don't know about anyone else, but I would love to see a half of dozen canonical yet simple examples that demonstrate current best practices. Then, as you introduce new features, you can comment out the old code and introduce the new way to do things. As a student, I would find this extremely helpful.

Thanks for listening!

4 responses

Steve,

I am a python noobie myself, but think the community algos provided for Q2 are probably the best source of "best practice" algos we could ask for. Check out this forum:

https://www.quantopian.com/posts/community-algorithms-migrated-to-quantopian-2

In terms of coding style, I found this https://google.github.io/styleguide/pyguide.html immensely helpful. If it's good enough for Google, then it certainly is good enough for me!

Another good resource is the new Getting Started page: https://www.quantopian.com/tutorials/getting-started. It's part of our revamped Learn and Support page.

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.

Steve,

Jean is right, the Getting Started tutorial is the ideal place to start learning. Once you get through that, the list of sample algorithms in the help documentation is up-to-date with Q2. The algos on that list vary in complexity so you might find it helpful to look through them.

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.