Skip to contentSkip to content
Verified credentials. On-chain. Forever.Learn more
Ewance
Sign in
Cover image for Model a Trading Order Book with Algebraic Data Types in Haskell
Code

Model a Trading Order Book with Algebraic Data Types in Haskell

FreeVerified credential3 weeksIntermediate

Overview

What this challenge is about.

Model a trading order book in Haskell with ADTs and property tests, then deliver code and a tutorial for a verifiable certificate.

The scenario

The firm (proprietary capital, 8 strategies live, ~USD 220M daily notional) interviews 12+ junior candidates a quarter and wants a reference codebase that demonstrates the type-driven design they expect.

CredentialBlockchain-anchored
ShareableLinkedIn-ready
LanguageEnglish
PaceSelf-paced

The Brief

What you'll do, and what you'll demonstrate.

Implement a price-time-priority limit order book in idiomatic Haskell with ADTs that make illegal states unrepresentable, validated by property-based tests.

Earning criteria — what you'll demonstrate

  • Apply algebraic data types to model a real financial domain
  • Use the type system to make illegal states unrepresentable
  • Apply property-based testing to invariant validation
  • Write idiomatic Haskell that a senior reviewer will accept

Program Fit

Where this fits in your program.

Sharpens the same skills your degree expects you to demonstrate.

Functional Programming

Bachelor · Programming Languages

Strong alignment

This challenge maps to Functional Programming at the Bachelor level. It sharpens the same practical skills your coursework expects — but in a real industry context with actual constraints and deliverables.

One more thing

You can put a credential on your CV by Friday.