Crypto Trading
Real-time crypto exchange for a regulated broker.
- Role
- iOS Developer
- Company
- OANDA
- Year
- 2024 — now
- Status
- Under NDA
SwiftUI · UIKit · GraphQL · Combine · Amplify · Adjust · XCTest
A secure iOS app for buying, selling and managing digital assets, with a live order book, price charts with indicators, and biometric security.
The product is under NDA. This page describes the problems and my approach, not the code. (Mock text: rewrite in your own words.)
The problem
Traders want prices that move now, not a second later. Markets can push dozens of updates per second, and every one of them can trigger SwiftUI to redraw more than it needs to. The app also holds real money, so security can’t be bolted on at the end.
What I did
- Live order book & charts. Built the trading screen in SwiftUI with UIKit where it pays off. Updates are throttled and diffed so only changed rows redraw.
- Data layer. GraphQL queries and subscriptions with Amplify, piped through Combine into view models that are easy to test.
- Security. Face ID / Touch ID, two-factor authentication and encrypted local storage.
- Quality. XCTest unit and UI tests around the money-moving flows: placing orders, auth and portfolio balances.
What I learned
Performance work is mostly measuring. Instruments showed that most of the time went into a few views that redrew too often, not into slow code.