Project · Rust · Go

RFQ/DvP Market

A trading simulation: a trader asks simulated market makers for a price, then the cash and the asset change hands in a single step.

I built it to explore how markets settle trades while learning Rust and Go.

  • Rust
  • Go
  • Solidity
  • TypeScript
  • PostgreSQL
One trade in rfq-dvp-marketA trader asks for a price on a Treasury bill token. Three simulated market makers quote, written in Rust, and the chosen maker’s stock is reserved so nobody else can take it. The trader signs, and in one step the cash goes to the maker and the bill to the trader: neither can be delivered without the other.Traderasks a pricesettled ✓Market makers3 quotes · Rustmaker 1maker 2maker 3best price · stock reservedsignedSettlementGo · Soliditycash → makerbill → traderin one stepOne trade in rfq-dvp-marketA trader asks for a price on a Treasury bill token. Three simulated market makers quote, written in Rust, and the chosen maker’s stock is reserved so nobody else can take it. The trader signs, and in one step the cash goes to the maker and the bill to the trader: neither can be delivered without the other.Traderasks a pricesettled ✓Market makers3 quotes · Rustmaker 1maker 2maker 3best price · stock reservedsignedSettlementGo · Soliditycash → maker · bill → traderin one step