
Brobot is my most recent deep dive into the world of fintech and high-stakes engineering. While my previous ventures focused on connecting people, Brobot was about connecting with the market—specifically, the Canadian stock exchange.
I founded Brobot Capital with my brother, Octav, to solve a scalability problem. He had identified specific trading strategies involving “odd lots” and routing inefficiencies (specifically on the PURE network) that were profitable but impossible to scale manually. Humans simply cannot watch hundreds of tickers simultaneously and react fast enough to capture fleeting spread opportunities.
I built Brobot to do exactly that. It is an automated system that tracks stocks, identifies arbitrage and spread opportunities, and optimizes order placement with real capital in production. It wasn’t just a coding exercise; it was a profitable business engine that required me to balance technical perfection with financial risk.
At a high level, Brobot acts as a high-frequency analyst. It tracks the “Order Book”—the list of buyers and sellers for a specific stock—and looks for inefficiencies between different routing networks (like TSX vs. PURE). It specifically targets “odd lots” (non-standard share quantities) that offer better pricing but are often invisible to standard aggregators.
The bot listens to the market in real-time. When it sees an opportunity—for example, a gap between the best bid and the best ask—it instantly calculates the optimal price point to capture the spread. It manages the logic for both the buy side and the sell side simultaneously, aiming to close the loop for a profit while maintaining a “net zero” position at the end of the day.
One of the most complex aspects of this project was the integration with a proprietary third-party trading system. Brobot doesn’t just act in isolation; it has to communicate its optimized strategies to a complex execution layer.
This required engineering a robust validation system to handle “Wash Trading” prevention. In automated trading, there is a risk that your optimized buy signal matches with your own sell signal on the exchange. This is illegal and financially draining. I had to build a logic layer that cross-references every potential opportunity against our active book within the proprietary system, ensuring that we optimize our queue position without ever crossing the spread against ourselves.
While many HFT (High-Frequency Trading) systems are written in C++, I chose Ruby for its developer velocity and my deep expertise with it. The core challenge wasn’t just raw speed, but state management.
The system runs as a collection of independent processes. I built a custom Process Manager (using Windows API integration) that spawns a “Brain” for each ticker.
Trading blindly is terrifying. I built a full React/Next.js web interface that communicates with the Ruby backend via a REST API.
This was a family venture. My brother brought the domain expertise and the capital, and I brought the engineering architecture.
Working in a high-stakes environment where a bug could literally cost us money in seconds changed how I approach software development. There was no “fix it later.” The code had to be robust, the error handling had to be graceful, and the logging had to be forensic.
We successfully automated a strategy that generated consistent revenue. But beyond the profit, Brobot was a masterclass in risk management, system architecture, and the complexities of financial data pipelines. It proved that with the right abstraction and architecture, a small team can build systems that compete in the most competitive markets in the world.