Hi All, I am new to this. Have a intermediate knowledge of python. Can anyone help me how to backtest a simple breakout strategy in this platform using python?

- it doesn't have to be profitable, for educational purpose
- say I have a range with prices p1 and p2 (p1> p > p2), if current price p reaches P1+0.50 Buy say AAPL 500 shares and exit at 'r' points Stop loss p2
- if price reaches p2-0.50 short AAPL Stop loss p1 and target 'r'

Thanks in advance