Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Need help to write a REALLY BASIC algo

I am very new here and I have looked at a few algos that people have pointed me to. However, they are still a little too complicated for what I what to do, just to get started.

I need something that is REALLY REALLY Basic just to get my hands dirty and familiar with the platform.

I need someone to help me to build something that does the following.

Generates random stock prices between 5 different levels from P1 to P5.
Goes long say n shares at P3.
Sells n1% at P4 and n2% at P5.
sells n% at P1 and n% at P2.
Each of these are defined as variables.

and I only want to do this for a few stocks, so I dont need to do any kind of searching for stocks to fit some criteria.

I know this is REALLY BASIC. The point is that I want to get familiar with the platform so that as I gain a better understanding before my Algos get more complex. This is a simple learning exercise for me.

Many thanks for your help in advance.