Software engineer

Waterloo CS, class of 2029

Open to summer 2027 internships

 

I’m a second-year computer science student at Waterloo. This summer I was a software engineering intern at CanDeal, working on bond trading systems, and I’m going back in January as a quantitative intern.

Lucas Pirvuti

Featured project

I taught a computerto play golf

Daily Holes is a browser golf game where everyone gets the same nine holes each day. My best round was −13, and I wanted to know if a model I trained from scratch could beat it.

View the code on GitHub

01 / 03

Copy the physics

324/324

test shots matched the real game exactly

The game does its physics in your browser, which meant I could take its own script and run it in Node. That gave me endless practice courses at about 48,000 shots a second, and I checked it against the real game before trusting any of it.

02 / 03

Train it

−6.0

per round on 40 courses it never saw

I wrote PPO myself in PyTorch and left it training overnight on about 8 million shots. By morning it was 2.4 strokes a round better than the hand-coded player I’d written to compare it against.

  • Always aim at the pin+7.4
  • PPO after 40 minutes−0.1
  • My hand-coded player−2.4
  • PPO after one night−6.0

03 / 03

Play for real

−21

in a real round, against my own best of −13

On the real site, a search on top of the agent looks for shots that go in, and a Playwright script plays them timed to the frame. It doesn’t submit scores to the leaderboard.

  • Python
  • PyTorch
  • Node.js
  • Playwright
  • Remotion
View the code on GitHub

Experience

Where I’ve worked

May – Aug 2026

CanDeal

Software Engineer Intern, Toronto

CanDeal runs an electronic trading platform for Canadian bonds.

  • Built Claude agent skills that set up FIX trade negotiation flows automatically, which cut QA setup time by about 70%.
  • Rebuilt monitoring on Grafana and Prometheus with custom TibcoRV event sources, covering pricing flows of more than 10 million messages a day.
  • Rebuilt the real-time sync of security data between environments.
  • Reworked the bond configuration tool and its datastore to support analytics on seven instrument types, and brought price and yield calculations from the team’s C++ library into the UI.

Sep 2026 – now

University of Waterloo

Undergraduate Research Assistant, Statistics and Actuarial Science

I work with Prof. Ben Feng on simulation for nested option pricing, mostly on how to choose one set of samples that holds up for 1,000 different targets at once.

Jan – Apr 2027

CanDeal

Incoming Quantitative Intern, Toronto

More work

Other projects

  1. 02Order book simulatorReplays Nasdaq’s raw ITCH feed and rebuilds the order book one message at a time, 455,000 of them in all. I checked it against the exchange’s own book 170,000 times, and it never disagreed on the levels the data fully covers.Python, no dependencies
    2026
  2. 03Reproducing a simulation paperA 2022 paper cut simulation error by about a hundred times by reusing samples across scenarios. I got the same result, then found that once the method has to estimate its inputs from data, the advantage disappears by eight dimensions.Python, NumPy, SciPy
    2026
  3. 04Stock chart scannerNext.js, TypeScript

About

About

I’m doing a double degree, so my week is split between computer science at Waterloo and business at Laurier. The projects I enjoy most are the ones where there’s a right answer to check against, like an exchange’s real order book or a game’s real physics. Away from a keyboard you’ll find me at the chess club or the cooking club, and for a while I was Top 500 in Overwatch.

Education
BCS, University of Waterloo
BBA, Wilfrid Laurier University
2025 to 2029, 3.7 GPA
Awards
President’s Scholarship of Distinction
Euclid Mathematics Contest honour roll, top 2% of 27,000
Tools
Java, Python, TypeScript, SQL
Spring Boot, React, Next.js, PyTorch, Docker, Grafana

Contact

I’m looking for a software engineering internship for summer 2027, and email is the fastest way to reach me.

Email me