I am new to Python and Quantopian. Only have few months experience.
Here, I put up my algo, hidden some important strategy and would need some comment on the code structure.
The algo is to scan penny stock worth to buy after market open. Since the volume of penny stock is low, I call the buy function every 30 minutes to update the buying limit price and that increases the buying chance, otherwise I may need to use market order that may be dangerous.
When the market is about to close, I will scan is there any bar/chart pattern and put them into sell list.
The sell function will keeps selling them til zero.
I know my code is naive, so I would be appreciated if someone could have a comment on the code structure, or is there something missing.