Took over and rebuilt the frontend · MVP in eight months · custom form generator
Rebuilt the frontend of a crypto trading-automation tool to MVP.
Coderunner was a Cryptowatch tool for setting up and running automated trading strategies. I took over its frontend from a prototype and rebuilt it to MVP in eight months, alongside one backend developer.
Overview
Coderunner was a trading-automation tool inside Cryptowatch, Kraken’s real-time charting and trading terminal. Traders used it to set up automated strategies against the same exchanges as the main terminal.
I joined Cryptowatch as a senior frontend engineer in August 2020. An earlier engineer had built a prototype and moved on. I took over the frontend and rebuilt it to MVP in eight months, alongside one backend developer.
For my work on the main Cryptowatch trading surface, see the Cryptowatch case study.
The problem
Each strategy needed different inputs. Some needed a market picker. Some needed an amount field that knew the precision of the selected asset. Some needed currency values that formatted and rounded consistently.
The prototype used JSON-schema forms, and they could not handle that range of inputs. A hand-built form per strategy would have meant one-off code for every new strategy.
What I built
Chapter 1: The frontend rebuild
I rebuilt the frontend on React and TypeScript, with PostCSS for styling to match the rest of Cryptowatch and Redux for trading state that several components needed. I kept the architecture conservative: familiar patterns, few abstractions, so the team could change it quickly.
Chapter 2: The form generator
I replaced the prototype’s JSON-schema forms with a custom form generator. A strategy defines its inputs; the generator renders the form, validates it and manages its state.
Each field type is a typed building block:
- Market picker: knows which exchanges support the selected pair.
- Asset-aware amount: uses the precision of the selected asset.
- Precision-aware currency: formats and rounds the same way everywhere.
A new strategy picks from these building blocks instead of adding form code. A new field type is a local change that does not touch existing strategies.
Outcome
Coderunner reached MVP in eight months. The form generator handled market pickers, asset-aware amounts and precision-aware currency without one-off code per strategy.
Outcome
MVP in eight months alongside one backend developer · Replaced the prototype's JSON-schema forms with a custom form generator · Market pickers, asset-aware amounts and precision-aware currency without one-off code per strategy.