November 11th, 2024

Making a trading Gameboy: A pocket exchange and algo trading platform

A trading Gameboy, developed on a Raspberry Pi Pico, simulates market-making and risk management. It features custom hardware and software improvements, serving as an educational tool for trading principles.

Read original articleLink Icon
Making a trading Gameboy: A pocket exchange and algo trading platform

The article discusses the development of a trading Gameboy, a pocket-sized exchange and algorithmic trading platform created using a Raspberry Pi Pico microcontroller. The project began as a way to engage with technology and finance, evolving from simple price displays to a more complex market-making game. The author highlights the challenges faced during the development, including hardware limitations and software inefficiencies. The Gameboy allows users to simulate market-making by quoting bid and ask prices, managing risk through hedging, and responding to market events. The hardware was improved with a custom PCB to streamline connections and a 3D-printed case for better usability. The software was rewritten to create a more dynamic trading experience, incorporating a reference price that simulates market volatility and events. The project serves as an educational tool for beginners to understand market dynamics and trading principles.

- The trading Gameboy is built on a Raspberry Pi Pico microcontroller, focusing on market-making simulations.

- The project evolved from simple price displays to a complex trading game involving risk management and market dynamics.

- Custom hardware improvements included a printed circuit board and a 3D-printed case for better functionality.

- The software was redesigned to enhance user experience and simulate market volatility through a reference price.

- The Gameboy serves as an educational tool for understanding trading principles and market behavior.

Link Icon 6 comments
By @TheTank - 6 months
Author here. Thanks for reading this post. I had fun making this and thought the path that led me to this might be interesting for others.

I’m really interested in feedback and ideas on things I could improve and add. I found this really inspiring as it got me more into programming, discovering electronics, and 3d printing.

I have no desire to ever make this project commercial, but it’s been a great platform for me to learn and experiment new things so I’ll take any idea be it for the gameplay or purely technical. Some features I have in mind are:

- Multiplayer over bluetooth where one device is the ‘game-master’ running the exchange and can monitor and guide players while injecting events.

- Additional quoting algos such as pegging one side of the order book and fighting for position

- A tutorial and better UI. The game is hard to pick up for the first time and probably needs to be made more intuitive etc.

While all of this was made with no practical use in mind (there are a lot of markets and products, and you’d trade them in different ways, so you’d need a different game to speak to a volatility trader for example), some people I work with at various trading desks found it useful for interviews or as an introduction to the idea of market-making for junior people.

By @yieldcrv - 6 months
Note: for anyone trying to “stand out” to get a job, you don’t need to do this

None of this is typically relevant, even if it gets you a callback, passing subjective technical interviews is more important. No matter how fascinating your lead is, such as the hiring manager, or recruiter, or whatever nepotism you think is so great, you still have to pass that. Other things can get you the callback you need to get that far, such as simple buzzwords on your resume.

If being at entry level is the issue, then don’t be at entry level. Make a contracting company and contract. Use that as experience in your resume.

By @gberger - 6 months
Interesting project! The kid is only mentioned at the beginning, I wonder if they participated further in the project, or if they enjoyed playing the game?
By @monkeydust - 6 months
As someone who operates in the trading technology space this is really cool. Over the years I have recognized that the top active traders develop a new sense through analyzing order book data (level1-level3) and perhaps gamification like this could help/accelerate that. Just a thought.
By @ngcc_hk - 6 months
Very interesting journey. Some can be like ben 6502 make into a long series of yet for training and future budding hacker. The whole journey inckudeing issue handling I hope.
By @rgmerk - 6 months
Hmmm. Very cool project…

But the last thing I want for my kid is for them to learn that active trading is fun, lest they try doing it with real money.