Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Looking for a simple example to gain forward motion

I've been watching videos and reading, but having trouble getting started and figuring out if Quantopian can even do what I'm hoping it can.

With some assistance, I'll probably have enough forward motion to put the pieces together ( I have no trouble "coding" in Tradestation, but Python is obviously a whole new level....

Using a stock universe of the top X% of stocks by average daily trading volume AND
If today's open is less than the low of yesterday and two days ago AND
the current (last) price is less than 25 cents below the low of the last three 10 minute bars, AND
the current (last) price is less than 10 cents below the open of the current 10 minute bar
THEN
buy at the current price (11 cents below the open of this 10 minute bar).
Sell at the end of day or if the last price is $2 above the purchase price.

Thanks in advance for any and all help. I'm really trying to get started, but it's a lot to take in for a non-programmer.

1 response

You'll want to use Pipeline to create those settings, and here is the documentation: https://www.quantopian.com/help#pipeline-title

Though it will require coding knowledge to implement your idea. I'd suggest to take a few Python tutorials (Coursera and Udacity have great free lessons) to get acquainted with the logic. Then walk through the Quantopian tutorials to understand the API.

Another option is to post a collaboration request in the forums to work with another community member. Perhaps someone wants to learn more about finance and is willing to partner!

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.