Since transferring into the Platforms / Low-Code group, I’ve had the opportunity to take many pieces of training, create my own bots, and, essentially, let the creative juices flow. One of these bots is what I call the Stock Bot. At a high level, this robot finds recent equity purchases made by CFOs and CEOs on openinsider.com and purchases the same stocks in my trading account at an amount of my choosing. I care about their purchases because evidence shows that “there’s significant evidence that corporate insiders are accurate at predicting their future stock price.” Here’s how the Stock Bot works:
First, I have to run the “dispatcher.” The dispatcher is a function in UiPath that logs items into a queue. The dispatcher robot opens Google Chrome, navigates to Openinsider.com, and selects my chosen preferences: CFO and CEO purchases. Then, the bot scrapes the data from the site, creates a data table, and sends it to a queue in the UiPath Orchestrator, where I can further play with the data. Now, there are 100 items in the queue containing the most recently declared trading data from CEOs and CFOs. End dispatcher.

Next, UiPath’s REFramwork function steps in. Once run, the bot opens your trading platform of choice (I use Robinhood), and the Process Transaction phase starts. Each queue item is processed: a ticker is typed into the search bar and searched, a USD amount is entered, and a series of UI elements are invoked to purchase the equity. One transaction is processed, 99 more to go. The bot will run until all 100 transactions are processed. Once finished, the user has a diverse portfolio of recently reported purchases by CEOs and CFOs.
Combining my double major of Finance and MIS, this robot was exciting to create. I’d love to hear your thoughts, questions, and/or comments, or how I can make this robot better.
