Hi,
All of the resources that I find telling you how to buy securities refer to how to buy a specific security. What if I want my algorithm to buy random securities that fall withing a certain price range related to my buying power, and only securities that have a specified upward trend percentage over a specified period of time? Ie not ordering based off of the actual company, but rather ordering based off of recent trends and price in relation to my buying power.